Archive: Languages with VIAddVersionKey


Languages with VIAddVersionKey
  Hi,

I'm having a small problem with the new VIAddVersionKey command.

If the /LANG command isn't used, is the version info supposed to default to the system's default lang/sublang/codepage? The reason why I ask is I live in Australia, and would like the version info to indicate as such. With Windows' regional language settings set to "English (Australia)", no matter what I try, the installer's version info will always have a language entry of "English (United States)". Is it possible to add a command that can specify the sub-language, is there a way already, or have I spotted a trivial bug?

Thanks in advance.

Brad.


When no /LANG specified the default is always English, and no lacal information is used.

It's not a bug, it's by design, you can always create a new language files based on english:


${NSISDIR}\Contrib\Language Files\English_AU.nlf with language ID = 3081 ; this code is created using ${NSISDIR}\bin\MakeLangID.exe

${NSISDIR}\Contrib\Contrib\Modern UI\Language files\English_AU.nsh with "... MUI_LANGUAGEFILE_BEGIN "ENGLISH_AU" ..."

then you can type the following code:

insertmacro MUI_LANGUAGE "English_AU"

>VIAddVersionKey /LANG=${LANG_ENGLISH_AU} "ProductName" "MyApplication"
>...
cyas,
Ramon