Ask Your Question

What does Package/@Languages mean in WiX 4?

asked 2021-11-17 11:00:00 +0000

plato gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2022-11-12 20:00:00 +0000

woof gravatar image

In WiX 4, the Package/@Languages attribute specifies the list of languages supported by the installer package. This attribute can be set to a comma-separated list of language codes, which will result in the creation of separate .msi files for each language. These files will contain translated text for the installer UI and other language-specific resources.

During installation, the installer will use the appropriate language based on the operating system's language settings. If the user's preferred language is not supported by the installer, the default language will be used instead.

Example usage:

<Package ... Languages="en-US,fr-FR" />

This will create two separate .msi files - one for English (en-US) and one for French (fr-FR). The appropriate file will be used during installation depending on the user's language settings.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer

Question Tools


Asked: 2021-11-17 11:00:00 +0000

Seen: 3 times

Last updated: Nov 12 '22