工具路径
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe MyService.exe
安装:
installutil <yourproject>.exe
卸载:
installutil /uninstall <yourproject>.exe
将程序安装为服务的工具
工具路径
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe MyService.exe
安装:
installutil <yourproject>.exe
卸载:
installutil /uninstall <yourproject>.exe
将程序安装为服务的工具