[wix-users] DotNot 5x detection
r.sean.hall at gmail.com
Fri Feb 11 09:06:55 PST 2022
.NET Framework 5.0 does not exist. .NET 5 should have been named .NET Core
5. It was extremely confusing for Microsoft to decide on that naming.
Detecting it is tracked in https://github.com/wixtoolset/issues/issues/6257.
You might find this useful:
On Fri, Feb 11, 2022 at 11:03 AM Mike Henseler via wix-users <
wix-users at lists.wixtoolset.org> wrote:
> Currently WIX does not have a check for NETFRAMEWORK50 or does it?
> Looking at the wix source code, it appears you do not actually parse the
> version number pulled from registry, you only use the existence of the key
> as detection. Correct me if I am wrong.
> <Property Id="NETFRAMEWORK45" Secure="yes">
> <RegistrySearch Id="NetFramework45" Root="HKLM"
> Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" Name="Release"
> Type="raw" />
> Currently I have written a CA to get version from this key but have to
> parse the version info and cannot use only the existence of this key as a
> positive detection.
> Is there a better cleaner way to detect DotNet 5?
> What is the plan for future WIX detection of .net 5x?
> WiX Toolset Users Mailing List provided by FireGiant
More information about the wix-users