/build/static/layout/Breadcrumb_cap_w.png

MSI uninstaller leaving behind registry data (packaging)

Hello, new poster here... I hope I am in the right area. I have a vendor msi and my custom transform for some additional registry configs. Doing testing, I have found its leaving behind registry keys using the msi uninstall.

 

After some of your feed back ive updated the question info below

 

 I have imported a .reg file into an transform with installshield 2012 spring - its adds some default application settings here HKEY_CURRENT_USER\Software\DameWare Development\Mini Remote Control.

When I run an msiexec /x  to test uninstallation, Its leaving behind that same reg key path, with most of the keys removed - but several are still existing.

And excuse me if this is really easy, I am relatively new to this and cross-training in packaging.

How would I remove the root and all contents of that key , using best practice?

HKEY_CURRENT_USER\Software\DameWare Development\Mini Remote Control

thank you.

 

screenshot http://i46.photobucket.com/albums/f141/surfingcinv/example_zpsbe697eb0.jpg

http://s46.photobucket.com/user/surfingcinv/media/example_zpsbe697eb0.jpg.html

 

 

thank you,

 

Alex


2 Comments   [ + ] Show comments
  • what registry? If you could assist us with the location of the same. Is your application very much similar to MSI's from IBM, Adobe, microsoft? if that is so, i dont see any harm if they are remaining behind - talonsprem87 10 years ago
  • I have imported a .reg file into an transform with installshield 2012 spring - its adds some default application settings here HKEY_CURRENT_USER\Software\DameWare Development\Mini Remote Control.

    When I run an msiexec /x to test uninstallation, Its leaving behind that same reg key path, with most of the keys removed - but several are still existing.

    And excuse me if this is really easy, I am relatively new to this and cross-training in packaging.

    How would I remove the root and all contents of that key , using best practice?

    HKEY_CURRENT_USER\Software\DameWare Development\Mini Remote Control

    thank you. - indierox 10 years ago

Answers (3)

Posted by: anonymous_9363 10 years ago
Red Belt
3

Use the RemoveRegistry table. It's documented on MSDN, as well as in MSI.CHM which your authoring tool will have included in its installation.


Comments:
  • The MSDN documentation is difficult to understand without examples. I found a basic example and here is what I have so far. How do I know which component to link this to? IN the screenshot - I basically want to delete everything under the root of "dameware development" thank you - indierox 10 years ago
Posted by: vjaneczko 10 years ago
9th Degree Black Belt
0

I always suggest that you leave the "leftovers" on the machine and don't bother with them.  They exist because the app added/modified the keys during normal use and the MSI (by default, without leveraging the RemoveRegistry table) will only remove exactly what it put down.

They're associated with the app which you just uninstalled, so they won't be conflicting with any other app.  Even if it takes you five minutes to modify the package to remove every trace of itself, there's no "gain" or improvement.  The time & frustration you save by not removing them makes your world a little easier  :)

Posted by: appfreak 10 years ago
Senior Purple Belt
0

Edit Transforms and u can use default key in registry (*) which will remove registry key on uninstall.

if it doesnt work then u can remove it use vbscript to remove (should not remove vendor specific registries which are comman for other packages as well like mentioned in above posts)

 
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