Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check .NET Framework 4.5 is installed or not Using Installshield 2010

Tags:

I'm using InstallShield 2010. I want to check whether .NET framework 4.5 is installed or not on the machine.

I can check .NET framework 4.0 is installed or not from registry, but I'm unable to find any registry key for .NET framework 4.5.

like image 607
Harish Reddy Avatar asked Oct 09 '13 06:10

Harish Reddy


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 do I find out when .NET framework is installed?

If you go to Programs and Features, there will be a "View Installed Updates" on the upper left... It lists the date installed... You can also go to Settings... Windows Update and select "View Installed Update History"..

Does .NET Framework 4.5 work on Windows 10?

NET 4.5. 1 cannot be installed on Windows 10, only 4.6 and later. So if your application is incompatible with . NET 4.6 and later you will need to update your application.

Which version of .NET framework do I have?

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.


1 Answers

According to the MSDN article here: http://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx

To find the installed .NET Framework versions manually (versions 4.5 and later)

  • On the Start menu, choose Run.
  • In the Open box, enter regedit.exe. (You must have administrative credentials to run regedit.exe.)
  • In the Registry Editor, open the following subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full Check for a DWORD value named Release. The existence of the Release DWORD indicates that the .NET Framework 4.5 or newer has been installed on that computer.

In other words under InstallShield, check for the existence of the Release DWORD at the registry location HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full

like image 164
DDA Avatar answered Sep 27 '22 20:09

DDA