Cannot uninstall old version when installing newer version - Advanced Installer Community
kazuki_chan8
Posts: 9
Joined: Wed Mar 01, 2017 7:34 am

Cannot uninstall old version when installing newer version

Hello,

Im building a newer ver of my app. I already follow the steps 'upgrade' like AI recommended to me. When running the newer ver, a window msg appear 'The older version cannot be removed. Contact your technical support group'. How i solve this problem as i already follow all the step required in upgrading page in building a new ver?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Cannot uninstall old version when installing newer version

Hello,

Can you please send us the .AIP (project file) of your old and new product version and a verbose log of the upgrade installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kazuki_chan8
Posts: 9
Joined: Wed Mar 01, 2017 7:34 am

Re: Cannot uninstall old version when installing newer version

Thanks for your attention.

Seems like the problem solved when i reset the upgrade code. By the way, i updated AI to latest ver. Thus i know there was backup made to my files. Maybe this issue happen when i using different ver of AI to built a newer ver of my product as the older ver was built with older AI. Anyway for now, the problem has been solved. Thanks again.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Cannot uninstall old version when installing newer version

Hello,

Please note that when generating a new UpgradeCode the new product version won't uninstall the old product version automatically anymore. They will be seen as two different products and, therefore installed side by side.

From your original post it seems there is an issue with the uninstall process of your old product version. Can you please try to manually uninstall the old product (i.e. using an msiexec command line) and see if this operation succeeds. If not, please create an uninstall verbose log and send it alongside your AIP (project file) of the old product to support at advancedinstaller dot com so we can further investigate this.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kazuki_chan8
Posts: 9
Joined: Wed Mar 01, 2017 7:34 am

Re: Cannot uninstall old version when installing newer version

Hi there,

Yes. I can manually uninstall the old ver of my product. This is what i do actually, first, i uninstall the old ver (lets say ver A). Second,I reset the upgrade code, then rebuilding the setup with the same ver. A. Third, i installed the rebuiled ver A. Fourth, I made newer ver B & installed it. Updating my product to newer ver. B is successful & ver. A can be uninstalled successfully. Like i mention before, the old ver. of my product is build with old ver. of AI. When i used the old AI ver before this, upgrading my product to newer ver. & uninstall old ver. is not a problem. Just want to let u know.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Cannot uninstall old version when installing newer version

Thank you for your follow up.

I'm glad you worked around this.

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

Return to “Common Problems”