Updated setup components with v1.2.1 requirement for the installer
This commit is contained in:
parent
5b0180fecc
commit
beb7f40dd0
4 changed files with 257 additions and 165 deletions
|
@ -6,58 +6,85 @@ using WebsitePanel.Setup.Actions;
|
||||||
|
|
||||||
namespace WebsitePanel.Setup
|
namespace WebsitePanel.Setup
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Release 1.2.0
|
/// Release 1.2.1
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class EnterpriseServer120 : EnterpriseServer
|
public class EnterpriseServer121 : EnterpriseServer
|
||||||
{
|
{
|
||||||
public static new object Install(object obj)
|
public static new object Install(object obj)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
return EnterpriseServer.InstallBase(obj, "1.1.0");
|
return EnterpriseServer.InstallBase(obj, "1.2.1");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new DialogResult Uninstall(object obj)
|
public static new DialogResult Uninstall(object obj)
|
||||||
{
|
{
|
||||||
return EnterpriseServer.Uninstall(obj);
|
return EnterpriseServer.Uninstall(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new DialogResult Setup(object obj)
|
public static new DialogResult Setup(object obj)
|
||||||
{
|
{
|
||||||
return EnterpriseServer.Setup(obj);
|
return EnterpriseServer.Setup(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new DialogResult Update(object obj)
|
public static new DialogResult Update(object obj)
|
||||||
{
|
{
|
||||||
|
return UpdateBase(obj, "1.2.1", "1.2.0", true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Release 1.2.0
|
||||||
|
/// </summary>
|
||||||
|
public class EnterpriseServer120 : EnterpriseServer
|
||||||
|
{
|
||||||
|
public static new object Install(object obj)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
return EnterpriseServer.InstallBase(obj, "1.1.0");
|
||||||
|
}
|
||||||
|
|
||||||
|
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.0", "1.1.2,1.2.0", true, new InstallAction(ActionTypes.SwitchEntServer2AspNet40));
|
return UpdateBase(obj, "1.2.0", "1.1.2,1.2.0", true, new InstallAction(ActionTypes.SwitchEntServer2AspNet40));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Release 1.1.0
|
/// Release 1.1.0
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class EnterpriseServer110 : EnterpriseServer
|
public class EnterpriseServer110 : EnterpriseServer
|
||||||
{
|
{
|
||||||
public static new object Install(object obj)
|
public static new object Install(object obj)
|
||||||
{
|
{
|
||||||
return EnterpriseServer.InstallBase(obj, "1.1.0");
|
return EnterpriseServer.InstallBase(obj, "1.1.0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new DialogResult Uninstall(object obj)
|
public static new DialogResult Uninstall(object obj)
|
||||||
{
|
{
|
||||||
return EnterpriseServer.Uninstall(obj);
|
return EnterpriseServer.Uninstall(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new DialogResult Setup(object obj)
|
public static new DialogResult Setup(object obj)
|
||||||
{
|
{
|
||||||
return EnterpriseServer.Setup(obj);
|
return EnterpriseServer.Setup(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new DialogResult Update(object obj)
|
public static new DialogResult Update(object obj)
|
||||||
{
|
{
|
||||||
return UpdateBase(obj, "1.1.0", "1.0.2", true);
|
return UpdateBase(obj, "1.1.0", "1.0.2", true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Release 1.0.2
|
/// Release 1.0.2
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -6,58 +6,85 @@ using WebsitePanel.Setup.Actions;
|
||||||
|
|
||||||
namespace WebsitePanel.Setup
|
namespace WebsitePanel.Setup
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Release 1.2.0
|
/// Release 1.2.1
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class Portal120 : Portal
|
public class Portal121 : Portal
|
||||||
{
|
{
|
||||||
public static new object Install(object obj)
|
public static new object Install(object obj)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
return Portal.InstallBase(obj, "1.1.0");
|
return Portal.InstallBase(obj, "1.2.1");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new DialogResult Uninstall(object obj)
|
public static new DialogResult Uninstall(object obj)
|
||||||
{
|
{
|
||||||
return Portal.Uninstall(obj);
|
return Portal.Uninstall(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new DialogResult Setup(object obj)
|
public static new DialogResult Setup(object obj)
|
||||||
{
|
{
|
||||||
return Portal.Setup(obj);
|
return Portal.Setup(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new DialogResult Update(object obj)
|
public static new DialogResult Update(object obj)
|
||||||
{
|
{
|
||||||
|
return UpdateBase(obj, "1.2.1", "1.2.0", false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Release 1.2.0
|
||||||
|
/// </summary>
|
||||||
|
public class Portal120 : Portal
|
||||||
|
{
|
||||||
|
public static new object Install(object obj)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
return Portal.InstallBase(obj, "1.1.0");
|
||||||
|
}
|
||||||
|
|
||||||
|
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.0", "1.1.2,1.2.0", false, new InstallAction(ActionTypes.SwitchWebPortal2AspNet40));
|
return UpdateBase(obj, "1.2.0", "1.1.2,1.2.0", false, new InstallAction(ActionTypes.SwitchWebPortal2AspNet40));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Release 1.1.0
|
/// Release 1.1.0
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class Portal110 : Portal
|
public class Portal110 : Portal
|
||||||
{
|
{
|
||||||
public static new object Install(object obj)
|
public static new object Install(object obj)
|
||||||
{
|
{
|
||||||
return Portal.InstallBase(obj, "1.1.0");
|
return Portal.InstallBase(obj, "1.1.0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new DialogResult Uninstall(object obj)
|
public static new DialogResult Uninstall(object obj)
|
||||||
{
|
{
|
||||||
return Portal.Uninstall(obj);
|
return Portal.Uninstall(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new DialogResult Setup(object obj)
|
public static new DialogResult Setup(object obj)
|
||||||
{
|
{
|
||||||
return Portal.Setup(obj);
|
return Portal.Setup(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new DialogResult Update(object obj)
|
public static new DialogResult Update(object obj)
|
||||||
{
|
{
|
||||||
return UpdateBase(obj, "1.1.0", "1.0.2", false, new InstallAction(ActionTypes.AddCustomErrorsPage));
|
return UpdateBase(obj, "1.1.0", "1.0.2", false, new InstallAction(ActionTypes.AddCustomErrorsPage));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// Release 1.0.2
|
/// Release 1.0.2
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class Portal102 : Portal101
|
public class Portal102 : Portal101
|
||||||
|
|
|
@ -6,78 +6,105 @@ using WebsitePanel.Setup.Actions;
|
||||||
|
|
||||||
namespace WebsitePanel.Setup
|
namespace WebsitePanel.Setup
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Release 1.2.0
|
/// Release 1.2.1
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class Server120 : Server
|
public class Server121 : Server
|
||||||
{
|
{
|
||||||
public static new object Install(object obj)
|
public static new object Install(object obj)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
return Server.InstallBase(obj, "1.1.0");
|
return Server.InstallBase(obj, "1.2.1");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new object Uninstall(object obj)
|
public static new object Uninstall(object obj)
|
||||||
{
|
{
|
||||||
return Server.Uninstall(obj);
|
return Server.Uninstall(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new object Setup(object obj)
|
public static new object Setup(object obj)
|
||||||
{
|
{
|
||||||
return Server.Setup(obj);
|
return Server.Setup(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new object Update(object obj)
|
public static new object Update(object obj)
|
||||||
{
|
{
|
||||||
return Server.UpdateBase(obj, "1.2.0", "1.1.2,1.2.0", false, new InstallAction(ActionTypes.SwitchServer2AspNet40));
|
return Server.UpdateBase(obj, "1.2.1", "1.2.0", false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Release 1.1.0
|
/// Release 1.2.0
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class Server110 : Server
|
public class Server120 : Server
|
||||||
{
|
{
|
||||||
public static new object Install(object obj)
|
public static new object Install(object obj)
|
||||||
{
|
{
|
||||||
return Server.InstallBase(obj, "1.1.0");
|
//
|
||||||
}
|
return Server.InstallBase(obj, "1.1.0");
|
||||||
|
}
|
||||||
|
|
||||||
public static new object Uninstall(object obj)
|
public static new object Uninstall(object obj)
|
||||||
{
|
{
|
||||||
return Server.Uninstall(obj);
|
return Server.Uninstall(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new object Setup(object obj)
|
public static new object Setup(object obj)
|
||||||
{
|
{
|
||||||
return Server.Setup(obj);
|
return Server.Setup(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new object Update(object obj)
|
public static new object Update(object obj)
|
||||||
{
|
{
|
||||||
return UpdateBase(obj, "1.1.0", "1.0.2", false);
|
return Server.UpdateBase(obj, "1.2.0", "1.1.2,1.2.0", false, new InstallAction(ActionTypes.SwitchServer2AspNet40));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Release 1.1.0
|
||||||
|
/// </summary>
|
||||||
|
public class Server110 : Server
|
||||||
|
{
|
||||||
|
public static new object Install(object obj)
|
||||||
|
{
|
||||||
|
return Server.InstallBase(obj, "1.1.0");
|
||||||
|
}
|
||||||
|
|
||||||
|
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 UpdateBase(obj, "1.1.0", "1.0.2", false);
|
||||||
|
}
|
||||||
|
}
|
||||||
/// Release 1.0.2
|
/// Release 1.0.2
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class Server102 : Server101
|
public class Server102 : Server101
|
||||||
{
|
{
|
||||||
public static new object Install(object obj)
|
public static new object Install(object obj)
|
||||||
{
|
{
|
||||||
return Server101.InstallBase(obj, "1.0.0");
|
return Server101.InstallBase(obj, "1.0.0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new object Uninstall(object obj)
|
public static new object Uninstall(object obj)
|
||||||
{
|
{
|
||||||
return Server101.Uninstall(obj);
|
return Server101.Uninstall(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new object Setup(object obj)
|
public static new object Setup(object obj)
|
||||||
{
|
{
|
||||||
return Server101.Setup(obj);
|
return Server101.Setup(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new object Update(object obj)
|
public static new object Update(object obj)
|
||||||
{
|
{
|
||||||
return UpdateBase(obj, "1.0.0", "1.0.1", false);
|
return UpdateBase(obj, "1.0.0", "1.0.1", false);
|
||||||
}
|
}
|
||||||
|
@ -88,22 +115,22 @@ namespace WebsitePanel.Setup
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class Server101 : Server10
|
public class Server101 : Server10
|
||||||
{
|
{
|
||||||
public static new object Install(object obj)
|
public static new object Install(object obj)
|
||||||
{
|
{
|
||||||
return Server10.InstallBase(obj, "1.0.0");
|
return Server10.InstallBase(obj, "1.0.0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new object Uninstall(object obj)
|
public static new object Uninstall(object obj)
|
||||||
{
|
{
|
||||||
return Server10.Uninstall(obj);
|
return Server10.Uninstall(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new object Setup(object obj)
|
public static new object Setup(object obj)
|
||||||
{
|
{
|
||||||
return Server10.Setup(obj);
|
return Server10.Setup(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new object Update(object obj)
|
public static new object Update(object obj)
|
||||||
{
|
{
|
||||||
return UpdateBase(obj, "1.0.0", "1.0", false);
|
return UpdateBase(obj, "1.0.0", "1.0", false);
|
||||||
}
|
}
|
||||||
|
@ -114,12 +141,12 @@ namespace WebsitePanel.Setup
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class Server10 : Server
|
public class Server10 : Server
|
||||||
{
|
{
|
||||||
public static new object Install(object obj)
|
public static new object Install(object obj)
|
||||||
{
|
{
|
||||||
return Server.InstallBase(obj, "1.0.0");
|
return Server.InstallBase(obj, "1.0.0");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static new object Uninstall(object obj)
|
public static new object Uninstall(object obj)
|
||||||
{
|
{
|
||||||
return Server.Uninstall(obj);
|
return Server.Uninstall(obj);
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,34 +5,45 @@ using System.Windows.Forms;
|
||||||
|
|
||||||
namespace WebsitePanel.Setup
|
namespace WebsitePanel.Setup
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Release 1.2.0
|
/// Release 1.2.1
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class StandaloneServerSetup120 : StandaloneServerSetup
|
public class StandaloneServerSetup121 : StandaloneServerSetup
|
||||||
{
|
{
|
||||||
public static new object Install(object obj)
|
public static new object Install(object obj)
|
||||||
{
|
{
|
||||||
return StandaloneServerSetup.InstallBase(obj, "1.2.0");
|
return StandaloneServerSetup.InstallBase(obj, "1.2.1");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Release 1.1.0
|
/// Release 1.2.0
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class StandaloneServerSetup110 : StandaloneServerSetup
|
public class StandaloneServerSetup120 : StandaloneServerSetup
|
||||||
{
|
{
|
||||||
public static new object Install(object obj)
|
public static new object Install(object obj)
|
||||||
{
|
{
|
||||||
return StandaloneServerSetup.InstallBase(obj, "1.1.0");
|
return StandaloneServerSetup.InstallBase(obj, "1.2.0");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Release 1.1.0
|
||||||
|
/// </summary>
|
||||||
|
public class StandaloneServerSetup110 : StandaloneServerSetup
|
||||||
|
{
|
||||||
|
public static new object Install(object obj)
|
||||||
|
{
|
||||||
|
return StandaloneServerSetup.InstallBase(obj, "1.1.0");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Release 1.0.2
|
/// Release 1.0.2
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class StandaloneServerSetup102 : StandaloneServerSetup101
|
public class StandaloneServerSetup102 : StandaloneServerSetup101
|
||||||
{
|
{
|
||||||
public static new object Install(object obj)
|
public static new object Install(object obj)
|
||||||
{
|
{
|
||||||
return StandaloneServerSetup.InstallBase(obj, "1.0.0");
|
return StandaloneServerSetup.InstallBase(obj, "1.0.0");
|
||||||
}
|
}
|
||||||
|
@ -43,7 +54,7 @@ namespace WebsitePanel.Setup
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class StandaloneServerSetup101 : StandaloneServerSetup
|
public class StandaloneServerSetup101 : StandaloneServerSetup
|
||||||
{
|
{
|
||||||
public static new object Install(object obj)
|
public static new object Install(object obj)
|
||||||
{
|
{
|
||||||
return StandaloneServerSetup.InstallBase(obj, "1.0.0");
|
return StandaloneServerSetup.InstallBase(obj, "1.0.0");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue