Archive: empty MUI_PAGE_WELCOME


empty MUI_PAGE_WELCOME
Hey guys,

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:

!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


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)

Thank you in advance,

Corneliu

Firstly use MUI2.nsh and secondly you must insert the languages after the pages.

As for the localisation, use LangString.

Stu


Thank, you. Problem solved.