This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Silent Uninstall Leaves Entry in Add or Remove Programs
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Dec 20, 2010
09:46 AM
Silent Uninstall Leaves Entry in Add or Remove Programs
When using a silent uninstall (e.g. msiexec /uninstall {GUID} /passive), the entry of the install is not removed from the "Add or Remove Programs" Windows applet. (See the screenshot below).
(6) Replies
‎May 05, 2011
11:01 AM
I believe this is a bug introduced with Installshield 2011 w/silent uninstalls. There was another similar issue that I ran into, see my other post here: http://community.flexerasoftware.com/showthread.php?t=196061.
I am also receiving a 1628 error now. I've been mucking with the registry and C:\Windows\Installer directory to get rid of the installation, but am having issues finding what needs to be removed.'
From my other post, I believe it is:
I am also receiving a 1628 error now. I've been mucking with the registry and C:\Windows\Installer directory to get rid of the installation, but am having issues finding what needs to be removed.'
From my other post, I believe it is:
TobiaszJason wrote:
There are two fragments that are left over afte rthe silent uninstall:
(1) A registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Management\ARPCache\InstallShield_{GUID}]
I believe this is used for the "Add or Remove Programs" Windows applet. The entry for the application is removed when this registry key is removed.
and
(2) The cached installer:
C:\Program Files\InstallShield Installation Information\[GUID]
‎May 05, 2011
11:07 AM
I have been searching for the GUID in the registry and deleting the entries that refer to the GUID. When you locate the GUID in the registry, there may be some folders that the registry entries refer to, and I delete them as well to clean things up.
I found a different uninstall string for my product at this location:
"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\InstallShield_" + szInstalledProductCode
If I execute that uninstall string, then the product seems to be getting removed completely.
I found a different uninstall string for my product at this location:
"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\InstallShield_" + szInstalledProductCode
If I execute that uninstall string, then the product seems to be getting removed completely.
‎May 05, 2011
11:32 AM
Look at the UninstallString key at the registry entry you called out...for me it is something like:
I've noticed that the only way to cleanly uninstall sometimes is to only use that setup.exe from the UninstallString.
"C:\Program Files\InstallShield Installation Information\{GUID}\setup.exe" -runfromtemp -l0x0409 -removeonly
I've noticed that the only way to cleanly uninstall sometimes is to only use that setup.exe from the UninstallString.