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

安装成功后在服务里看到:

 

posted @ 2017-07-05 11:27  longdb  阅读(291)  评论(0编辑  收藏  举报