Replaced ServiceInstall.bat/ServiceUninstall.bat with exe files that automatically elevate user permissions.

This commit is contained in:
kay.one 2012-01-16 23:12:22 -08:00
commit 850880de47
22 changed files with 537 additions and 26 deletions

View file

@ -65,6 +65,9 @@ namespace NzbDrone.Common
public virtual void UnInstall(string serviceName)
{
Logger.Info("Uninstalling {0} service", serviceName);
Stop(serviceName);
var serviceInstaller = new ServiceInstaller();
var context = new InstallContext("service_uninstall.log", null);