Page 1 of 1

(Un)Install MSI Setup does not remove completely

Posted: Fri Jan 27, 2006 9:05 am
by gweihs
I am calling a setup (AI) from wihin another setup using the "(Un)Install MSI Setup" in order to uninstall a product. It does seem to uninstall the product, but the Add/Remove Programs still contains an entry for the product. When I click on that entry to manually uninstall it, it says that an error has occurred and the product may have been uninstalled already (which it was).

Why is Add/Remove Programs not being refreshed? Is there anything i can do?

Posted: Fri Jan 27, 2006 11:02 am
by MichaelNesmith
This is as designed - you can just delete the key using the Delete Registry command after the uninstall.

Posted: Fri Jan 27, 2006 11:06 am
by gweihs
Delete what key?

Posted: Fri Jan 27, 2006 11:46 am
by MichaelNesmith
The registry key for your program that lists it in Add-Remove Programs. This key is not removed automatically on uninstalls using the plug-in.

Posted: Fri Jan 27, 2006 2:56 pm
by gweihs
Am I missing something? Specifically, what key are you referring to. I created no key (explicitly) when i created the setup. Specifically, what key?

Posted: Fri Jan 27, 2006 3:32 pm
by MichaelNesmith
Ah, I assumed you already knew where ARP keys were stored at. Sorry about that. Here goes:

Code: Select all

SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\$TITLE$


The hive will be HKLM or HKCU depending on an All Users or Just Me install.

Note that the $TITLE$ needs to be the title of the uninstalled product. If your title has changed between versions, you need to use the old title.

Re:

Posted: Sun Mar 23, 2014 5:03 pm
by johnchapman
MichaelNesmith wrote:This is as designed - you can just delete the key using the Delete Registry command after the uninstall.


Where is this described as "as designed"? It seems odd to me that installaware would automatically populate the registry upon installation, but not remove them upon uninstallation?

Re: (Un)Install MSI Setup does not remove completely

Posted: Mon Mar 24, 2014 12:19 pm
by FrancescoT
Dear John,

in-fact, it is exactly in this way... if you found a different behavior, there is probably something wrong with your project.

Regards