Hi Venkatesh, The use of Condition element is different. You can use it in:
a) inside Component element (that is probably what you want) <Component Id="component0" Guid=""> <Condition><![CDATA[Unicode = "Yes"]]></Condition> ... </Component> the component will be installed if the condition is evaluated to true b) inside the Feature element: <Feature Id="F_FeatureA" Level="1"> <Condition Level="0" ><![CDATA[Unicode = "Yes"]]></Condition> </Feature> the Feature Level will be changed to 0 if the condition is evaluated to true The Condition element can be used in other ways also. You can find complete usage in the WIX Help file. Regards Stefan Venkatesh wrote: > I ahve a radio button where user selects a version of productUnicode Or > ASCI) depending upon I need to install a different binary. I am using > condition statement under feature. Looks like it is not working for me. > I donot know what I am doing wrong here. Please help me. > > Code as follows: > > <Feature Id='Complete' Title='Teams 1.0' Description='The TEAMS complete > package.' > Display='expand' Level='1' ConfigurableDirectory='TARGETDIR'> > <Feature Id='MainProgram' Title='Program' Description='The main > executable.' Level='1'> > <Condition><![CDATA[Unicode = "Yes"]]></Condition> > <ComponentRef Id='component0' /> > <Condition><![CDATA[Unicode = "No"]]></Condition> > <ComponentRef Id='component1' /> > <ComponentRef Id='component2' /> > > </Feature> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 -- Stefan Pavlik | [EMAIL PROTECTED] Whitestein Technologies s.r.o. | www.whitestein.com Panenska 28 | 811 03 Bratislava | Slovak Republic Main +421 2 5443-5502 | Direct +421 2 5930-0735 ------------------------------------------------------------------------- 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