amorpeth
Posts: 18
Joined: Sat Feb 04, 2017 9:43 pm

Conditional Dialog's based on selected features

Hi,

My install package includes 3 features:
1. AdminApp
2. WebApp
3. Service

I have enabled the custom setup dialog so that users can choose which features are to be installed. Based on the chosen features, I want to show only the dialogs that relate to those features.
Custom Setup.jpg
Custom Setup.jpg (54.4 KiB) Viewed 1434 times
I have tried this known good conditions that I am using elsewhere (to condition IIS for example), however they are not working, and in all cases the conditioned dialog is not displayed - ((&WebApp= 3) AND NOT (!WebApp= 3))

If I can get this to work I want to condition all my dialogs and would need a more complex condition. I want to achieve the following conditions:
- If "WebApp" is being installed OR "Service" is being installed then show the dialog
- If a previous version exists then show no custom dialogs (if possible I'd like to check if a config file exists rather than simply checking if it was previously installed)

Guidance is much appreciated.

Thanks!
Andrew
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Conditional Dialog's based on selected features

Hi Andrew,

In order to achieve this, you can follow the "How to display some dialogs depending on the selected features" tutorial.

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

Return to “Building Installers”