Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check versions of .net framework installed progamatically 1

Status
Not open for further replies.

dseaver

IS-IT--Management
Jul 13, 2006
467
0
0
I need to find a way to determined if 1.0, 1.1 and 2.0 .net frameworks are installed on a computer, is there an easy way to do this? Thanks.
 
The Registry Key for the .NET Framework 1.0:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v1.0
The Registry Key for the .NET Framework 1.1:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v1.1
The Registry Key for the .NET Framework 2.0:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v2.0
 
Code:
dir %windir%\microsoft.net\framework\v* /ad
Not sure if this helps. :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top