.Net 3.0 Installation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to programmatically tell if a machine meets the requirements
to install .Net 3?

thx...sonny
 
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,
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 said:
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-F
857-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
 
Thx again Alex.

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

....sonny

Alex Meleta said:
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 said:
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-F
857-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>
 
Back
Top