.net - How to uncheck a CheckBox when a RadioButton is selected -
i dealing wix installer.
i have checkbox control:
<control type="checkbox" id="officepluginsenabledcheckbox" width="107" height="17" x="11" y="114" text="enable installed add-ins" property="officepluginsenabled" checkboxvalue="1"/> i have radiobuttongroup control:
<control type="radiobuttongroup" property="installaddinkeys" id="addinkeysradiobuttongroup" width="74" height="45" x="218" y="131"> <radiobuttongroup property="installaddinkeys"> <radiobutton text="all users" height="17" value="allusers" width="200" x="0" y="0" /> <radiobutton text="current user" height="17" value="currentuser" width="200" x="0" y="15" /> <radiobutton text="none" height="17" value="none" width="200" x="0" y="30" /> </radiobuttongroup> <publish property="officepluginsenabled"><![cdata[installaddinkeys="none"]]></publish> </control> i trying de-select officepluginsenabledcheckbox when none ticked in radiobuttongroup. shown above, i've tried publishing officepluginsenabled property. not work officepluginsenabled never published when none ticked. why this, , how can achieve desired functionality?
you missing value attribute in script above. try following:
<publish property="officepluginsenabled" value="0"><![cdata[installaddinkeys="none"]]></publish>
Comments
Post a Comment