Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WiX checking for .NET Framework 4 [closed]

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 [email protected] 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?

like image 802
TheGateKeeper Avatar asked Apr 04 '12 12:04

TheGateKeeper


1 Answers

NETFRAMEWORK40FUL needs to have double L in FULL :)

like image 158
DanNsk Avatar answered Oct 08 '22 01:10

DanNsk