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
- :
- Re: Registry keys are not removed during un-installation
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 09, 2009
04:37 AM
Registry keys are not removed during un-installation
Hi,
Platfrom : Vista 32 bit
Installer type : MSI
I have MSI kit that installs a registry key under "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\PLAP Providers". But this registry key is not removed during un-installation.
What could be the reason.
Thanks
John
Platfrom : Vista 32 bit
Installer type : MSI
I have MSI kit that installs a registry key under "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\PLAP Providers". But this registry key is not removed during un-installation.
What could be the reason.
Thanks
John
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 09, 2009
04:41 AM
The most common causes for leaving behind registry keys during uninstallation are:
1. The Registry table contains entries marked with the '+' sign. This directs the installer to leave behind those registry keys during uninstallation.
2. In the InstallExecuteSequence table, the RemoveRegistryValues action is sequenced after the UnregisterProgIdInfo and UnregisterMIMEInfo actions. The sequence of these actions needs to be reversed. The presence of some registry values written from the Registry table prevents certain ProgId, extension, and CLSID keys from being removed.
1. The Registry table contains entries marked with the '+' sign. This directs the installer to leave behind those registry keys during uninstallation.
2. In the InstallExecuteSequence table, the RemoveRegistryValues action is sequenced after the UnregisterProgIdInfo and UnregisterMIMEInfo actions. The sequence of these actions needs to be reversed. The presence of some registry values written from the Registry table prevents certain ProgId, extension, and CLSID keys from being removed.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 09, 2009
07:13 AM
Thank Ranjit for the quick response.
I have checked Regsitry table and ensured that there is no + sign
Also I have changed the sequence order from
RemoveRegsiryValues, UnRegisterClassInfo, UnregisterExtensionInfo, UnregsiterProgIdInfo, UnregisterMIMeInfo to new sequence like UnRegisterClassInfo, UnregisterExtensionInfo, UnregsiterProgIdInfo, UnregisterMIMeInfo, RemoveRegsiryValues,
Still the following entries are not removing
1. HLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\PLAP Providers\
2. HKCROOT\CLSID\
3. Dll file in "System32" folder.
However, the installer works fine on Vista64.
Do I need to check any more areas ?
Thanks
John
I have checked Regsitry table and ensured that there is no + sign
Also I have changed the sequence order from
RemoveRegsiryValues, UnRegisterClassInfo, UnregisterExtensionInfo, UnregsiterProgIdInfo, UnregisterMIMeInfo to new sequence like UnRegisterClassInfo, UnregisterExtensionInfo, UnregsiterProgIdInfo, UnregisterMIMeInfo, RemoveRegsiryValues,
Still the following entries are not removing
1. HLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\PLAP Providers\
2. HKCROOT\CLSID\
3. Dll file in "System32" folder.
However, the installer works fine on Vista64.
Do I need to check any more areas ?
Thanks
John