| ContactEZ.net International Bilingual Services |
ContactEZ.net |
You can change the natural language of the GUI of your setup and deliver the corresponding files for a certain natural language. To better understand this approach it is understood that the English language is delivered as any other language. So there is no difference in the way English, French, German, or Japanese is packaged. English is not treated differently than any other language. This approach allows to package any language after the original setup has been released or not. Also, using this approach there is no need to package all the languages at the same time.
If you do not know how to create a MST read the topic How To Create and Install A MST.
Transforms cannot modify any part of an installation package that is not in a
database table, such as the summary information stream,
information in substorages, or files in embedded cabinets.
But here is the Key:
you can use different CABs for different languages in your setup. So all the
files that are localizable are included in their corresponding CAB files (English.cab, French.cab,
Spanish.cab and so on...)
So the goal of this process is to create a CAB file for each language.
In these CAB files all the localizable and localized files are compressed.
The tansform for each language will call the corresponding CAB file.
All the other files delivered with the product that do not require to be
localized are listed in the Base MSI and their corresponding CAB files.
Note:
Installing the base MSI without the MST will deliver a partial
installation because the localizable files are deliverd using the MST.
Example for updating the Media table:
| DiskID | LastSequence | DiskPrompt | Cabinet | Volume Label | Source |
| 4 | 70 | 1 | French.CAB | DISK1 |
Example for updating the File table: (these files are the localizable files for each language English included)
| File | Component_ | FileName | FileSize | Version | Language | Attributes | Sequence |
| NewRes4Transform | TransformComp | NewRes~1|NewRessource.txt | 3000 | 16384 | 69 | ||
| F9_License.txt | TransformComp | License.txt | 6825 | 16384 | 70 |
Example for updating the Component table:
| Component | ComponentId | Directory_ | Attributes | Condition | KeyPath |
| TransformComp | {5B937A6A-D106-4A4D-937F-65691A7F7E5E} | INSTALL_0DIR | 0 | optional | NewRes4Transform |
Example for updating the FeatureComponent table:
| Feature_ | Component_ |
| Programfiles | TransformComp |
Note:
You will need to export, translate the strings, and re-import the
following tables: Control Table, Error Table, UIText Table, ActionText
Table, Shortcut Table. This process will be done once for each language.
You can see more example in the topic Create CAB
Files on-the-fly using DDF
files
Once the DDF file is created use the command line:
"MAKECAB.EXE" /f "C:\MST\LocalizationMSTs\FrenchMST\FrenchRessource.ddf"
This command line will create the CAB file in a few seconds.
WiSubStg.vbs - adds a transform or nested MSI as a substorage
WiGenXfm.vbs - generates a transform from two databases, or compares them
WiUseXfm.vbs - applies a transform to an MSI database
WiLstXfm.vbs - lists an MSI transform file (CSCRIPT only)
| About Dominique Gérard Schneider since 1995 - Developing solutions that really help! | ||
| Participation on Google ContactEZ.net on YouTube Tek-Tips Forums dgschnei |
Listed since 1996 ixquick Community Services platform sdk dgschnei |
Cooperation About Me Gifts Home Decoration |