//-----------------------------------------------------------------------
// <copyright file="Pyro.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 Pyro</summary>
//-----------------------------------------------------------------------
namespace Microsoft.Tools.WindowsInstallerXml.Test{
using System;
using System.Collections.Generic;
using System.IO;
/// <summary>
/// A class that wraps Pyro
/// </summary>
public partial class Pyro : WixTool
{
/// <summary>
/// Functional name of the tool
/// </summary>
public override string ToolDescription
{
get { return "Patch Builder"; }
}
/// <summary>
/// Constructor that uses the current directory as the working directory
/// </summary>
public Pyro()
: 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 Pyro(string workingDirectory)
: base("pyro.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 Pyro(string toolDirectory, string workingDirectory)
: base(toolDirectory, "pyro.exe", workingDirectory)
{
}
}
}
|