How to check if .net framework is installed and what version

  • Thread starter Thread starter Prad T
  • Start date Start date
P

Prad T

Hi,
I need to make a deployment app which will start up when
the CD is inserted. The app needs to check what version
of .net framework has been installed, and if it is
installed before goind any further. I am looking to make
this app using vb6. Can someone tell me how I can check if
the .net framework is installed ?
ta
prad
 
Hi,
I need to make a deployment app which will start up when
the CD is inserted. The app needs to check what version
of .net framework has been installed, and if it is
installed before goind any further. I am looking to make
this app using vb6. Can someone tell me how I can check if
the .net framework is installed ?

Check the key HKLM\Software\Microsoft\.NETFramework\Policy
Subkeys vX.X contains information abount installed versions of .NET
 
Two ways:
1. check the Windows Registry for
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\InstallRoot
2. check for a local directory like
%windir%\Microsoft.NET\Framework\<version>
where <version> is
v1.1.4322 - for .NET Framework v1.1
v1.0.3705 - for .NET Framework v1.0
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top