安装脚本
%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

相关文章:

  • 2021-07-28
  • 2021-10-06
  • 2022-02-07
  • 2021-05-21
  • 2022-12-23
  • 2021-12-18
  • 2021-09-15
猜你喜欢
  • 2021-10-20
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
  • 2022-02-09
  • 2021-10-23
  • 2022-12-23
相关资源
相似解决方案