//-----------------------------------------------------------------------
// <copyright file="Torch.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are covered by the
// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
// which can be found in the file CPL.TXT at the root of this distribution.
// By using this software in any fashion, you are agreeing to be bound by
// the terms of this license.
//
// You must not remove this notice, or any other, from this software.
// </copyright>
// <summary>A class that wraps Torch</summary>
//-----------------------------------------------------------------------
namespace Microsoft.Tools.WindowsInstallerXml.Test{
/// <summary>
/// A class that wraps Torch
/// </summary>
public partial class Torch : WixTool
{
/// <summary>
/// Constructor that uses the current directory as the working directory
/// </summary>
public Torch()
: this(null)
{
}
/// <summary>
/// Constructor that uses the default WiX tool directory as the tools location
/// </summary>
/// <param name="workingDirectory">The working directory of the tool</param>
public Torch(string workingDirectory)
: base("torch.exe", workingDirectory)
{
}
/// <summary>
/// Constructor
/// </summary>
/// <param name="toolDirectory">The directory of the tool</param>
/// <param name="workingDirectory">The working directory of the tool</param>
public Torch(string toolDirectory, string workingDirectory)
: base(toolDirectory, "torch.exe", workingDirectory)
{
}
/// <summary>
/// Functional name of the tool
/// </summary>
public override string ToolDescription
{
get { return "Transform Builder"; }
}
}
}
|