We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jakebluestar
Posts: 2
Joined: Fri Jan 29, 2016 3:44 am

Strange problem uninstalling/removing application

We have a Windows installer (msi) using Advanced Installer and are seeing a strange problem on a particular machine. User had an older version installed there. User uninstalled the version and tried to install a newer version. But the newer version keeps trying to remove the older version and failing on it. The older version does not appear on the computer. It does not appear in Control Panel -> programs. There are no registry entries for the application especiallly in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall.

If we try to install the older version again, it says that the version is already installed.

Do you guys have any idea where the AI installer is checking to see if an older version is installed on the machine?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Strange problem uninstalling/removing application

Hi and welcome to Advanced Installer forums,

To uninstall the broken version you can try to follow this article: How do I remove a broken installation?.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jakebluestar
Posts: 2
Joined: Fri Jan 29, 2016 3:44 am

Re: Strange problem uninstalling/removing application

Hello,
Thank you for your reply and suggestion.

According the link that you provided:
- open the package's Advanced Installer project
- fix the problem
- build the project
- use this command to recache the MSI:
The problem is that we are not what the problem is. The same package has been installed and uninstalled on thousands of other machines without any problems.
I have two questions:
1. Is there a way to find out what is "broken" in the installation?
2. Is removing all custom actions in the Advanced installer project and rebuilding the msi likely to help?

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

Re: Strange problem uninstalling/removing application

Hello,

1. You can generate a verbose log of the upgrade installation and check what action it fails during the uninstall of the old version (during upgrade). Please take a look on the "How Do I Read a Windows Installer Verbose Log File?" article.

2. Only if the failure is caused by a custom action.

As another option you can try to use the Microsoft Fix it tool to remove the old version of your product.

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

Return to “Common Problems”