(Un)Install MSI Setup does not remove completely

Got a problem you cannot solve? Try here.
Post Reply
gweihs
Posts: 32
Joined: Sat Jan 21, 2006 10:24 am

(Un)Install MSI Setup does not remove completely

Post 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?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

This is as designed - you can just delete the key using the Delete Registry command after the uninstall.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
gweihs
Posts: 32
Joined: Sat Jan 21, 2006 10:24 am

Post by gweihs »

Delete what key?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post 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.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
gweihs
Posts: 32
Joined: Sat Jan 21, 2006 10:24 am

Post 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?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post 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.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
johnchapman
Posts: 1
Joined: Sun Mar 23, 2014 4:59 pm

Re:

Post 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?
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

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

Post 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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply