I think you can use
    >= "8.0"
directly.

IMHO, WiX will compare them as strings.


Dan Giambalvo wrote:
> 
> I'm trying to add a Condition to my WiX based installer to make sure that
> IE8 is installed on the machine.  I used a RegistrySearch to find the
> appropriate reg key with the currently installed version of IE. 
> Unfortunately, it is in a 4-part form such as 8.0.6001.18372.  I want to
> just grab the first part, and make sure it's >= 8.  I can't seem to find
> any information on how I might parse or break-up the string so that I can
> do a simple compare.
> 
> Are there any good ideas for how to achieve this?  I'm hoping to avoid
> having to write a custom action just to get the IE version.
> 
> Thanks!
> -Dan
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Parsing-a-version-string-in-WiX-tp2361929p2508943.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to