Brad Butts wrote:
> I'm trying to include a checkbox control on a dialog with radio button 
> controls.  The radio buttons work (I can select different options), 
> but the checkbox does not work: I default the value to "checked" but 
> when I run the MSI, I can never uncheck it.  Here's my snippet:
>
>         <Control Id="RunInstallUtilCheckbox" Type="CheckBox"
>                  X="18" Y="228" Width="348" Height="12" 
> Property="RUNINSTALLUTIL"
>                  Text="{\VSI_MS_Sans_Serif13.0_0_0}Register Enterprise 
> Library blocks">
>           <Property Id="RUNINSTALLUTIL"><![CDATA[1]]></Property>
>         </Control>
>

You want to use the CheckBoxValue attribute to set the value that MSI 
will set the property to when checked. See how 
src\ext\UIExtension\wixlib\WelcomeEulaDlg.wxs handles the 
license-acceptance checkbox.

-- 
sig://boB
http://joyofsetup.com/



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to