cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
johnav
Level 3

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
Labels (1)
0 Kudos
(2) Replies
Ranjit_Kumar
Level 6

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.
0 Kudos
johnav
Level 3

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
0 Kudos