工具路径

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe MyService.exe

安装:

installutil <yourproject>.exe

卸载:

installutil /uninstall <yourproject>.exe


将程序安装为服务的工具

GitHub - winsw/winsw: A wrapper executable that can run any executable as a Windows service, in a permissive license.

Windows中使用WinSW工具进行服务的安装

Windows中使用WinSW工具进行服务的安装_winsw-x64-CSDN博客

发表评论