WindowsService服务安装脚本
时间:2015-05-29 13:36:55
收藏:0
阅读:368
安装脚本
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe D:\liuyl\WeiXinService\WindowsService.exe
net start WXService
sc config WXService start= auto
WXService 是服务的名称
卸载脚本
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe -u D:\liuyl\WeiXinService\WindowsService.exe
原文:http://www.cnblogs.com/dragon-L/p/4538074.html
评论(0)