http://blogs.msdn.com/junfeng/archive/2004/02/05/67815.aspx
이 링크를 보면 .NET 프레임웤이 설치되었는지를 확인해볼 있는 레지스트리 키에 대해 나와 있다.
How to detect .NET Framework installed or not
If you search google how to detect .Net Framework, this(http://support.microsoft.com/default.aspx?scid=kb;%5BLN%5D;315291) page ranks very high.
Ignore all the details in the KB articles. It basically asks you to check this reg keys & value properties.
For the .NET Framework 1.0:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v1.0
Value property : "3705"
For the .NET Framework 1.1:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v1.1
Value property : "4322"
For the .NET Framework 2.0:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v2.0
Value property : "50727
But wait, there is another not-so-well known documented way to detech existence of .Net framework v1.1. And it is not even in the first 10 pages of google hits.
Redistributing the .Net framework 1.1
It tells you how to detect .Net framework 1.1. And more! It also tells you how to detect the language pack, and J# package!
Should I say this is a failure of google, or Microsoft?:)
'IT 살이 > 04. 기술 - 프로그래밍' 카테고리의 다른 글
Orcas를 이용해서 오프라인 스마트클라이언트 App 작성하기 (0) | 2009.04.23 |
---|---|
CLR 버전 선택하기, 어셈블리 바인딩 리다이렉트시키기 (0) | 2009.04.23 |
IIS 7 관리 닷넷 Microsoft.Web.Administration 클래스(펌) (0) | 2009.04.23 |