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!

Abhinay
Posts: 36
Joined: Wed Feb 27, 2019 9:33 am

Irrespective of any version installed it should uninstall old version

Irrespective of any version installed it should uninstall old version and then install my new exe, But i get popup saying please uninstall other versions before installing. How to uninstall old versions.
And how do i delete the stuff which i installed in %AllUsersProfile%" while its uninstalling automatically?
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Irrespective of any version installed it should uninstall old version

Hello Abhinay,

In order to achieve this, you can enable the Major Upgrade for your project. A major upgrade is essentially the removal of an older product which is replaced by a newer product. In Advanced Installer the upgrades can be configured from the "Upgrades" page.

A major upgrade is enabled by increasing the "Version" of your application (e.g. from 1.0.0 --> 1.0.1) ("Product Details" page). After doing so, when you will navigate between the pages (e.g. select another page), you will be prompted with the following message:
PC.PNG
PC.PNG (10.08 KiB) Viewed 2519 times
There, you need to press "Generate new" in order to generate a new ProductCode for your project. For more information about ProductCode, you can have a look on our "Product Identification (ProductCode and UpgradeCode)" article.

Hope this helps.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”