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?
(Un)Install MSI Setup does not remove completely
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
This is as designed - you can just delete the key using the Delete Registry command after the uninstall.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Ah, I assumed you already knew where ARP keys were stored at. Sorry about that. Here goes:
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.
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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 1
- Joined: Sun Mar 23, 2014 4:59 pm
Re:
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?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: (Un)Install MSI Setup does not remove completely
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
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
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
Who is online
Users browsing this forum: No registered users and 105 guests