Updated setup components with v1.2.1 requirement for the installer

This commit is contained in:
ptsurbeleu 2012-02-15 00:51:59 -08:00
parent 5b0180fecc
commit beb7f40dd0
4 changed files with 257 additions and 165 deletions

View file

@ -6,6 +6,33 @@ using WebsitePanel.Setup.Actions;
namespace WebsitePanel.Setup
{
/// <summary>
/// Release 1.2.1
/// </summary>
public class EnterpriseServer121 : EnterpriseServer
{
public static new object Install(object obj)
{
//
return EnterpriseServer.InstallBase(obj, "1.2.1");
}
public static new DialogResult Uninstall(object obj)
{
return EnterpriseServer.Uninstall(obj);
}
public static new DialogResult Setup(object obj)
{
return EnterpriseServer.Setup(obj);
}
public static new DialogResult Update(object obj)
{
return UpdateBase(obj, "1.2.1", "1.2.0", true);
}
}
/// <summary>
/// Release 1.2.0
/// </summary>

View file

@ -6,6 +6,33 @@ using WebsitePanel.Setup.Actions;
namespace WebsitePanel.Setup
{
/// <summary>
/// Release 1.2.1
/// </summary>
public class Portal121 : Portal
{
public static new object Install(object obj)
{
//
return Portal.InstallBase(obj, "1.2.1");
}
public static new DialogResult Uninstall(object obj)
{
return Portal.Uninstall(obj);
}
public static new DialogResult Setup(object obj)
{
return Portal.Setup(obj);
}
public static new DialogResult Update(object obj)
{
return UpdateBase(obj, "1.2.1", "1.2.0", false);
}
}
/// <summary>
/// Release 1.2.0
/// </summary>

View file

@ -6,6 +6,33 @@ using WebsitePanel.Setup.Actions;
namespace WebsitePanel.Setup
{
/// <summary>
/// Release 1.2.1
/// </summary>
public class Server121 : Server
{
public static new object Install(object obj)
{
//
return Server.InstallBase(obj, "1.2.1");
}
public static new object Uninstall(object obj)
{
return Server.Uninstall(obj);
}
public static new object Setup(object obj)
{
return Server.Setup(obj);
}
public static new object Update(object obj)
{
return Server.UpdateBase(obj, "1.2.1", "1.2.0", false);
}
}
/// <summary>
/// Release 1.2.0
/// </summary>

View file

@ -5,6 +5,17 @@ using System.Windows.Forms;
namespace WebsitePanel.Setup
{
/// <summary>
/// Release 1.2.1
/// </summary>
public class StandaloneServerSetup121 : StandaloneServerSetup
{
public static new object Install(object obj)
{
return StandaloneServerSetup.InstallBase(obj, "1.2.1");
}
}
/// <summary>
/// Release 1.2.0
/// </summary>