Archive: To check whether .Net 2005 is registered.


To check whether .Net 2005 is registered.
Hello!
I am using UMUI interface. I want to check whether .Net 2005 is Registered or not.Can any one help How to do this?


Are you talking about Visual Studio 2005 or the .net runtime (v2 or 3)?


Yes I am talking about framework 2.0


You could probably check for a value in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevStudio\
or
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0 (or whatever the version number is)

My VS6 install has a VsCommonDir string in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup, you could probably look for something like that

See also: Detecting Visual Studio 2005 Service Pack 1


Thanks!!!!!!!!!!!!!!!!!!!!!!


Make up your mind man ;)

http://nsis.sourceforge.net/Get_.NET_Version