Preform Actions and show Dialogs based on Feature Selection - 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!

Matt
Posts: 109
Joined: Tue Oct 19, 2010 4:54 pm

Preform Actions and show Dialogs based on Feature Selection

Hi,

Is it possible to preform actions and show dialogs only if a feature is selected on the CustomizeDlg? E.g. If the user does not select the Website feature it does not install the Website and does not show them the Website Dialog but if they do select the Feature then the Website dialog appear and the Website is installed?

Matt
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Preform Actions and show Dialogs based on Feature Select

Hi Matt,

The solution is very simple, just right click on the dialog you want to appear only if the feature is installed and select "Show Only if". Then set the following condition:

Code: Select all

 ((&Website  = 3) AND NOT (!Website  = 3))
Where "Website" is the identifier of the feature, not its name.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Matt
Posts: 109
Joined: Tue Oct 19, 2010 4:54 pm

Re: Preform Actions and show Dialogs based on Feature Select

Hi,

I have managed to get it to work another way On the next button before the dialog we want to show only if a feature is selected we have setup a number of Next dialog actions using the same syntax as you suggested. We have setup a next dialog action for each differnt scenario.

It seems to be working ok

Thanks for the help

Matt
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Preform Actions and show Dialogs based on Feature Select

Hi Matt,

The settings are equivalent and also give you more customization power. Everything should be running correctly, just make sure you set the correct conditions.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”