湖边的白杨树

探索是一种乐趣

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

 

写了个Windows Service, 用Wix 写了个Installer,编译通过,生成了msi 安装文件,但是安装的时候总是提示:

Product: KingPro Service -- Error 1920. Service 'xxx Service' (KingProService) failed to start.  Verify that you have sufficient privileges to start system services.

 

参考如下,进行debug来获取详细的内容。

http://wixtoolset.org/documentation/manual/v3/howtos/general/get_a_log.html

msiexec /i MyApplication.msi /l*v MyLogFile.txt

 

posted on 2019-01-02 19:55  fdyang  阅读(735)  评论(0编辑  收藏  举报