Just use the ~ operator to do a case insensitive comparison. CREATETABLE~="yes"
Btw, they called public properties not global properties. ---------------------------------------- From: "George Fleming" <gef...@microsoft.com> Sent: Wednesday, March 06, 2013 1:33 PM To: "wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net> Subject: [WiX-users] How do i convert a global property string value to uppercase (or lowercase)? I have a global property that's modifiable by the user via command line parameter. How do I convert it to uppercase before using it in a Condition statement? For example, if global is "CREATETABLE", I could do something like this: <Condition><![CDATA[(CREATETABLE="YES") OR (CREATETABLE="yes") OR (CREATETABLE="Yes")]]></Condition> It would be nice if I could convert it to uppercase, and just have one condition, CREATETABLE="YES". ---------------------------------------------------------------------------- -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users