Update Installer EULA Date for 2012 Update Build.XML for 1.2.2 Update email address in installer to info@websitepanel.net
186 lines
4.4 KiB
C#
186 lines
4.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
using WebsitePanel.Setup.Actions;
|
|
|
|
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>
|
|
/// 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>
|
|
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 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));
|
|
}
|
|
}
|
|
|
|
/// <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
|
|
/// </summary>
|
|
public class Server102 : Server101
|
|
{
|
|
public static new object Install(object obj)
|
|
{
|
|
return Server101.InstallBase(obj, "1.0.0");
|
|
}
|
|
|
|
public static new object Uninstall(object obj)
|
|
{
|
|
return Server101.Uninstall(obj);
|
|
}
|
|
|
|
public static new object Setup(object obj)
|
|
{
|
|
return Server101.Setup(obj);
|
|
}
|
|
|
|
public static new object Update(object obj)
|
|
{
|
|
return UpdateBase(obj, "1.0.0", "1.0.1", false);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Release 1.0.1
|
|
/// </summary>
|
|
public class Server101 : Server10
|
|
{
|
|
public static new object Install(object obj)
|
|
{
|
|
return Server10.InstallBase(obj, "1.0.0");
|
|
}
|
|
|
|
public static new object Uninstall(object obj)
|
|
{
|
|
return Server10.Uninstall(obj);
|
|
}
|
|
|
|
public static new object Setup(object obj)
|
|
{
|
|
return Server10.Setup(obj);
|
|
}
|
|
|
|
public static new object Update(object obj)
|
|
{
|
|
return UpdateBase(obj, "1.0.0", "1.0", false);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Release 1.0
|
|
/// </summary>
|
|
public class Server10 : Server
|
|
{
|
|
public static new object Install(object obj)
|
|
{
|
|
return Server.InstallBase(obj, "1.0.0");
|
|
}
|
|
|
|
public static new object Uninstall(object obj)
|
|
{
|
|
return Server.Uninstall(obj);
|
|
}
|
|
|
|
public static new object Setup(object obj)
|
|
{
|
|
return Server.Setup(obj);
|
|
}
|
|
}
|
|
}
|