[wix-users] .NET 4.6 detection from Wix 3.10

Julian.Subda at non.schneider-electric.com Julian.Subda at non.schneider-electric.com
Mon Aug 31 18:16:09 PDT 2015


Hi,

Does anyone have .NET 4.6 detection from Wix 3.10 working?  I currently 
can only get NETFRAMEWORK45 working. 

NETFRAMEWORK46 gives me an unresolved reference.  I'm aware of Wix 4 but 
am specifically asking about Wix 3.10.


MyInstall.wxi

<!--works-->
<PropertyRef Id="NETFRAMEWORK45"/>
<Condition Message="The required Microsoft .NET Framework 4.5 components 
are missing on this computer. Please run .NET Framework 4.5 (Web 
Installer) from Microsoft Download Center and then run this installer 
again.">
  <![CDATA[Installed OR NETFRAMEWORK45]]>
</Condition>

<!--changing to the following doesn't work-->
<PropertyRef Id="NETFRAMEWORK46"/>
<Condition Message="The required Microsoft .NET Framework 4.6 components 
are missing on this computer. Please run .NET Framework 4.6 (Web 
Installer) from Microsoft Download Center and then run this installer 
again.">
  <![CDATA[Installed OR NETFRAMEWORK46]]>
</Condition>

Thanks!
J.


More information about the wix-users mailing list