windows服务编程 注册InstallUtil.exe

dos命令下输入;
C:\Windows\Microsoft.Net\Framework\v2.0.to727>InstallUtil.exe E:\Test\WindowsServiec1.exe
删除:
C:\Windows\Microsoft.Net\Framework\v2.0.to727>InstallUtil.exe/u  E:\Test\WindowsServiec1.exe

原文地址:https://www.cnblogs.com/lgzh3/p/896039.html