安装脚本
%SystemRoot%Microsoft.NETFrameworkv4.0.30319InstallUtil.exe D:liuylWeiXinServiceWindowsService.exe
net start WXService
sc config WXService start= auto
WXService 是服务的名称
卸载脚本
%SystemRoot%Microsoft.NETFrameworkv4.0.30319InstallUtil.exe -u D:liuylWeiXinServiceWindowsService.exe