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 / .NET SDK / November 2006

Tip: Looking for answers? Try searching our database.

How do I tell if .NET 2.0 is installed

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Thielen - 17 Nov 2006 01:01 GMT
Hi;

1) From our setup program (in C++) how can I tell if .NET is installed?
2) Is there a url we can then redirect them to which will show the .NET
selection to download & install? We have trouble with using the Windows
Update page because the .NET install is an optional install and therefore is
not displayed. You would be surprised at the number of our customers that
when we explain this discover all these optional updates that they have no
idea even existed.
3) How can we tell if the .NET language pack for the user's language is
installed -
http://www.microsoft.com/downloads/details.aspx?familyid=39C8B63B-F64B-4B68-A774
-B64ED0C32AE7&displaylang=en

4) And again, is there a url we can use that takes them to the download for
their language?

Signature

thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm

WenJun Zhang[msft] - 17 Nov 2006 10:45 GMT
Hi Dave,

Thanks for the posting.

1) You should query registry keys or .net 2.0 files/directories. For
example, the version 2.0 key under:

HKEY_CLASSES_ROOT\CLSID\{7D23CCC6-A390-406E-AB67-2F8B7558F6F6}\InprocServer3
2

2) If your installation application is aware that the client machine
doesn't have .net 2.0 installed, the installation should prompt to install
the redistributable package. You may include the file in your installation
package instead of using an URL.

Microsoft .NET Framework Version 2.0 Redistributable Package (x86)
http://www.microsoft.com/downloads/details.aspx?familyid=0856EACB-4362-4B0D-
8EDD-AAB15C5E04F5&displaylang=en

3) The same as #1. Querying registry to verify if language pack is
installed should be a common way of this.

4) Same as #2. Why not include the file in your installation CD? As an
example, many computer games will prompt to install DirectX if they detect
required DX version isn't installed.

Have a good weekend.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
David Thielen - 17 Nov 2006 14:31 GMT
Hi;

We don't ship a CD - we distribute over the web. So we prefer a url so they
don't have to download a gigantic file that most won't need. That url you
listed looks good for that.

What do we check in the registry for the language support being installed?

Signature

thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm

> Hi Dave,
>
[quoted text clipped - 52 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
WenJun Zhang[msft] - 20 Nov 2006 10:43 GMT
Hi Dave,

You can check the keys like:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Micro
soft .NET Framework 2.0 Language Pack - [lang]

or query the values under:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folde
rs

to verify if the Language Pack is installed.

Thanks.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
David Thielen - 20 Nov 2006 16:23 GMT
Hi;

This is great. One last question. For Spanish it is - ESN and I would have
assumed it was - ES for Spanish. Is there a listing anywhere of what to look
for for each language or do I need to have someone here install them all so
we can look in the registry?

Signature

thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm

> Hi Dave,
>
[quoted text clipped - 40 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
WenJun Zhang[msft] - 21 Nov 2006 09:36 GMT
Hi Dave,

I think it follows the Language Codes in the following page. You may
install serveral different language versions to verify this.

http://technet2.microsoft.com/WindowsServer/en/library/d3557cbf-8d1b-431f-8b
50-0a4d7c9d95081033.mspx?mfr=true

Let me know if you have further question.

Thanks.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
David Thielen - 21 Nov 2006 14:10 GMT
Nope - not it. That page shows SPA for Spanish while the registry entry shows
ESN. I guess we have to install them all to find out. MS really should
document this.

Signature

thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm

> Hi Dave,
>
[quoted text clipped - 36 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
James Crosswell - 21 Nov 2006 17:21 GMT
> Nope - not it. That page shows SPA for Spanish while the registry entry shows
> ESN. I guess we have to install them all to find out. MS really should
> document this.

ESN is the ISO 639 standard... the first 2 letters will usually give you
the language and the third letter will give you the variant... so ENU is
the US version of English (EN for English and U for USA). There is
usually an umbrella (generic) language as well - so FR can be used for
French whereas if you want the specific dialect for France you'd use FRA.

Do a hunt on google of ISO 639 if you want a full list.

Best Regards,

James Crosswell
Microforge.net LLC
http://www.microforge.net
James Crosswell - 21 Nov 2006 17:27 GMT
>> Nope - not it. That page shows SPA for Spanish while the registry
>> entry shows ESN. I guess we have to install them all to find out. MS
[quoted text clipped - 7 lines]
>
> Do a hunt on google of ISO 639 if you want a full list.

Hm, looks like I might be completely wrong about that. Here's the list
of 639 codes:
  http://www.loc.gov/standards/iso639-2/php/code_list.php

ESN doesn't feature in there at all. They have ES and SPA for Spanish.
Although this hardly looks like a complete list of all the dialects of
spanish, so perhaps Microsoft area basing their language codes on a
different ISO standard.

You'll probably find this info documented in the visual studio help
files - have you looked/searched the help files for info on localization?

Best Regards,

James Crosswell
Microforge.net LLC
http://www.microforge.net
James Crosswell - 21 Nov 2006 17:30 GMT
> Nope - not it. That page shows SPA for Spanish while the registry entry shows
> ESN. I guess we have to install them all to find out. MS really should
> document this.

OK, maybe this one is more useful:
  http://tinyurl.com/yyg9a3

See the table at the end of the document. Looks like it comes from MFC.

Best Regards,

James Crosswell
Microforge.net LLC
http://www.microforge.net
David Thielen - 21 Nov 2006 17:49 GMT
thank you. I think we still have to install each and check because I would
have assumed Mexico for the spanish default (largest population). Better safe
than sorry.

Once we get all of them I'll post so others don't have to do this. (It
annoys me that MS doesn't document stuff like this.)

Signature

thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm

> > Nope - not it. That page shows SPA for Spanish while the registry entry shows
> > ESN. I guess we have to install them all to find out. MS really should
[quoted text clipped - 10 lines]
> Microforge.net LLC
> http://www.microforge.net
Phil Wilson - 21 Nov 2006 19:45 GMT
This is the official way, follow the links for sample C++.

http://blogs.msdn.com/astebner/archive/2005/09/01/459708.aspx

Signature

Phil Wilson
[Microsoft MVP Windows Installer]

> Hi;
>
[quoted text clipped - 12 lines]
> for
> their language?
David Thielen - 21 Nov 2006 20:23 GMT
Hi;

The link on your page http://astebner.sts.winisp.net/Tools/detectFX.cpp.txt 
doesn't work. Is that a temporary glitch?

Also, any chance you know how to test for which language packs are installed?

Signature

thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm

> This is the official way, follow the links for sample C++.
>
[quoted text clipped - 16 lines]
> > for
> > their language?
Phil Wilson - 27 Nov 2006 21:24 GMT
Well it's not my page, but it does seem to be working now.
Signature

Phil Wilson
[Microsoft MVP Windows Installer]

> Hi;
>
[quoted text clipped - 28 lines]
>> > for
>> > their language?

Rate this thread:







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.