Conditional Dialogue - 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!

FLS
Posts: 29
Joined: Thu Jun 29, 2006 1:46 pm
Location: Nashville, Tennessee, U.S.A.

Conditional Dialogue

I am wondering if there is a way wherein I can cause a dialogue box to be displayed only if a particular condition is met?

Specifically, I would like the installer to search for a registry key value and depending on that value, determine whether or not to display this particular dialogue box.

Thank you!
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Here is an example on how you can do that:

Switch to "Search" page and create a registry search, browse for the registry key. Switch to "Dialogs" page and select the "WelcomeDlg". On the "Next" button add a new published event like this:
Event: NewDialog
Argument: Your custom dialog
Condition: RESULT_PROPERTY (the property of the search)

Hope this helps.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
FLS
Posts: 29
Joined: Thu Jun 29, 2006 1:46 pm
Location: Nashville, Tennessee, U.S.A.

Thank you!

Return to “Common Problems”