How to initialize checkbox value in installshield

How to set the initial value of the checkbox (Checked / NotChecked) in InstallShield 2010.

I added a CheckBox to the form, while adding, I allowed the creation of a custom property (I called it ISCHECKED). I set the value to 1, so when the checbox is checked, this property has a value of 1.

When I run the installer, CheckBox is always checked, and I want to disable it, what should I do. I tried to change this custom property and set the value for different values โ€‹โ€‹in the property manager, but with no luck. I know that when I click on CheckBox, it modifies this property value (I turn on / off other interface elements).

+5
source share
3 answers

Check the box when its property is set and not checked when the property is empty.

To disable it by default, make sure that its property is not initialized with a value. Associate a property only with your flag, but do not set its value to "1".

+8
source

I worked on this by creating a CheckBoxGroup with two checkboxes. One Yes and one No, where Yes is 1 and No is 0.

+2
source
  • In the view list, under Behavior and Logic, click Property Manager .

  • Set the value 1 you want.

0
source

All Articles