Probably the easies thing to do is to use an immediate Custom Action that gets 
called before LaunchConditions to set a property indicating if the version is 
retrieved from the registry is high enough.  

You can use good old C/C++ or WIX DTF Custom Actions written in .NET.  
Typically I use C++ for the small stuff because they will launch and run 
faster.  I save DTF for the big stuff like database intensive work.

Regards,
greenaj

---- Dan Giambalvo <[email protected]> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to