Developer technologies | ASP.NET | ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Here I have created that condition.
<bal:Condition
Message="This setup requires Microsoft .NET 6.0 or above.">
<![CDATA[NET6VERSION >= 6.0.0]]>
</bal:Condition>
then I have declared the variable in the wix.
<Variable Name="NET6VERSION" bal:Overridable="yes" Type="numeric" Value="0" />
then the registry search for the .net 6 .
<util:RegistrySearch
Id="DotNet6RegistrySearch"
Root="HKLM"
Key="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\dotnet\Setup\InstalledVersions\x64\sharedfx\Microsoft.WindowsDesktop.App"
Value="Version"
Variable="NET6VERSION"
Result="value" />
so I want to give a check that if the client machine installed .net is greater the .net v6.0.0 then the setup should allow to insatll. ,but the variable doesn't carry the .net version of client machine
please help me to find the solution.