[wix-users] Correct way to use WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED

Arvind Shyamsundar arvindsh at microsoft.com
Tue Jun 28 16:00:38 PDT 2016


Hi folks
I have an installer which needs to check for .NET Framework 4.6.1 (not just 4.6). so I tried the following:

    <PropertyRef Id="WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED"/>
    <Condition Message="[ProductName] requires .NET Framework 4.6.1">Installed OR WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED</Condition>

But this causes the build to fail. Referencing WIX_IS_NETFRAMEWORK_46_OR_LATER_INSTALLED works.

I am using the Wix toolset version 3.10.3.3007 dated June 07, 2016. Has the recent change<https://github.com/wixtoolset/wix3/pull/324> to support this incorporated in the above build of WiX?

Thanks!

Arvind.


More information about the wix-users mailing list