PDA

View Full Version : Check box selected



norziha
11-08-2011, 07:41 PM
My installer project is using Basic MSI.
I have created a dialog with 3 checkbox and each checkbox is belong to corresponding feature.

Checkbox1 --> NewFeature1
Checkbox2 --> NewFeature2
Checkbox3 --> NewFeature3

End user can select which feature they want to install (I don't want to install ALL).

I have set the trigger at Next button event as below.

Event Argument Condition
AddLocal NewFeature1 Checkbox1=1
AddLocal NewFeature2 Checkbox2=1
AddLocal NewFeature3 Checkbox3=1

Does my setting is correct?

Now it still not working. At this moment even I choose 2 features it will install all.

I dont have any idea. Can somebody help me?

Thanks.

hidenori
11-09-2011, 04:50 PM
I think you also need to have the Remove control events as follows:

AddLocal NewFeature1 Checkbox1=1
AddLocal NewFeature2 Checkbox2=1
AddLocal NewFeature3 Checkbox3=1
Remove NewFeature1 Checkbox1=""
Remove NewFeature2 Checkbox2=""
Remove NewFeature3 Checkbox3=""