I'm dealing with a failing uninstall/upgrade of a very old MSI installation. So my intention was to manually remove the old installation by some kind of removal tool, preferable written in dotnet.

Is there anything to consider beside removing registry entries from 'HKLM\software\microsoft\windows\currentversion\uninstall' and application files?

migrated from stackoverflow.com Mar 5 '13 at 9:33

This question came from our site for professional and enthusiast programmers.


To remove the MSI foot print completely from the system, you would need to delete following from the system.

  1. Product entry from the below hives - HKEY_CLASSES_ROOT\Installer\Products-Product Code GUID in cryptic format-. HKEY_CLASSES_ROOT\Installer\Components-Product Code GUID in cryptic format-. HKEY_CLASSES_ROOT\Installer\Patches-Product Code GUID in cryptic format-. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products-Product Code GUID in cryptic format-. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components-Product Code GUID in cryptic format-. SID - S-1-5-18 is for machine, you may need to go to the user specific SID if installation was done for a particular user.
  2. Cached MSI from C:\windows\installer.

    • Uninstall reg key which you have mentioned. I think this should be the trace which should need to be cleaned up.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.