Question

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?

Was it helpful?

Solution

NETFRAMEWORK40FUL needs to have double L in FULL :)

OTHER TIPS

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top