Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2007

Tip: Looking for answers? Try searching our database.

.Net 3.0 Installation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sonny - 02 Jul 2007 14:10 GMT
Is there a way to programmatically tell if a machine meets the requirements
to install .Net 3?  

thx...sonny
Alex Meleta - 03 Jul 2007 11:25 GMT
Hi sonny,

The requirements of the .NET Framework 3.0 are supported operating systems:
Longhorn; Server 2003 SP1; Vista and XP SP 2(http://www.microsoft.com/downloads/details.aspx?FamilyId=10CC340B-F857-4A14-83F5
-25634C3BF043&displaylang=en
).

What you need to do is to use e.g. Environment.OSVersion to determine current
system reqs.
http://www.codeproject.com/csharp/OSVersion.asp

Kind Regards, Alex Meleta
[TechBlog] http://devkids.blogspot.com

s> requirements to install .Net 3
s>
sonny - 03 Jul 2007 13:40 GMT
Thx Alex,

I've looked into the Environment object.  What seems to be missing is the
Service pack version.  I can get the Major/Minor Os Version from the
registry, so determining Vista is pretty straight forward.  What I haven't
figured out is how to determine what Service Pack is installed on XP without
doing some hokey parse.  (ex:  parsing the number from the CSDVersion
registry key and checking to see if its >= 2)

...sonny

> Hi sonny,
>
[quoted text clipped - 10 lines]
> s> requirements to install .Net 3
> s>
Alex Meleta - 03 Jul 2007 14:01 GMT
Hi sonny,

>I haven't figured out is how to determine what Service Pack is

Either Environment.OSVersion.ServicePack or [kernel32.dll].GetVersionEx()
http://www.codeproject.com/csharp/osversion_producttype.asp

Kind Regards, Alex Meleta
[TechBlog] http://devkids.blogspot.com

s> Thx Alex,
s>
s> I've looked into the Environment object.  What seems to be missing is
s> the Service pack version.  I can get the Major/Minor Os Version from
s> the registry, so determining Vista is pretty straight forward.  What
s> I haven't figured out is how to determine what Service Pack is
s> installed on XP without doing some hokey parse.  (ex:  parsing the
s> number from the CSDVersion registry key and checking to see if its >=
s> 2)
s>
s> ...sonny
s> "Alex Meleta" wrote:
>> Hi sonny,
>>
[quoted text clipped - 11 lines]
>> s> requirements to install .Net 3
>> s
sonny - 03 Jul 2007 14:24 GMT
Thx again Alex.

I glanced over the OSVERSIONINFOEX too quickly.  I see the info now.  

...sonny

> Hi sonny,
>
[quoted text clipped - 33 lines]
> >> s> requirements to install .Net 3
> >> s>

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.