Hi,
I suppose you are referring to the options available for selection using checkboxes. By default Windows Installer sets the property attached
to and UI element, i.e. a checkbox, to the value you specify in the files "Value" from Properties pane, in Dialogs page.
If the checkbox is not ticked, than the property is not set, i.e. it contains an empty string. So you can define for example "1" as value for the public property attached
to the checkbox, and if it is ticked it will pass "1" to the INI file, otherwise and empty string.
If you want to pass "0" when it is not selected than you need to add a "SetProperty" published event on the "Next" button of the above dialog that sets the property attached to the checkbox to value "0" only if the property is empty, i.e. execution condition is:
NOT Installed AND NOT MY_PROP
To set the properties in the INI file you can use our built-in editor, similar as the one used for XML files.
http://www.advancedinstaller.com/user-g ... ialog.html
http://www.advancedinstaller.com/user-g ... -file.html
Regards,
Bogdan
FOLLOW US
Get the latest news in Application Packaging