Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check for .NET 4.5 full install - which property?

Tags:

wix

wix3.6

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?

like image 336
TomTom Avatar asked Dec 17 '12 17:12

TomTom


People also ask

How do you check if .NET 4.5 is installed?

The version of . NET Framework (4.5 and later) installed on a machine is listed in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full. If the Full subkey is missing, then . NET Framework 4.5 or above isn't installed.

How can I tell if I have .NET Framework 4 installed?

Open Start. Search for Command Prompt, right-click the top result, and select the Run as administrator option. Type the following command to determine the version of . NET installed and press Enter: reg query "HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP" /s To make sure that version 4.

How install .NET framework 4.5 or higher?

Type Start PowerShell in the Command Prompt window to start Windows PowerShell. 2. Type Install-WindowsFeature . NET-Framework-45-Features and press Enter to install the NET Framework 4.5 Features feature.

How do I tell what version of .NET is installed?

Navigate to the Control Panel (Click here for instructions on how to access the Control Panel on Windows 10, 8, and 7 machines) Select Programs and Features (or Programs) In the list of installed applications, locate "Microsoft . NET Framework" and verify the version in the Version column to the right.


1 Answers

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>
like image 79
TomTom Avatar answered Sep 24 '22 15:09

TomTom