windows服务安装/卸载
安装:
C:
cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
D:
cd E:\VictualerService\VictualerService\bin\Debug 注释:路径
C:InstallUtil VictualerService.exe //应用程序名称
net start VictualerService
卸载:
net stop VictualerService
C:
cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
D:
cd E:\VictualerService\VictualerService\bin\Debug
C:InstallUtil /u VictualerService.exe