NsisIo & Languages problem
Hi all,
I am new to Nsis scripting and face some issues.
The problem I have is a bad compilation status:
Error: resolving install function "NsisIo" in function "mui.WelcomePre_24.5.9"and could not see why this happens. I have just found that the issue is coming from the location where I load the languages file.
Indeed, if I
!insertmacro MUI_LANGUAGE "English"before the pages descriptions
insertmacro MUI_PAGE_XXX
>
the problem happens. On the contrary, no pb if I load them after the pages descriptions.Why can't we load and define language specific texts before the pages description ? I have defined a languages.nsh containing both the loads of lang files and the translated messages, and try to !include it at the beginning. I don't want to make some !include *.nsh later in the main .nsi for
readability reasons. I think that I should define a macro in the file included at the beginning, but calling the macro after the pages description.
Anyone to confirm, or to propose another solution ?
Gal'