Added 2.0.0 setup logic
This commit is contained in:
parent
c3a02d20e6
commit
f90a95ea68
10 changed files with 135 additions and 92 deletions
Binary file not shown.
|
@ -7,32 +7,6 @@ using WebsitePanel.Setup.Actions;
|
||||||
namespace WebsitePanel.Setup
|
namespace WebsitePanel.Setup
|
||||||
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
|
||||||
/// Release 1.2.2
|
|
||||||
/// </summary>
|
|
||||||
public class EnterpriseServer122 : EnterpriseServer
|
|
||||||
{
|
|
||||||
public static new object Install(object obj)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
return EnterpriseServer.InstallBase(obj, "1.2.2");
|
|
||||||
}
|
|
||||||
|
|
||||||
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.2", "1.2.1", true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Release 1.2.1
|
/// Release 1.2.1
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using WebsitePanel.Setup.Actions;
|
||||||
|
|
||||||
|
namespace WebsitePanel.Setup
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Release 2.0.0
|
||||||
|
/// </summary>
|
||||||
|
public class EnterpriseServer200 : EnterpriseServer
|
||||||
|
{
|
||||||
|
public static new object Install(object obj)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
return EnterpriseServer.InstallBase(obj, minimalInstallerVersion: "2.0.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,
|
||||||
|
minimalInstallerVersion: "2.0.0",
|
||||||
|
versionToUpgrade: "1.2.1",
|
||||||
|
updateSql: true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -6,33 +6,6 @@ using WebsitePanel.Setup.Actions;
|
||||||
|
|
||||||
namespace WebsitePanel.Setup
|
namespace WebsitePanel.Setup
|
||||||
{
|
{
|
||||||
/// <summary>
|
|
||||||
/// Release 1.2.2
|
|
||||||
/// </summary>
|
|
||||||
public class Portal122 : Portal
|
|
||||||
{
|
|
||||||
public static new object Install(object obj)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
return Portal.InstallBase(obj, "1.2.2");
|
|
||||||
}
|
|
||||||
|
|
||||||
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.2", "1.2.1", false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Release 1.2.1
|
/// Release 1.2.1
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using WebsitePanel.Setup.Actions;
|
||||||
|
|
||||||
|
namespace WebsitePanel.Setup
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Release 2.0.0
|
||||||
|
/// </summary>
|
||||||
|
public class Portal200 : Portal
|
||||||
|
{
|
||||||
|
public static new object Install(object obj)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
return Portal.InstallBase(obj, minimalInstallerVersion: "2.0.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,
|
||||||
|
minimalInstallerVersion: "2.0.0",
|
||||||
|
versionToUpgrade: "1.2.1",
|
||||||
|
updateSql: false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -6,33 +6,6 @@ using WebsitePanel.Setup.Actions;
|
||||||
|
|
||||||
namespace WebsitePanel.Setup
|
namespace WebsitePanel.Setup
|
||||||
{
|
{
|
||||||
/// <summary>
|
|
||||||
/// Release 1.2.2
|
|
||||||
/// </summary>
|
|
||||||
public class Server122 : Server
|
|
||||||
{
|
|
||||||
public static new object Install(object obj)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
return Server.InstallBase(obj, "1.2.2");
|
|
||||||
}
|
|
||||||
|
|
||||||
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.2", "1.2.1", false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Release 1.2.1
|
/// Release 1.2.1
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace WebsitePanel.Setup
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Release 2.0.0
|
||||||
|
/// </summary>
|
||||||
|
public class Server200 : Server
|
||||||
|
{
|
||||||
|
public static new object Install(object obj)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
return Server.InstallBase(obj, minimalInstallerVersion: "2.0.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 Server.UpdateBase(obj,
|
||||||
|
minimalInstallerVersion: "2.0.0",
|
||||||
|
versionToUpgrade: "1.2.1",
|
||||||
|
updateSql: false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -5,18 +5,6 @@ using System.Windows.Forms;
|
||||||
|
|
||||||
namespace WebsitePanel.Setup
|
namespace WebsitePanel.Setup
|
||||||
{
|
{
|
||||||
/// <summary>
|
|
||||||
/// Release 1.2.2
|
|
||||||
/// </summary>
|
|
||||||
public class StandaloneServerSetup122 : StandaloneServerSetup
|
|
||||||
{
|
|
||||||
public static new object Install(object obj)
|
|
||||||
{
|
|
||||||
return StandaloneServerSetup.InstallBase(obj, "1.2.2");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Release 1.2.1
|
/// Release 1.2.1
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace WebsitePanel.Setup
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Release 2.0.0
|
||||||
|
/// </summary>
|
||||||
|
public class StandaloneServerSetup200 : StandaloneServerSetup
|
||||||
|
{
|
||||||
|
public static new object Install(object obj)
|
||||||
|
{
|
||||||
|
return StandaloneServerSetup.InstallBase(obj, minimalInstallerVersion: "2.0.0");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -140,8 +140,11 @@
|
||||||
<Compile Include="Common\XmlUtils.cs" />
|
<Compile Include="Common\XmlUtils.cs" />
|
||||||
<Compile Include="Common\ZipIndicator.cs" />
|
<Compile Include="Common\ZipIndicator.cs" />
|
||||||
<Compile Include="EnterpriseServer10.cs" />
|
<Compile Include="EnterpriseServer10.cs" />
|
||||||
|
<Compile Include="EnterpriseServer20.cs" />
|
||||||
<Compile Include="Portal10.cs" />
|
<Compile Include="Portal10.cs" />
|
||||||
|
<Compile Include="Portal20.cs" />
|
||||||
<Compile Include="Server10.cs" />
|
<Compile Include="Server10.cs" />
|
||||||
|
<Compile Include="Server20.cs" />
|
||||||
<Compile Include="StandaloneServerSetup.cs" />
|
<Compile Include="StandaloneServerSetup.cs" />
|
||||||
<Compile Include="EnterpriseServer.cs" />
|
<Compile Include="EnterpriseServer.cs" />
|
||||||
<Compile Include="Portal.cs" />
|
<Compile Include="Portal.cs" />
|
||||||
|
@ -160,6 +163,7 @@
|
||||||
<DependentUpon>Resources.resx</DependentUpon>
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="StandaloneServerSetup10.cs" />
|
<Compile Include="StandaloneServerSetup10.cs" />
|
||||||
|
<Compile Include="StandaloneServerSetup20.cs" />
|
||||||
<Compile Include="Web\AspNetVersion.cs" />
|
<Compile Include="Web\AspNetVersion.cs" />
|
||||||
<Compile Include="Web\ServerBinding.cs" />
|
<Compile Include="Web\ServerBinding.cs" />
|
||||||
<Compile Include="Web\ServerState.cs" />
|
<Compile Include="Web\ServerState.cs" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue