In Burn, when comparing versions:
IEVersion >= v5
or
IEVersion >= v5.0.0.0 AND IEVersion < v6.0.0.0
etc.
Constants that look like version strings that have a v prefixed are treated as
a "version" type.
That type (for conditions) is NOT available in MSIs.
> From: steven.ogil...@titus.com
> To: wix-users@lists.sourceforge.net
> Date: Fri, 9 Aug 2013 17:21:15 +0000
> Subject: Re: [WiX-users] Validate browser
>
> I am getting the version of IIS and see what it is in burn this is what I
> have:
>
> <!-- Check for IIS 7.0 and above -->
> <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\InetStp"
> Result="value" Value="MajorVersion" Variable="IISVersion" />
> <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\InetStp"
> Result="value" Value="MajorVersion" Variable="IISx64Version" Win64="yes" />
>
> <!-- Check for IIS 7.5 and above -->
> <bal:Condition Message="$(var.ProductName) requires Microsoft Internet
> Information Services (IIS) 7.5 or above installed.">
> <![CDATA[(NOT((IISVersion < 7) AND (NOT VersionNT64 OR (IISx64Version <
> 7)))]]>
> </bal:Condition>
>
> Log results:
>
> [1394:1F58][2013-08-09T13:17:00]i000: Setting string variable 'IISVersion' to
> value '7'
> [1394:1F58][2013-08-09T13:17:00]i000: Setting string variable 'IISx64Version'
> to value '7'
>
> [1394:1F58][2013-08-09T13:17:00]i052: Condition '(NOT((IISVersion < 7) AND
> (NOT VersionNT64 OR (IISx64Version < 7))) )' evaluates to true.
> You can use the same similar logic
>
>
> -----Original Message-----
> From: Christopher M. Bunn [mailto:cmb...@torchmarkcorp.com]
> Sent: August-09-13 12:06 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Validate browser
>
> Great - Thanks Steven! - found it - That is helpful! The expression is
> false, I'm guessing because it's comparing a string with a number. Is there
> any way to get the version as a integer/number?
>
> [03E0:05EC][2013-08-09T10:53:26]i000: Setting string variable 'IEVersion' to
> value '6.0.2900.5512'
>
> 03E0:05EC][2013-08-09T10:53:26]i052: Condition 'IEVersion >= 5' evaluates to
> false.
>
>
> -----Original Message-----
> From: Steven Ogilvie [mailto:steven.ogil...@titus.com]
> Sent: Friday, August 09, 2013 10:49 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Validate browser
>
> Check your %temp%
> i.e. C:\Users\<your login user>\AppData\Local\Temp name would be:
> MY_INSTALLER_20130809114750.log
>
> Steve
>
> -----Original Message-----
> From: Christopher M. Bunn [mailto:cmb...@torchmarkcorp.com]
> Sent: August-09-13 11:41 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Validate browser
>
> Where is the burn runtime log file? I'm not seeing a log file anywhere
>
> -----Original Message-----
> From: Steven Ogilvie [mailto:steven.ogil...@titus.com]
> Sent: Friday, August 09, 2013 9:24 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Validate browser
>
> What does the burn runtime log file have ?
>
> -----Original Message-----
> From: Christopher M. Bunn [mailto:cmb...@torchmarkcorp.com]
> Sent: August-09-13 10:18 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Validate browser
>
> Does anyone see anything wrong with the following code? I'm trying to check
> the version of the browser in BURN ( bootstrapper app) and see if it is
> greater than or equal to 8. Otherwise stop the install and display message.
> It evaluates to false every time even if I change it to an expression that
> should work.
>
>
>
> <util:RegistrySearch
>
> Root="HKLM"
>
> Key="SOFTWARE\Microsoft\Internet Explorer"
>
> Value="Version"
>
> Variable="IEVersion"
>
> />
>
>
>
> <bal:Condition Message="Internet Explorer version 8 or higher must be
> installed">IEVersion >= 8</bal:Condition>
>
>
>
> Thanks,
>
> Chris Bunn
>
>
>
>
>
> -----------------------------------------------------------------------------
> -
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> -----------------------------------------------------------------------------
> -
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> -----------------------------------------------------------------------------
> -
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> -----------------------------------------------------------------------------
> -
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users