vdms-mark
Posts: 9
Joined: Thu Apr 19, 2018 9:33 pm

Showing dialogs based on checkboxes

Hello,

I have a custom dialog page with two check boxes. Currently, we show another dialog (dialog X) only when checkbox A is selected. The property set with checkbox B is used elsewhere.
To conditionally show the dialog flagged by checkbox A, I followed this guide:
https://www.advancedinstaller.com/user- ... ialog.html

Now we have a new requirement, where another dialog (dialog Y) should be shown if checkbox B is selected. I followed the same steps in the guide above, but the behavior I'm seeing is not as expected.

Expected:
Only checkbox A checked, show dialog X.
Only checkbox B checked, show dialog Y.
Checkbox A and checkbox B checked, show dialog X followed by dialog Y.

The behavior I'm actually seeing is strange:
Only checkbox A checked, show dialog X.
Only checkbox B checked, show dialog Y followed by dialog X.
Checkbox A and checkbox B checked, show dialog X only.

Any advice on how to accomplish my goal is appreciated ;)
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Showing dialogs based on checkboxes

Hi and welcome to Advanced Installer forums.

In order to achieve this, you can implement the steps described in 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
vdms-mark
Posts: 9
Joined: Thu Apr 19, 2018 9:33 pm

Re: Showing dialogs based on checkboxes

Hi Eusebiu,

Thanks for the response. The guide was very helpful and ultimately I was able to accomplish my goals.

Take care
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Showing dialogs based on checkboxes

You're welcome. I'm glad that article was helpful.

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

Return to “Building Installers”