Installation of scheduler service added into enterprise server installer
This commit is contained in:
parent
02a2fa50b9
commit
efa7af35a1
6 changed files with 112 additions and 25 deletions
|
@ -288,7 +288,14 @@ namespace WebsitePanel.Setup
|
|||
action.Description = "Removing Windows service...";
|
||||
action.Log = string.Format("- Remove {0} Windows service", serviceName);
|
||||
list.Add(action);
|
||||
}
|
||||
}
|
||||
|
||||
if (ServiceController.GetServices().Any(s => s.DisplayName.Equals(Global.Parameters.SchedulerServiceName, StringComparison.CurrentCultureIgnoreCase)))
|
||||
{
|
||||
action = new InstallAction(ActionTypes.UnregisterWindowsService) { Path = Path.Combine(installFolder, "bin", Global.Parameters.SchedulerServiceFileName), Name = Global.Parameters.SchedulerServiceName, Description = "Removing Windows service..." };
|
||||
action.Log = string.Format("- Remove {0} Windows service", action.Name);
|
||||
list.Add(action);
|
||||
}
|
||||
|
||||
//database
|
||||
bool deleteDatabase = AppConfig.GetComponentSettingBooleanValue(componentId, "NewDatabase");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue