Localization of a Windows Installer package into multiple languages can be greatly facilitated by doing the following:
- Author a base installation database that is code page neutral. See Creating a database with a neutral code page. The code page of the localized database can then be set by importing a text archive table with a non-neutral code page into the base database. See Setting the code page of a database.
- Organize files requiring localization into separate components and install these files into separate directories. This ensures that two localized packages never install identically named files into the same directory.
For example, a worldwide application using the following resources may have three components.
Component | Resource |
---|---|
WORLD | worldwide.exe |
WORLD | worldwide registry entries |
WORLD | worldwide shortcut |
ENG | engui.dll |
ENG | readme.txt |
FRA | fraui.dll |
FRA | readme.txt |
The files that need to be localized may be installed into the following directory locations:
- [ProgramFilesFolder]\World\worldwide.exe
- [ProgramFilesFolder]\World\English\engui.dll
- [ProgramFilesFolder]\World\English\readme.txt
- [ProgramFilesFolder]\World\French\fraui.dll
- [ProgramFilesFolder]\World\French\readme.txt
Send comments about this topic to Microsoft
Build date: 8/13/2009
© 2009 Microsoft Corporation. All rights reserved.