TomTom
TomTom

Reputation: 62093

Check for .NET 4.5 full install - which property?

How do I check for a full .net 4.5 install?

http://wix.sourceforge.net/manual-wix3/wixnetfxextension.htm

has a list of all properties but stops at 4.0.

The open issues list has a nice Topic "add documentation for the new properties" which helne to USE them.

Anyone knows the property Name for a full 4.5 install?

Upvotes: 18

Views: 5841

Answers (1)

TomTom
TomTom

Reputation: 62093

Answering myself - as documentation was updated also:

NETFRAMEWORK45

More concrete:

<PropertyRef Id="NETFRAMEWORK45"/>

<Condition Message="This application requires .NET Framework 4.5. Please install the .NET Framework then run this installer again.">
    <![CDATA[Installed OR NETFRAMEWORK45]]>
</Condition>

Upvotes: 24

Related Questions