Radio button event - 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!

argienchar
Posts: 3
Joined: Wed Dec 14, 2011 1:29 pm

Radio button event

Hello,

I'm a newbie in creating installers and I can't find the answer in your tutorial and in your forums, :( This is my scenario:
So I have two radio buttons, that is when the first is selected then another custom dialog will show up but if the second radio button is selected then the VerifyReadyDlg will show up. How do I do this? Thanks for your help! :)
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Radio button event

Hi,

This very easy. As you probably already know the radio buttons are part of a group, which has attached a public property. This property is set to different values for each radio button, in your case lets assume the values are "yes" and "no" and the property name is "MY_RD_GROUP".

Now, you need to right click on the dialog that should appear only when a certain radio button is selected and from the context menu select "Show only if". In the condition dialog that appears use this condition:

Code: Select all

MY_RD_GROUP="yes"
Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
argienchar
Posts: 3
Joined: Wed Dec 14, 2011 1:29 pm

Re: Radio button event

Hello,

Thank you for your immediate response, I think this is what I really needed. However, I can't seem to find the "Show only if" option in my desired dialog. I've created a screenshot for you. Is there any AI requirement to be able to use this feature? Thanks again.
Attachments
showonlyif.png
showonlyif.png (181.76 KiB) Viewed 3506 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Radio button event

Hi,

That is the name of the option in the current version, in your version is called "Condition by Property...".

However, from what I see you want to set the condition on VerifyReadyDlg, which is not possible because this is a sequence dialog which cannot be skipped when running with full UI. From your first post I understood that you want to skip another dialog and go directly to "VerifyReadyDlg".

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

Return to “Common Problems”