码迷,mamicode.com
首页 > 其他好文 > 详细

Fix: When installing msi, custom action about deleting registy key does not work

时间:2014-08-07 18:51:20      阅读:371      评论:0      收藏:0      [点我收藏+]

标签:des   style   blog   http   io   strong   2014   cti   

Problem description:

The problem may happen when UAC is enabled, it is usually because of the insufficient right to delete the registry key.

 

Solution:

1. Run installer in command prompt as administrator

2. Set custom action In-script execution to be Deferred Execution in System Context, this can work even if UAC is enabled and without using command line to install

bubuko.com,布布扣

Like Deferred Execution actions, these actions do not launch until the script generated by the Windows Installer service is run. However, actions of this type execute with no user impersonation.

Fix: When installing msi, custom action about deleting registy key does not work,布布扣,bubuko.com

Fix: When installing msi, custom action about deleting registy key does not work

标签:des   style   blog   http   io   strong   2014   cti   

原文地址:http://www.cnblogs.com/pengpenghappy/p/3897631.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!