/build/static/layout/Breadcrumb_cap_w.png

How I set an MSI to leave behind a major registry key on uninstall?

I have an app which writes a registry key (HKLM\Software\Mitchell) on install and then writes registry keys below that. The problem is that we have apps from the same vendor and all of their registry keys are written unser the same registry key. When I uninstall this one app, it deletes the entire major key of HKLM\Software\Mitchell, removing the keys for the other apps.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: akki 12 years ago
4th Degree Black Belt
2
Its better if you move those registry keys into new component and mark it as permanent(set its attribute to 16).
Posted by: imavanurabanerjee 12 years ago
Third Degree Blue Belt
0
Make the componemt holding the registry keys a parmanent componet from Wise or InstallShield or whatever you are using. Then when you uninstall all the other registry, files etc etc will get deleted but whatever is in this componemt will stay in the system.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ