This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- msi does not remove registry entry in windows7
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Aug 12, 2011
03:45 AM
msi does not remove registry entry in windows7
I have created one msi project that does some registry entry at the time of installation. At the time of uninstallation, the removal of registry entry fails.
But this works fine on WindowsXP. This works fine on Windows7 also when we set the UAC level to minimum in control panel.
If I run the .exe on same windows7 system when UAC is also on, then also it works fine. So the problem is with msi only. How to assign admin priviledge to the msi file. Please help.
Thanks
Abhimanyu
+919958449969
But this works fine on WindowsXP. This works fine on Windows7 also when we set the UAC level to minimum in control panel.
If I run the .exe on same windows7 system when UAC is also on, then also it works fine. So the problem is with msi only. How to assign admin priviledge to the msi file. Please help.
Thanks
Abhimanyu
+919958449969
(1) Reply
Aug 16, 2011
06:46 PM
It sounds like you are trying to modify system (deleting registry entries) when installer is not elevated, i.e., during UI Sequence or Immediate Execute Sequence. It is not recommended since the changes won't be rolled back when user cancels the installer. I presume that registry creation is also done in similar fashion.
You will probably want to change them to deferred custom actions, and provide corresponding rollback custom actions.
You will probably want to change them to deferred custom actions, and provide corresponding rollback custom actions.