I hope this is the right section for my post. I am trying to use NSIS to build an installer for my application. I want to include a welcome page but the page is absolutely blank. So is my head, there used to be hair there. I know there is something missing but I can't figure what.
Here is the code:
Since we are at it, what is the easiest way to show the welcome message with the locale (english or french) chosen by the user? (I want to avoid if/else statements if possible)!include "MUI.nsh"
Name "Installer"
outFile "installer.exe"
installDir "C:/zzz"
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "French"
!define MUI_WELCOMEPAGE_TITLE "the great welcome title"
!define MUI_WELCOMEPAGE_TEXT "the great welcome text"
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_UNPAGE_INSTFILES
Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY
FunctionEnd
section # default
sectionEnd # default end
Thank you in advance,
Corneliu