|
-
August 16th, 2007, 04:12 AM
#1
Check .NET 2.0 installed
How can I check if .NET 2.0 is installed on a computer? Would checking if %SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727 exists be sufficient?
Before post, make an effort yourself, try googling or search here.
When posting, give a proper description of your problem, include code* and error messages.
*All code should include code tags
-
August 16th, 2007, 04:33 AM
#2
Re: Check .NET 2.0 installed
This is just one way of checking. But a proper way would be to look in the registry [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy]. This key will give you details of each framework.
The million dollar question would be, how are you planning to check which version is installed. What language are you going to use.
A C++ 6.0 implementation is present in this article
http://www.codeproject.com/cpp/DotNetTester.asp
-
August 17th, 2007, 01:16 AM
#3
Re: Check .NET 2.0 installed
Thanks for the reply.
Considered just using a simple script to check the version;
Code:
if not exist %SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727 dotnetfx.exe
However if I need to read from the registry I might need to re-think my plan.
Before post, make an effort yourself, try googling or search here.
When posting, give a proper description of your problem, include code* and error messages.
*All code should include code tags
-
November 13th, 2007, 11:12 AM
#4
Re: Check .NET 2.0 installed
I am using NSIS to create my installation file, and it has way to find what .Net version is installed, if any.
-
November 25th, 2007, 02:15 AM
#5
Check .NET 2.0 installed
Better to check from registry and also most cases from pc performance you also can judge as it is known to slower speed.....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|