Button State - Advanced Installer Community
sonu
Posts: 148
Joined: Tue Oct 30, 2012 10:04 am

Button State

Hi Support,

Is it possible to check if a button is clicked or not in the advanced installers i.e store the button state in a property and based on property value, wish to display the next dialog?

If yes, please let us know, how to do it?

Regards
Sony
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Button State

Hi Sony,

In order to achieve that, you can set a property when the push button is pressed. Here's the How do I set a property when a button is pushed? article with related information for hints and guidance.

Please let us know if that helped, otherwise give us more details about your specific scenario.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sonu
Posts: 148
Joined: Tue Oct 30, 2012 10:04 am

Re: Button State

Hi Dan,

We are getting the windows installers, could you please provide the detailed steps?

Regards
Sony
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Button State

Hello Sony,

I've attached a sample which implements your scenario. When you press the Show Details push button, a static text is displayed.
Also, a Hide Details push button is displayed. If you press this one, the static text get hide again.

Please let me know if that helped, otherwise give us more details about your specific scenario.

Best regards,
Dan
Attachments
ButtonStateSample.zip
(3.05 KiB) Downloaded 329 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sonu
Posts: 148
Joined: Tue Oct 30, 2012 10:04 am

Re: Button State

Thanks Dan,

It works :)

Regards
Sony
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Button State

You're welcome Sony,

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”