Hi Chris,
Regarding on how to show/hide a control depending on the state of a check box you can do like this:
Select the control you want to show/hide. Under "Control Conditions" tab add two events like this:
Condition: CHECK_PROP = 1
Action: Hide
Condition: CHECK_PROP <> 1
Action: Show
Were CHECK_PROP is the property of the "CheckBox" control and 1 its value, both defined in the "Properties" list of the control.
Is it possible to test the information entered from the SQL Connection Dialog before allowing the user to continue to the next page?
Select the "Next" button on the "SQLConnectionDlg" and edit the existing "Published Event" with the following condition: PORT_PROP = 1. In this way the the installation will continue only if you type 1 in the "Port" field.
Now you need to display a meesage box informing the user what is happening. To that like this: In the "Custom Actions" page add a new "Script In Line" custom action under "UI Custom Actions" section with this "Script Text": MsgBox "The port number must be 1"
Switch back to "Dialogs" page and under the "Next" button of the "SQLConnectionDlg" add a new published event like this:
Event: DoAction
Argument: ScriptInLine
Condition: PORT_PROP <> 1
This is an example on how to validate the port number. You need to do something similar for all fields.
Hope this helps.
Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
FOLLOW US
Get the latest news in Application Packaging