大网数据广告活动
安装更新与部署

Merging a Multiple Language Module into the Same Package Multiple Times

· 52CE 我爱测

When a module supports multiple languages, you can merge it into the same Windows Installer database multiple times, but make sure that each merge uses a different language.

When a module supports multiple languages, you can merge it into the same Windows Installer database multiple times, but make sure that each merge uses a different language. Before each merge, request a different language from the module. The resulting .msi database then has a record in the ModuleSignature Table for each merge of the module. Components that are shared between languages exist only one time in the Component Table, but are associated with each language in the ModuleComponents Table.

When merging multiple languages of a module into the same package, each merge must satisfy the same restrictions on code pages as single-language modules. The modules cannot contain strings in different code pages.

When merging a module multiple times into a single .msi file, you may need to modify the order of the files in the File Table to use the existing .cab from the module directly in your installation. The order of files in the File Table must match the order of files in the .cab. When merging a module multiple times into an installation database the sequence may be modified, because files shared between the languages may already exist in the module from a prior merge, and they have a different relative sequence number.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。