The correct syntax is:
        DetectCondition="Netfx4FullVersion >= v4.0"

How are you setting Netfx4FullVersion?

Neil

-----Original Message-----
From: Doug Witt [mailto:doug.w...@woodward.com] 
Sent: 17 July 2013 05:22
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Installing .NET Hotfix

Hi Neil,

Thanks for the email.  Unfortunitally this still evaluates to false when the 
hotfix is installed.  I tried to check to see if just .NET 4.0 was installed 
like this: 
        DetectCondition="Netfx4FullVersion>=v4.0"

But it still evaluated to false.  I am not sure if this statement is even valid 
in WIX.

Doug


-----Original Message-----
From: Neil Sleightholm [mailto:n...@x2systems.com]
Sent: Tuesday, July 16, 2013 2:35 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing .NET Hotfix

Try this:
        DetectCondition="Netfx4FullVersion>=v4.0.30319.500"

Neil

-----Original Message-----
From: Doug Witt [mailto:doug.w...@woodward.com]
Sent: 16 July 2013 05:03
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] Installing .NET Hotfix

I am installing a .NET hotfix in a bootstrapper.  I want to be able to 
determine if the hotfix has already been installed.  I have tried to use the 
DetectCondition attribute of the ExePackage to check the Netfx4FullVersion but 
it always evaluates to false.  I think my syntax may  be wrong.  Here is what I 
have:


<ExePackage Id="NetHotfixKB2592573x64"
            PerMachine="yes"
            Permanent="yes"
            Vital="yes"
            SourceFile="$(var.HotfixesPath)NDP40-KB2592573-x64.exe"
            DetectCondition="Netfx4FullVersion>=&quot;4.0.30319.500&quot;"
            InstallCondition="VersionNT64"
            InstallCommand="/q /norestart">
  <ExitCode Value="0" Behavior="success"/>
  <ExitCode Value="3010" Behavior="success"/> </ExePackage>

Does anyone have any ideas on how to do this?

Thanks,
Doug



***
The information in this email is confidential and intended solely for the 
individual or entity to whom it is addressed. If you have received this email 
in error please notify the sender by return e-mail, delete this email, and 
refrain from any disclosure or action based on the information.
***
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics Get end-to-end 
visibility with application monitoring from AppDynamics Isolate bottlenecks and 
diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




***
The information in this email is confidential and intended solely for the 
individual or entity to whom it is addressed. If you have received this email 
in error please notify the sender by return e-mail, delete this email, and 
refrain from any disclosure or action based on the information.
***

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics Get end-to-end 
visibility with application monitoring from AppDynamics Isolate bottlenecks and 
diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to