Added Service install/uninstall batch files

This commit is contained in:
kay.one 2011-12-01 21:44:13 -08:00
parent 2eb14d93b7
commit 35cddf08df
3 changed files with 14 additions and 0 deletions

View File

@ -94,7 +94,13 @@
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="ServiceInstall.bat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="packages.config" />
<None Include="ServiceUninstall.bat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Content Include="NzbDrone.ico" />

View File

@ -0,0 +1,4 @@
@ECHO OFF
nzbdrone.exe /i
net start nzbdrone
pause

View File

@ -0,0 +1,4 @@
@ECHO OFF
net stop nzbdrone
nzbdrone.exe /u
pause