1. 开始 ->运行 ->cmd 2. cd到C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727(Framework版本号按IIS配置) 3. 安装服务: 运行命令行 InstallUtil.exe E:/test.exe 卸载服务: 运行命令行 InstallUtil.exe -u E:/test.exe