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!

bsopik
Posts: 4
Joined: Thu Jan 24, 2013 2:43 pm

Create new version - upgrade problem

Hello,

which property I shall use in installer when I want to check if I'm doing the upgrade or clear installation.

The target is to skip some dialogs and features installation when I'm doing the upgrade.

Also is it possilbe to get the previous version number.

Thank you, Bronislav
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Create new version - upgrade problem

Hi Bronislav,

In order to make the difference between a first installation and an upgrade, you can use the [OLDPRODUCTS] property. It is empty for a clear installation and set for an upgrade.

To get the previous version number, you can go in the "Search" page, create a "Product Version (identify by Upgrade Code)" extended search and use the Upgrade Code of your product.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”