.NET Framework 2.0 Japanese language pack is now available

The .NET Framework 2.0 Japanese language pack is now available for download.  This page has more information about the language pack (the text is in Japanese) and you can download the language pack setup package from this location.

I would also like to provide some helpful information about the setup package for the .NET Framework 2.0 Japanese language pack if you will be installing it as a part of your setup package:

Silent install command line parameters

The command line to silently install the .NET Framework 2.0 langauge packs is slightly different than it was in the .NET Framework 1.1.  Here is the command line syntax you should use to silently install the 2.0 language packs:

langpack.exe /q:a /c:"install.exe /q"

Note that the same command line parameters that I documented for the .NET Framework 2.0 apply here, because the same setup wrapper is used for the language packs as for the core redistributable package.

This command line will be the same for all additional .NET Framework 2.0 language packs when they are released.

Detecting whether or not the language pack is installed

You should use the following registry key/value to determine whether or not the .NET Framework 2.0 Japanese language pack is installed:

  • Registry root: HKEY_LOCAL_MACHINE

  • Key name: Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1041

  • Value name: Install

  • Value data type: REG_DWORD

  • Value data: 1

You can also use the same set of return codes that I documented for the .NET Framework 2.0 to determine success or failure of language pack installation, because the same setup wrapper is used for the language packs as for the core redistributable package.

When the remaining .NET Framework 2.0 language packs are released, the detection method will be the same except the key name listed above will be the 4-digit language code corresponding to the language in question instead of 1041 (which is the language code for Japanese).

Should I install the Japanese language pack with my Japanese .NET Framework application?

The general answer to this is "yes."  The .NET Framework 2.0 is separated into a core and multiple language packs, and the common-language runtime (CLR) is MUI-aware.  That means that the CLR will use the OS language preferences to determine what strings to load when running managed applications.  If the language pack for the preferred language is not installed on the system, the CLR will fall back to the English string resources installed as part of the core .NET Framework 2.0 redistributable package.

The .NET Framework 2.0 language packs provide localized string resources for the following:

  • Exceptions thrown by .NET Framework class libraries that are not caught by the calling application

  • Compiler messages from managed code compilers (such as csc.exe and vbc.exe)

  • Usage information for managed code tools that ship as part of the .NET Framework redistributable (such as caspol.exe)


Comments (8)

  1. Hi Aaron!

    I just asked myself, if the is a simple mechanism to integrate a language pack installation into the redistributable package? I could not find a way without huge customizations of the original redistributable MSI. Do you have any suggestions?



  2. Hi Marcello – There is not a way to integrate a language pack into the redistributable package setup to have them install as a single unit.  You will need a wrapper setup EXE that will chain together these pieces.  This EXE should check to see if the packages are already installed, and if not, it can install each of them sequentially in silent mode and check the return code to determine success/failure.

    I should also note that you should not attempt to make any modifications to the original redistributable MSI.  Doing so can cause future hotfixes or service packs for the redist package to fail to install, which is a very bad thing…

  3. Details about the .NET Framework 2.0 setup packaging Available command line switches for .NET Framework

  4. Where to get Visual Studio 2005 and the .NET Framework 2.0 Where to download the .NET Framework 2.0 redistributable

  5. This guide is intended to serve as a collection of links to articles, tools, tips and tricks that explain

Skip to main content