installutil 安装windows service
1:路径:C:\Windows\Microsoft.NET\Framework\v4.0.30319
2:执行指令:C:\Windows\Microsoft.NET\Framework\v4.0.30319>installutil E:\MonitorService\MonitorService\MonitorService\bin\Release\MonitorService.exe
安装成功后在服务里看到:
1:路径:C:\Windows\Microsoft.NET\Framework\v4.0.30319
2:执行指令:C:\Windows\Microsoft.NET\Framework\v4.0.30319>installutil E:\MonitorService\MonitorService\MonitorService\bin\Release\MonitorService.exe
安装成功后在服务里看到: