Hello,
Enterprise user here.
I want to add an image checkbox which ultimately will add and change the value of a registry entry (also deployed via installer). Something like CheckBox is checked -> RegistryKey = 1, CheckBox is not checked -> RegistryKey = 0.
I know there are a lot of posts about this, none of these worked for me. Assuming the registry key RegistryKey is added to HKCU/Software/[Product Name] with an integer value, with an ImageCheckbox added to a dialog with the name ImageCheckBox, property of IMAGECHECKBOX_1_PROP, selected = false, value of ImageCheckBox, and lastly, a property named UserDecision with a default value of 0, things I've tried:= and did not work:
1. Add a published event to the checkbox itself, with event argument as [UserDecision], argument of 1, and condition of IMAGECHECKBOX_1_PROP = "ImageCheckBox" and another event reversed (argument 0, condition IMAGECHECKBOX_1_PROP <> "ImageCheckBox"
2. Using the condition ImageCheckBox and NOT ImageCheckBox.
3. Assigning these events to the install button instead of the checkbox.
My registry entry never changes from default, even if the checkbox is checked.
Thank you!