您的位置:首页 > 其它

Windows Service installutil 部署时,出错的解决办法-原创

2013-08-09 15:44 281 查看
出错信息如下:

----------------------------------------------------------

~~~~~...

The Rollback phase completed successfully.

The transacted install has completed.
The installation failed, and the rollback has been performed.

-------------------------------------------------------------

解决办法:

1. 右键 developer command prompt for vs2012

2. 选择管理员方式运行

3. 输入 cd "c:\Program Files (x86)\M
icrosoft Visual Studio 11.0"

4. installutil "你要发布的windowsService.exe"

5. 成功部署 :)

The Commit phase completed successfully.

The transacted install has completed.

另外注意: Timer控件引用 System.Timers.Timer
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: