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!

Christophe
Posts: 9
Joined: Wed May 06, 2015 11:48 am

Side-by-side vs upgrade based on feature selection

Hello,

Is it possible to use the feature selection dialog to decide whether we want to do a side-by-side installation or an upgrade?

For example we have feature 1 and feature 2.
If the user selects feature 2 we would go for an upgrade.
If the user does not select feature 2 then we allow a side-by-side installation.

Note that I only have a professional edition so I am a bit restricted in what I can do.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Side-by-side vs upgrade based on feature selection

Hello Christopher,

In order to perform a side by side install you need to set the AI_UPGRADE property with the No value. If you want to perform an Upgrade you can set the AI_UPGRADE property with the Yes value.
For this, you can use the predefined Set installer property custom action. You can condition the custom action execution based on the feature that the user choose to install.
You can add this custom action after the User Selection stage from the Wizard Dialogs Stage.

Also, for this option to work, you must respect some versioning rules when Changing Version. For details, please check the Upgrades Page article.

Please let me know if you need any help.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Christophe
Posts: 9
Joined: Wed May 06, 2015 11:48 am

Re: Side-by-side vs upgrade based on feature selection

Many thanks for the fast and clear reply. :D
I have added a Set Property custom action underneath the ProgressDlg UI Sequence and it does the job. I'm surprised it ended up being so simple.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Side-by-side vs upgrade based on feature selection

You're always welcome,

If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”