Ordering the File Sequence in the CAB of a Multiple Language Merge Module

Multiple-language merge modules, language transforms, and cabinet files must be authored such that the order of the files in the .cab matches the installation order of files specified in the File Table, even after the application of the language transform. If the order in the module and in the .cab do not match, the merge module cannot be used.

Assign to each file in the module, a unique sequence number that is independent of its language, and then always use that sequence number for the file. Use the same sequence when building the cabinet file and authoring a language transform.

Because the Installer only installs the files listed in the File Table, the use of a global file sequence in the cabinet, File Table, and language transform enables the merge tool to skip any extra files stored in the cabinet that are not listed in the File Table. Other files may exist in the cabinet, but they must not be listed in the File Table. For example, a module installing Code.dll, English.dat, German.dat, and French.dat can use the following global file sequence order.

FileSequence
Code.Dll1
English.Dat2
German.Dat3
French.Dat4

 

Language transforms can then be authored to modify the File Table of the module for English, German, or French.

File Table (partial for English)

FileSequence
Code.Dll1
English.Dat2

 

File Table (partial for German)

FileSequence
Code.Dll1
German.Dat3

 

File Table (partial for French)

FileSequence
Code.Dll1
French.Dat4

 

For more information, see Authoring a Language Transform for a Multiple Language Merge Module and Authoring Merge Module File Tables.

 

 

Show: