///
/// Copyright © 2003-2008 JetBrains s.r.o.
/// You may distribute under the terms of the GNU General Public License, as published by the Free Software Foundation, version 2 (see License.txt in the repository root folder).
///
using JetBrains.Build.Omea.Infra;
using Microsoft.Build.Framework;
namespace JetBrains.Build.Omea.Tasks
{
///
/// Gets the product Registry data and installs it into the Windows Registry.
///
public class LocalInstallData : ProductTask
{
#region Attributes
///
/// The home directory of the product.
///
[Required]
public ITaskItem ProductHomeDir
{
get
{
return Bag.Get(AttributeName.ProductHomeDir);
}
set
{
Bag.Set(AttributeName.ProductHomeDir, value);
}
}
///
/// The installation stage, either “Register” or “Unregister”.
///
[Required]
public string Stage
{
get
{
return Bag.Get(AttributeName.Stage);
}
set
{
Bag.Set(AttributeName.Stage, value);
}
}
#endregion
}
}