Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS with no warranties, and confer no rights. Additionally, views expressed herein are my own and not those of my employer, Microsoft.
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:
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:
Details about the .NET Framework 2.0 setup packaging Available command line switches for .NET Framework
Where to get Visual Studio 2005 and the .NET Framework 2.0 Where to download the .NET Framework 2.0 redistributable
This guide is intended to serve as a collection of links to articles, tools, tips and tricks that explain