Hi All, I am comparing two versions strings in wix. like in below code where INSTALLED_PRODUCTVERSION = previous installed version and CURRENTVERSION = current version of the product.
<Condition Message="Error msg"><![CDATA[INSTALLED_PRODUCTVERSION<CURRENTVERSION]]> OR <![CDATA[INSTALLED_PRODUCTVERSION=CURRENTVERSION]]></Condition> But it works fine from 5.0.0 to 5.0.9 but when if INSTALLED_PRODUCTVERSION = 5.0.9 and CURRENTVERSION = 5.0.10 then it says 5.0.9 is greater than 5.0.10 I want to compare version same like number not like string. Can anyone help me out here? Thanks, Hukum ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users