WiX checking for .NET Framework 4 [closed]
-
29-05-2021 - |
Domanda
I am trying to implement a check to see if the .NET framework is installed when running the installer.
I added the following:
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
<PropertyRef Id="NETFRAMEWORK40FULL"/>
<Condition Message="This application requires .NET Framework 4.0. Please install the .NET Framework then run this installer again. Contact support at support@Swiftposter.com if you have further issues.">
<![CDATA[Installed OR NETFRAMEWORK40FUL]]>
</Condition>
However, It always seems to result in false because it keeps stopping me even thou I have the full .NET framework installed (not just the client).
What does this happen?
Soluzione
NETFRAMEWORK40FUL needs to have double L in FULL :)
Altri suggerimenti
Here is a list of .net versions :-)
http://wix.sourceforge.net/manual-wix3/wixnetfxextension.htm
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow