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

------------------------------------------------------------------------------
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