Added Service install/uninstall batch files

pull/3113/head
kay.one 13 years ago
parent 2eb14d93b7
commit 35cddf08df

@ -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" />

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

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