Group Policy MSI leaves detritus in ARP registry area
Posted: Wed May 19, 2010 11:15 am
If I install a Group-Policy-generated MSI, it adds one more registry (and values under the key) to the ARP section of the registry than if I install the EXE-based installer. The problem is that after I uninstall, this extra registry key is not removed. To clarify:
After installing the EXE installer, the following registry keys exist:
After I uninstall and reboot, both of those keys are gone.
After installing the MSI installer that was created using the Group Policy Wizard, the following registry keys exist:
After I uninstall and reboot, regardless of whehter I use the .exe or the .msi to uninstall, the following is left in the registry:
The UninstallString from this key that doesn't get cleaned up looks like this:
If I run that command, it attempts to run the .msi file from it's original location. If I've since deleted or moved the .msi file, it fails with "The feature you are trying to use is on a network resource that is unavailable." It wasn't on the network, it was on my desktop.
Is there any way to have the ARP registry be fully cleaned up after uninstalling a Group-Policy-generated MSI package?
After installing the EXE installer, the following registry keys exist:
Code: Select all
- HKML\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{OUR-PRODUCT-CODE}
- HKML\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MyProductNameAfter installing the MSI installer that was created using the Group Policy Wizard, the following registry keys exist:
Code: Select all
- HKML\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{SOME-RANDOM-GUID-NOT-FROM-OUR-PROJECT}
- HKML\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{OUR-PRODUCT-CODE}
- HKML\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MyProductNameCode: Select all
- HKML\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{SOME-RANDOM-GUID-NOT-FROM-OUR-PROJECT}Code: Select all
MsiExec.exe /I{THAT-SAME-RANDOM-GUID}Is there any way to have the ARP registry be fully cleaned up after uninstalling a Group-Policy-generated MSI package?