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

出错信息如下:

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

~~~~~...

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

 

 

posted @ 2013-08-09 15:44  iDEAAM  阅读(697)  评论(0编辑  收藏  举报