I like what I see so far. Great job!
I do need some help. I have created a dialog that asks if a user will use a touchscreen monitor. There are two radio buttons - yes and no. On the object behavior tab, I put yesTouchscreen for the "Writes to variable" box and noTouchscreen for the no radio button.
I need to write to the registry based on a "yes" selection. I tried an if statement in the code, but it says the variables are not defined.
Thanks for the help.
Brian
Variables and Radio Buttons
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Hi!
Just pre-define the variables in your script, before showing the dialog. Set them to TRUE or FALSE based on their desired values.
Just pre-define the variables in your script, before showing the dialog. Set them to TRUE or FALSE based on their desired values.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Thank you for your quick reply. I am now having no errors, but running the install and selecting the yes radio button does not write the registry information as expected.
The attached file shows the code for my touchscreen. It is not writing to the registry if I select the yes radio button. yesTocuhscreen is the variable where the radio button writes to. Am I correct that yesTouchscreen will be TRUE if the readio button is checked and FALSE if it is not checked?
File Attached:
InstallAware.txt
The attached file shows the code for my touchscreen. It is not writing to the registry if I select the yes radio button. yesTocuhscreen is the variable where the radio button writes to. Am I correct that yesTouchscreen will be TRUE if the readio button is checked and FALSE if it is not checked?
File Attached:
InstallAware.txt
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Hi Charles!
You are resetting the variable to an empty string, after calling the dialog.
You are resetting the variable to an empty string, after calling the dialog.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 60 guests