check "view readme file" checkbox
Posted 03 July 2001 - 15:07
i would like to check this field according to a flage in the "setup.ini" file
Posted 12 July 2001 - 00:13
I usually make the checkbox property public in the Dialog Manager (all caps), let us call it CHECKBOX, and set the "Property is Integer" true (if you are using 0 or 1 as your test value).
I then go to the Advanced View-Property manager and initialize the CHECKBOX to 1 which makes the box checked when the installer reaches the dialog.
I don't know how to parse the setup.ini file, but we do have a similar setup idea (I'm assuming you have a way of searching for your value). Instead, I created a custom dll that parses the registry, returns 1if it is successful, returns a zero if it fails. The return value is assigned to CHECKBOX through a custom action.
Hope this helps,