Archive: [Please Help Me!] Has to make installator which...


[Please Help Me!] Has to make installator which...
I have the great problem I
Has to make installator which :
1. He shows licences in chosen for the fitter language
2. He installs various files, depending on the chosen language.
To help me someone maybe?


I suggest reading the Manual
some hints for a easy start:

there is a Variable called "$LANGUAGE"
@2) you can use it in the Section where you install your files to select which files should be installed

@1) I suggest using the Modern UI
selecting the language can be done by

Function .onInit

!insertmacro MUI_LANGDLL_DISPLAY

FunctionEnd


after this you can set the specific Licensetext
!insertmacro MUI_PAGE_LICENSE $(MUILicense)

where $(MUILicense) is a variable which containts the path to the file which is displayed

to set it you have to use the following commandos
LicenseLangString MUILicense ${LANG_ENGLISH} "<path to the licensetextfiles>\Englisch\License.rtf"
LicenseLangString MUILicense ${LANG_GERMAN} "<path to the licensetextfiles>\Deutsch\License.rtf"