cmd管理员身份
cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
InstallUtil.exe E:\workSpace\工商中间件\荔枝网Windows服务\LzWindowsService\LzWindowsService\bin\Debug\LzWindowsService.exe
InstallUtil.exe D:\workspace\lzService\LzWindowsService.exe
sc delete LzWindowsService

 

添加成功后 安装程序

设置名称 和localsystem

 posted on 2017-03-08 16:25  iasker  阅读(130)  评论(0)    收藏  举报