erik_nMT
Posts: 9
Joined: Fri Dec 09, 2011 7:15 pm

Uninstall after updater has run requires Repair beforehand

We have created a 1.6.5 installer, and an updater that calls it for previous versions (1.6.4 and below), and are now encountering a problem with the Windows uninstall command for the first time ever. We've built our versions and updaters with AI 9.x for 10 releases in a row, the same way, and this is the first time we've seen something like this.

If we install the 1.6.5 version directly on Windows 7 or 8 from the generated .msi package, we can immediately uninstall the program without incident. Windows reports no problems.
But if we have the 1.6.4 version and then launch the updater to download and install the new 1.6.5 version, it runs properly with no errors, and the 1.6.5 program runs fine -- BUT if we then try to uninstall 1.6.5 with the same old Control Panel:Uninstall command, it will not work. Instead, Windows shows an error reading "There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor." In other words, the uninstalling error only appears if we've installed 1.6.5 as an update.

If we then run the Repair command on the application (in that same Control Panel window), and *then* run Uninstall, it works fine. So the question is, is there some change we should be aware of in AI 9.7 that would cause a problem like this for versions of our program that were created in AI 9.6 or earlier? Or is there some other setting or value to check in the 1.6.5 installer project that we are overlooking?

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

Re: Uninstall after updater has run requires Repair beforeha

Hello,

I'm not sure why you are encountering this behavior. Usually this error is shown when a custom action fails during the install or uninstall process. Can you please send us the upgrading .AIP 1.6.5 (project file) and a verbose log of the uninstall to support at advancedinstaller dot com so we can investigate them?

Also, you can take a look on our "How do I remove a broken installation?" article.

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

Return to “Building Installers”