Archive: Multi language_Multi license


Multi language_Multi license
I am a newer. I also make a multi language and I use file test which chris_svp posted. When I compile they gave many warning:
Page instfiles not used, no sections will be executed!
LangString "MUI_INNERTEXT_LICENSE_BOTTOM" is not set in language table of language English
LangString "MUI_INNERTEXT_LICENSE_BOTTOM" is not set in language table of language French
LangString "MUI_TEXT_LICENSE_TITLE" is not set in language table of language English
LangString "MUI_TEXT_LICENSE_TITLE" is not set in language table of language French
LangString "MUI_TEXT_LICENSE_SUBTITLE" is not set in language table of language English
LangString "MUI_TEXT_LICENSE_SUBTITLE" is not set in language table of language French
LangString "MUI_INNERTEXT_LICENSE_TOP" is not set in language table of language English
LangString "MUI_INNERTEXT_LICENSE_TOP" is not set in language table of language French
So, I execute my program it does not display any characters, only license text which I try to add.
Thank alots


When I let:
; License page
LicenseLangString LicenseRTF ${LANG_FRENCH} "..\test\fr_license.rtf"
LicenseLangString LicenseRTF ${LANG_ENGLISH} "en_license.rtf"
!insertmacro MUI_PAGE_LICENSE $(LicenseRTF)

; Language files
!insertmacro MUI_LANGUAGE "French"
!insertmacro MUI_LANGUAGE "English"
It create 3 warning
LicenseLangString "LicenseRTF" set multiple times for 0, wasting space (C:\DUONG\Script\test\test.nsi:10)
Page instfiles not used, no sections will be executed!
LangString "LicenseRTF" is not set in language table of language French
However, I also move macro language before licenselangstring such as:
; Language files
!insertmacro MUI_LANGUAGE "French"
!insertmacro MUI_LANGUAGE "English"

; Installer pages
; License page
LicenseLangString LicenseRTF ${LANG_FRENCH} "..\test\fr_license.rtf"
LicenseLangString LicenseRTF ${LANG_ENGLISH} "en_license.rtf"
!insertmacro MUI_PAGE_LICENSE $(LicenseRTF)
It creates some warning and is the problem when I execute my program.
Page instfiles not used, no sections will be executed!
LangString "MUI_INNERTEXT_LICENSE_BOTTOM" is not set in language table of language English
LangString "MUI_INNERTEXT_LICENSE_BOTTOM" is not set in language table of language French
LangString "MUI_TEXT_LICENSE_TITLE" is not set in language table of language English
LangString "MUI_TEXT_LICENSE_TITLE" is not set in language table of language French
LangString "MUI_TEXT_LICENSE_SUBTITLE" is not set in language table of language English
LangString "MUI_TEXT_LICENSE_SUBTITLE" is not set in language table of language French
LangString "MUI_INNERTEXT_LICENSE_TOP" is not set in language table of language English
LangString "MUI_INNERTEXT_LICENSE_TOP" is not set in language table of language French
I could not find it out.
Big thank if someone help me to repair it


Define the LangStrings after you insert the MUI_LANGUAGE macros. Insert the MUI_LANGUAGE macros after you insert the page macros.