Page 1 of 1

Click button and stay on the same dialog

Posted: Tue May 17, 2016 9:17 am
by sol952
Is there a way to have a button that runs a program on click but will stay on the same dialog? I want to have a button that when clicked will load a chm file. Currently I have the button preform the action "Return from Dialog" and I use that variable to run the chm in the script. I Have a goto for the the dialog so there is only a quick flash. The problem is that all the radio buttons on the dialog go back to the default state.

Re: Click button and stay on the same dialog

Posted: Tue May 17, 2016 9:49 am
by sol952
Nevermind. I was setting some of the variables in the dialog section. Sorry

Re: Click button and stay on the same dialog

Posted: Tue May 17, 2016 12:12 pm
by FrancescoT
Anyway, you may have a look at the "Basic Dialog Action sample" from the following link.
http://www.installaware.com/forums/viewtopic.php?f=2&t=6772#p25655

Regards