ManfredD
Posts: 6
Joined: Wed Apr 17, 2013 9:54 am

Deinstallation of my product fails, how to manually remove?

Hello,

the deinstallation of my products fail, but I think it's a Windows issue, because it works on all other systems. After the deinstallation, my product is still in the list of installed programms: Control Panel -> Programs -> Programs and Features

- Now, I follow the tutorial "How to manually remove programs from the Add or Remove Programs tool" from Microsoft http://support.microsoft.com/kb/314481/en-us but can't find my product inside HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{GUID}
- After a short Google search, I got the solution: I have to removed the entry HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{GUID}
- Now, my product disapears from the 'Programs and Features' list. But if I try to install the same setup.exe, the error message "Another Version of the product is already installed" appears.
- So, I opened the .aip project and copy my Product ID (Product Information -> Product Details -> Product IDs) and search the Registy for this ID
- I delete the path HKEY_CURRENT_USER\Software\Caphyon\Advanced Installer\LZMA\{GUID}
- I delete the path HKEY_CURRENT_USER\Software\Caphyon\Advanced Installer\Prereqs\{GUID}
- But the message "Another Version of the product is already installed" still appears.
- At last, I delete the path HKEY_CURRENT_USER\Software\Microsoft\Installer\Products\{GUID} . The message "Another..." doesn't appears, but now I have a "never ending" Windows waiting cursor and I can't continue the installation...

Thanks for you help!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Deinstallation of my product fails, how to manually remo

Hello,

Can you please try to use the workaround described in our "How do I remove a product that cannot be uninstalled in the "Add or Remove Programs" list" how to and see if the behavior still persist?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ManfredD
Posts: 6
Joined: Wed Apr 17, 2013 9:54 am

Re: Deinstallation of my product fails, how to manually remo

Hallo Daniel,

thank you for your reply!
Unfortunately, both URLs inside the "How-To" doesn't work and I'm not sure if it would be a good way for the end-user to install the "Microsoft Platform SDK".

Surely, there is a documentation, which registry keys are created by the Advanced Installer during installation of a product. And it would be good to know which registry key gets checked for the message "Another Version of the product is already installed". With this information, I could write a small script for the end-users.

Best regards and many thanks for your help
Manfred
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Deinstallation of my product fails, how to manually remo

Hello Manfred,
Unfortunately, both URLs inside the "How-To" doesn't work and I'm not sure if it would be a good way for the end-user to install the "Microsoft Platform SDK".
We'll update the related URL in a future version of Advanced Installer. Thank you for bringing this to our attention.
Surely, there is a documentation, which registry keys are created by the Advanced Installer during installation of a product. And it would be good to know which registry key gets checked for the message "Another Version of the product is already installed". With this information, I could write a small script for the end-users.
As another workaround, you can try to use this fix tool from Microsoft.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ManfredD
Posts: 6
Joined: Wed Apr 17, 2013 9:54 am

Re: Deinstallation of my product fails, how to manually remo

Thank you for your help!

We tried "Microsoft Fix it" but had no success. The reason is probably because we have previously deleted a lot of keys in the registry, see my first post.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Deinstallation of my product fails, how to manually remo

Hello,

In this case you can try to use the Msizap.exe tool as it is described in our "Force Uninstall" article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shunziker
Posts: 11
Joined: Tue Mar 27, 2012 1:57 pm

Re: Deinstallation of my product fails, how to manually remo

Hello

it seems as if msizap.exe is not longer recommended by Microsoft and also I can't find it, see here: http://msdn.microsoft.com/en-us/library/aa370523.aspx. I have an installation where the uninstall fails because of an errorous custom action uninstall script. Do you have another solution for removal?

thanks, regards
Stefan
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Deinstallation of my product fails, how to manually remo

Hello Stefan,

The MsiZap.exe tool is part of the "Microsoft Windows SDK". So in order to use it you should download and install the "Microsoft Windows SDK".

As another solution you can try to use this uninstall fix tool from Microsoft.

Also, you can try to recache the MSI package on target machine as it is explained in our "How do I remove a broken installation?" FAQ.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”