From 35cddf08df5c228f5706152a5841a94b2b36a0b2 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Thu, 1 Dec 2011 21:44:13 -0800 Subject: [PATCH] Added Service install/uninstall batch files --- NzbDrone/NzbDrone.csproj | 6 ++++++ NzbDrone/ServiceInstall.bat | 4 ++++ NzbDrone/ServiceUninstall.bat | 4 ++++ 3 files changed, 14 insertions(+) create mode 100644 NzbDrone/ServiceInstall.bat create mode 100644 NzbDrone/ServiceUninstall.bat diff --git a/NzbDrone/NzbDrone.csproj b/NzbDrone/NzbDrone.csproj index 41233f488..238926a52 100644 --- a/NzbDrone/NzbDrone.csproj +++ b/NzbDrone/NzbDrone.csproj @@ -94,7 +94,13 @@ + + PreserveNewest + + + PreserveNewest + diff --git a/NzbDrone/ServiceInstall.bat b/NzbDrone/ServiceInstall.bat new file mode 100644 index 000000000..fe98f70fc --- /dev/null +++ b/NzbDrone/ServiceInstall.bat @@ -0,0 +1,4 @@ +@ECHO OFF +nzbdrone.exe /i +net start nzbdrone +pause \ No newline at end of file diff --git a/NzbDrone/ServiceUninstall.bat b/NzbDrone/ServiceUninstall.bat new file mode 100644 index 000000000..fda27bda0 --- /dev/null +++ b/NzbDrone/ServiceUninstall.bat @@ -0,0 +1,4 @@ +@ECHO OFF +net stop nzbdrone +nzbdrone.exe /u +pause \ No newline at end of file