Preprocessor commands/expressions are evaluated while the source xml is parsed, using compile-time variables. Link/bind-time variables are not known at that time and can't be evaluated by the preprocessor. The <?if?> processing statement is not preserved for the linker, and thus cannot be used to select authoring in the way you are attempting.
-----Original Message----- From: sagar shinde [mailto:sagar.i...@gmail.com] Sent: Wednesday, October 20, 2010 11:05 PM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] if condition Hi, i am new wix user and m getting one error while using this if conditon statement <?if !(loc.LANG)=1033?> is it a wright syntax m getting error like Error 1 The parenthesis don't match in the expression '!(loc.LANG) = 1033'. ---------------------------------------------------------------------------- -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users