使用管理员运行命令行:
安装:
C:\Windows\Microsoft.NET\Framework\v4.0.30319>InstallUtil.exe D:\Source\Solution.Services\AIGE.Services.WorkOrder\bin\Debug\AIGE.Services.WorkOrder.exe
.\InstallUtil.exe D:\Source\Solution.Services\AIGE.Services.WorkOrder\bin\Debug\AIGE.Services.WorkOrder.exe
卸载:
C:\Windows\Microsoft.NET\Framework\v4.0.30319>InstallUtil.exe /u D:\Source\Solution.Services\AG.Warning.Service\bin\Debug\AG.Warning.Service.exe