You might want to look at or post your Control element and attributes
you have set. Something subtle like Integer="yes" on that Control
element would make it act this way since it is not expecting a string in
that case. Personally I prefer to use Integer values for WiX checkboxes
as they seem a bit more definitive and less prone to my typos. (TRUE
versus True for example). 

Also, a verbose log file might show what that Property is being set to.

Here's a working snippet where it uses the set checkbox value to install
an entire feature.

<Control Id="Framework_CheckBox" Type="CheckBox" X="47" Y="78"
Width="113" Height="14" Property="FRAMEWORKSERVER" CheckBoxValue="1"
Integer="yes">
<Text>Framework</Text>
<Condition Action="disable"><![CDATA[&FrameworkRole = -1]]></Condition>
<Publish Event="AddLocal" Value="FrameworkRole">FRAMEWORKSERVER =
1</Publish>
<Publish Event="Remove" Value="FrameworkRole"><![CDATA[FRAMEWORKSERVER
<> 1]]></Publish>
</Control>

-----Original Message-----
From: Velu [mailto:velusa...@syncfusion.com] 
Sent: Tuesday, May 11, 2010 2:13 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Based on CheckBox value have to show the WIX
Dialog.


I have to show the Dialog based on the checkbox value. I have set the
checkbox property as true initially like below



And now show the dialog based on the check box value selection at the
time
of installation. If it is true i have to show the "Newdoalog_1" if it is
false i have to show the "Setup dialog"

This is my code :


INSTALL
INSTALL AND CHECKBOX_1_PROP="TRUE"
INSTALL



INSTALL
  


While run the installation it always excutes the False Condition. Is any
Idea 
-- 
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Based-on-C
heckBox-value-have-to-show-the-WIX-Dialog-tp5035041p5035041.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------
------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to