I'm trying to create a install script with multi-language and with the modern UI. During installation, the page of EULA must be displayed. This works, but...
By starting installation, the user can select one of the available languages (Dutch or English). After then, when the EULA displays, only the Dutch EULA is showing. If the user choose English, also then the Dutch EULA is displayed.
During compiling I've got two warnings:
2 warnings:
LicenseLangString "lics" set multiple times for 0,
wasting space (..:43)
LangString "lics" is not set in language table of
language Dutch
A piece of code:
I don't get it why I got the two warnings and only the Dutch RTF is showing. Can someone please help me?
; Modern UI
!include "MUI.nsh"
; LicenseLang
LicenseLangString lics $(LANG_ENGLISH) "English.rtf"
LicenseLangString lics $(LANG_DUTCH) "Dutch.rtf"
; Screens
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE $(lics)
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
; Uninstall screen
!insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
; Language
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "Dutch"
Greets
Robert-Paul