Confusion with LicenseLangString
The following tiny script does not behave as I am expecting it to. When I run the installer and select English for the language, it displays the French EULA. when I run the installer and select French for the language, it displays a blank EULA.
Can somebody clue me in on what's wrong?
----------------------------
!include "MUI.nsh"
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "French"
LicenseLangString license ${LANG_ENGLISH} "eula-enCA.rtf"
LicenseLangString license ${LANG_FRENCH} "eula-frCA.rtf"
!insertmacro MUI_PAGE_LICENSE $(license)
Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY
FunctionEnd
Section main
SectionEnd