[wix-users] DotNet 5x detection

Mike Henseler m.henseler at simfront.com
Fri Feb 11 09:32:00 PST 2022

Or maybe this key, but still have to parse version

If 5x has been added to WiX, please update this page, thnks

-----Original Message-----
From: Mike Henseler 
Sent: February 11, 2022 12:05 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: RE: DotNet 5x detection

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 http://www.firegiant.com/

***** This email was sent outside of your organization *****

More information about the wix-users mailing list