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
- :
- Removing add/remove programs entries
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Aug 10, 2010
12:11 AM
Removing add/remove programs entries
Hello,
I am faced with a strange issue. One of our customers tried uninstalling our product and the uninstallation was always rolling back.
So he went ahead and ran a couple of cleanup steps ,which otherwise the installer would have taken care of during uninstallation.However now the product registration is not cleaned from the windows installer database. So the customer continues to see the entries for our product in the Add/Remove programs applet.
The customer now wants to reinstall our product and the installer detects that the product is installed and goes into maintenance mode.
He also wants the add/remove entries to be cleaned up.
Here were my suggestions:
1)Use the windows installer cleanup tool - The customer is not ready to use this.
2)Use msizap - Not yet conveyed to the customer. However i am not sure if the customer would agree to this.
3)Provide the customer with a utility which would cleanup the windows installer registration entries.
I am now pursuing the third option.
Here are the steps i am performing in the cleanup utility:
1)Cleanup the registration entries under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
2) Cleanup the registration entries under HKEY_CLASSES_ROOT\Installer\Products\
I observed that cleaning up the registry key as described in step 2 removed the entries in the Add/Remove programs.
Questions:
1)Is there an API/set of API's which i could use to cleanup the windows installer registration?
2)HKEY_CLASSES_ROOT\Installer\Products\
How do i locate this registry key? What is this registry key? How is this generated?
Obviously, the Microsoft provided cleanup tools have some mechanism by which they locate this registry key.Does anyone know of the same.
I am dead stuck here. Any help would be very much appreciated.
Regards,
Kiran Hegde
I am faced with a strange issue. One of our customers tried uninstalling our product and the uninstallation was always rolling back.
So he went ahead and ran a couple of cleanup steps ,which otherwise the installer would have taken care of during uninstallation.However now the product registration is not cleaned from the windows installer database. So the customer continues to see the entries for our product in the Add/Remove programs applet.
The customer now wants to reinstall our product and the installer detects that the product is installed and goes into maintenance mode.
He also wants the add/remove entries to be cleaned up.
Here were my suggestions:
1)Use the windows installer cleanup tool - The customer is not ready to use this.
2)Use msizap - Not yet conveyed to the customer. However i am not sure if the customer would agree to this.
3)Provide the customer with a utility which would cleanup the windows installer registration entries.
I am now pursuing the third option.
Here are the steps i am performing in the cleanup utility:
1)Cleanup the registration entries under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
2) Cleanup the registration entries under HKEY_CLASSES_ROOT\Installer\Products\
I observed that cleaning up the registry key as described in step 2 removed the entries in the Add/Remove programs.
Questions:
1)Is there an API/set of API's which i could use to cleanup the windows installer registration?
2)HKEY_CLASSES_ROOT\Installer\Products\
How do i locate this registry key? What is this registry key? How is this generated?
Obviously, the Microsoft provided cleanup tools have some mechanism by which they locate this registry key.Does anyone know of the same.
I am dead stuck here. Any help would be very much appreciated.
Regards,
Kiran Hegde
(2) Replies
‎Aug 10, 2010
11:02 AM
Your customer's machine is already in a bad state here, so it's hard to say which option will be best to move forward. The Windows Installer Cleanup Utility / MSIZap is always considered a last resort. Instead the canonical way to fix uninstallation rollbacks is to create a minor upgrade package that resolves the rollback; install this (make sure to include v in REINSTALLMODE, which happens by default), and then the fix should be laid down. At that point if the new package was crafted correctly, it should be possible to uninstall. Less canonically, one can find the cached .msi package and edit it to resolve or ignore the problems.
As far as the Products registry key goes, you might search for "Compressed GUID."
As far as the Products registry key goes, you might search for "Compressed GUID."
‎Aug 11, 2010
10:37 PM
Thanks for sharing this piece of information.
Let me search for compressed GUID and see where it leads to.
Regards,
Kiran Hegde
Let me search for compressed GUID and see where it leads to.
Regards,
Kiran Hegde