cancel
Showing results for 
Search instead for 
Did you mean: 

How to determine what .NET Framework version is installed on a user's system using Installshield

How to determine what .NET Framework version is installed on a user's system using Installshield

Summary

?This article illustrates one approach in determining what Microsoft .NET Framework version is installed on a user?s system.

Synopsis

This article illustrates one approach in determining what Microsoft .NET Framework version is installed on a user?s system using Installshield. Also, it describes how to determine whether service packs are installed for your .Net Framework installation.

Discussion

The most accurate way to find whether a certain version of .NET framework is installed on the target system is to view or query the registry for values under a specific key path. Microsoft places all .NET related keys under the following subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP

All of the .NET versions that are installed are listed under this NDP subkey and the exact version number is listed as in the value name Version.

NOTE: For .NET 4, the Version value name is under the Full or Client subkey under NDP.

NOTE: For .NET 4.5, the path is under the \v4\Full under subkey NDP. There is a value name Release that indicate the exact version of .NET 4.5 or newer that is installed.

Value of the Release DWORD

Version

378389

.NET Framework 4.5

378675

.NET Framework 4.5.1 installed with Windows 8.1 or Windows Server 2012 R2

378758

.NET Framework 4.5.1 installed on Windows 8, Windows 7 SP1, or Windows Vista SP2

379893

.NET Framework 4.5.2

On Windows 10 systems: 393295

On all other OS versions: 393297

.NET Framework 4.6

On Windows 10 November Update Systems: 394254

On all other OS versions: 394271
.NET Framework 4.6.1
On Windows 10 Anniversary Update: 394802

On all other OS versions: 394806
.NET Framework 4.6.2
On Windows 10 Creators Update: 460798

On all other OS versions: 460805
.NET Framework 4.7
On Windows 10 Fall Creators Update: 461308

On all other OS versions: 461310
.NET Framework 4.7.1
On Windows 10 April 2018 Update: 461808

On all other OS versions: 461814
.NET Framework 4.7.2

Additional Information

For more information in regards to this, please refer to the following Microsoft article:
How to: Determine Which .NET Framework Versions Are Installed
Labels (1)