Upgrade not uninstalling previous version - Advanced Installer Community

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!

valiot
Posts: 80
Joined: Tue Dec 04, 2012 1:41 am

Upgrade not uninstalling previous version

I do the following:

- Build V1.0.1 of my app installer with a product ID AAA
- Install V1.0.1 of my app with a product ID AAA
- Build V1.0.1 of my app installer with a new product ID BBB
- Install V1.0.1 of my app with a product ID BBB

What I notice:
- my app with a product ID AAA does NOT get uninstalled before installation of product ID BBB
- If I uninstall app with product ID BBB, it does not remove the app because there is a Product ID AAA remaining. If I then run Product ID AAA uninstaller, I get a message that this action can only be run on an app that's installed.

So the help docs recommend we change the product ID every-time and I did, so why this problem? Do I also need to change the version number of my app?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Upgrade not uninstalling previous version

Hello,

Please keep in mind it is not recommended to use different product IDs for the same version of a product, because the second package will be treated as a new product. If you want to upgrade your product installation, then you should change the product version.

Also, you can take a look on What are Upgrade, Product and Package Codes used for? article.

Let us know if this helped.

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

Return to “Common Problems”