Archive: MUI Multi-lingual licenses

MUI Multi-lingual licenses

I'm trying to create a multi-lingual installer (5 languages) and everything is working fine with the installer GUI and I have it installing language specific files and all that, but the one thing I can't figure out how to do is to include a language specific MUI_PAGE_LICENSE

How would one go about doing this? Any help would be greatly appreciated.

You need to set LicenseLangString's as follows

LicenseLangString localizedLicenseFile ${LANG_ENGLISH} "license_en.txt"
LicenseLangString localizedLicenseFile ${LANG_SPANISH} "license_sp.txt"

!insertmacro MUI_PAGE_LICENSE "$(localizedLicenseFile)"

; Language files
!insertmacro MUI_LANGUAGE "Russian"
!insertmacro MUI_LANGUAGE "English"
LicenseLangString LICENSETXT ${LANG_ENGLISH} "license_eng.rtf"
LicenseLangString LICENSETXT ${LANG_RUSSIAN} "license_rus.rtf"

Ok, thanks!
I tried that before, but I guess I didn't realize that the LicenseLangString should go after the MUI_LANGUAGE and not before everything.

Multilingual example in Moreinfo

Multilingual example in Moreinfo plugin. Multi language in an easy extensible way in one of the demos. Will solve a lot of multilanguage language problems.
The "CustomLanguageDemo" Fully shows the power of getting the OS GUI language. I the demo a good example of how custompage localization works and could be implemented.

See the Wikipage

Or take a look in:

Just try the "CustomLanguageDemo" demo included.