diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.Setup/EnterpriseServer10.cs b/WebsitePanel.Installer/Sources/WebsitePanel.Setup/EnterpriseServer10.cs index f91c163e..07551895 100644 --- a/WebsitePanel.Installer/Sources/WebsitePanel.Setup/EnterpriseServer10.cs +++ b/WebsitePanel.Installer/Sources/WebsitePanel.Setup/EnterpriseServer10.cs @@ -6,58 +6,85 @@ using WebsitePanel.Setup.Actions; namespace WebsitePanel.Setup { - /// - /// Release 1.2.0 - /// - public class EnterpriseServer120 : EnterpriseServer - { - public static new object Install(object obj) - { - // - return EnterpriseServer.InstallBase(obj, "1.1.0"); - } + /// + /// Release 1.2.1 + /// + 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 Uninstall(object obj) + { + return EnterpriseServer.Uninstall(obj); + } - public static new DialogResult Setup(object obj) - { - return EnterpriseServer.Setup(obj); - } + public static new DialogResult Setup(object 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); + } + } + + /// + /// Release 1.2.0 + /// + 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)); - } - } + } + } - /// - /// Release 1.1.0 - /// - public class EnterpriseServer110 : EnterpriseServer - { - public static new object Install(object obj) - { - return EnterpriseServer.InstallBase(obj, "1.1.0"); - } + /// + /// Release 1.1.0 + /// + public class EnterpriseServer110 : 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 Uninstall(object obj) + { + return EnterpriseServer.Uninstall(obj); + } - public static new DialogResult Setup(object obj) - { - return EnterpriseServer.Setup(obj); - } + public static new DialogResult Setup(object obj) + { + return EnterpriseServer.Setup(obj); + } - public static new DialogResult Update(object obj) - { - return UpdateBase(obj, "1.1.0", "1.0.2", true); - } - } + public static new DialogResult Update(object obj) + { + return UpdateBase(obj, "1.1.0", "1.0.2", true); + } + } /// Release 1.0.2 /// diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.Setup/Portal10.cs b/WebsitePanel.Installer/Sources/WebsitePanel.Setup/Portal10.cs index 9924d6e4..01854e9b 100644 --- a/WebsitePanel.Installer/Sources/WebsitePanel.Setup/Portal10.cs +++ b/WebsitePanel.Installer/Sources/WebsitePanel.Setup/Portal10.cs @@ -6,58 +6,85 @@ using WebsitePanel.Setup.Actions; namespace WebsitePanel.Setup { - /// - /// Release 1.2.0 - /// - public class Portal120 : Portal - { - public static new object Install(object obj) - { - // - return Portal.InstallBase(obj, "1.1.0"); - } + /// + /// Release 1.2.1 + /// + 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 Uninstall(object obj) + { + return Portal.Uninstall(obj); + } - public static new DialogResult Setup(object obj) - { - return Portal.Setup(obj); - } + public static new DialogResult Setup(object 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); + } + } + + /// + /// Release 1.2.0 + /// + 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)); - } - } + } + } - /// - /// Release 1.1.0 - /// - public class Portal110 : Portal - { - public static new object Install(object obj) - { - return Portal.InstallBase(obj, "1.1.0"); - } + /// + /// Release 1.1.0 + /// + public class Portal110 : 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 Uninstall(object obj) + { + return Portal.Uninstall(obj); + } - public static new DialogResult Setup(object obj) - { - return Portal.Setup(obj); - } + public static new DialogResult Setup(object obj) + { + return Portal.Setup(obj); + } - public static new DialogResult Update(object obj) - { - return UpdateBase(obj, "1.1.0", "1.0.2", false, new InstallAction(ActionTypes.AddCustomErrorsPage)); - } - } + public static new DialogResult Update(object obj) + { + return UpdateBase(obj, "1.1.0", "1.0.2", false, new InstallAction(ActionTypes.AddCustomErrorsPage)); + } + } /// Release 1.0.2 /// public class Portal102 : Portal101 diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.Setup/Server10.cs b/WebsitePanel.Installer/Sources/WebsitePanel.Setup/Server10.cs index c333074b..bd63cb57 100644 --- a/WebsitePanel.Installer/Sources/WebsitePanel.Setup/Server10.cs +++ b/WebsitePanel.Installer/Sources/WebsitePanel.Setup/Server10.cs @@ -6,78 +6,105 @@ using WebsitePanel.Setup.Actions; namespace WebsitePanel.Setup { - /// - /// Release 1.2.0 - /// - public class Server120 : Server - { - public static new object Install(object obj) - { - // - return Server.InstallBase(obj, "1.1.0"); - } + /// + /// Release 1.2.1 + /// + 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 Uninstall(object obj) + { + return Server.Uninstall(obj); + } - public static new object Setup(object obj) - { - return Server.Setup(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.0", "1.1.2,1.2.0", false, new InstallAction(ActionTypes.SwitchServer2AspNet40)); - } - } + public static new object Update(object obj) + { + return Server.UpdateBase(obj, "1.2.1", "1.2.0", false); + } + } - /// - /// Release 1.1.0 - /// - public class Server110 : Server - { - public static new object Install(object obj) - { - return Server.InstallBase(obj, "1.1.0"); - } + /// + /// Release 1.2.0 + /// + public class Server120 : 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 Uninstall(object obj) + { + return Server.Uninstall(obj); + } - public static new object Setup(object obj) - { - return Server.Setup(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); - } - } + 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)); + } + } + + /// + /// Release 1.1.0 + /// + 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 /// 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"); } - public static new object Uninstall(object obj) + public static new object Uninstall(object obj) { return Server101.Uninstall(obj); } - public static new object Setup(object obj) + public static new object Setup(object 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); } @@ -88,22 +115,22 @@ namespace WebsitePanel.Setup /// 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"); } - public static new object Uninstall(object obj) + public static new object Uninstall(object obj) { return Server10.Uninstall(obj); } - public static new object Setup(object obj) + public static new object Setup(object 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); } @@ -114,12 +141,12 @@ namespace WebsitePanel.Setup /// 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"); } - public static new object Uninstall(object obj) + public static new object Uninstall(object obj) { return Server.Uninstall(obj); } diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.Setup/StandaloneServerSetup10.cs b/WebsitePanel.Installer/Sources/WebsitePanel.Setup/StandaloneServerSetup10.cs index 801c6862..116f45c2 100644 --- a/WebsitePanel.Installer/Sources/WebsitePanel.Setup/StandaloneServerSetup10.cs +++ b/WebsitePanel.Installer/Sources/WebsitePanel.Setup/StandaloneServerSetup10.cs @@ -5,34 +5,45 @@ using System.Windows.Forms; namespace WebsitePanel.Setup { - /// - /// Release 1.2.0 - /// - public class StandaloneServerSetup120 : StandaloneServerSetup - { - public static new object Install(object obj) - { - return StandaloneServerSetup.InstallBase(obj, "1.2.0"); - } - } + /// + /// Release 1.2.1 + /// + public class StandaloneServerSetup121 : StandaloneServerSetup + { + public static new object Install(object obj) + { + return StandaloneServerSetup.InstallBase(obj, "1.2.1"); + } + } - /// - /// Release 1.1.0 - /// - public class StandaloneServerSetup110 : StandaloneServerSetup - { - public static new object Install(object obj) - { - return StandaloneServerSetup.InstallBase(obj, "1.1.0"); - } - } + /// + /// Release 1.2.0 + /// + public class StandaloneServerSetup120 : StandaloneServerSetup + { + public static new object Install(object obj) + { + return StandaloneServerSetup.InstallBase(obj, "1.2.0"); + } + } + + /// + /// Release 1.1.0 + /// + public class StandaloneServerSetup110 : StandaloneServerSetup + { + public static new object Install(object obj) + { + return StandaloneServerSetup.InstallBase(obj, "1.1.0"); + } + } /// /// Release 1.0.2 /// 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"); } @@ -43,7 +54,7 @@ namespace WebsitePanel.Setup /// 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"); }