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.
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.
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"..
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With