Archive: Welcome page


Welcome page
Hi all,

I have got the problem with welcome and finish page.

I cant modify anything. Help me please

!define MUI_WELCOMEPAGE_TITLE "My title"
!define MUI_WELCOMEPAGE_TEXT "Bla bla bla... bla bla bla"
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "D:\CM\ACM\Licence.txt"
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
Page custom SetCustom
Page custom SetCustom1
Page custom SetCustom2
Page custom CustomPage2
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH

!insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_FINISH


More details needed. What you can't modify from "Welcome" and "Finish" pages?


!define MUI_WELCOMEPAGE_TITLE "My title"
!define MUI_WELCOMEPAGE_TEXT "Bla bla bla... bla bla bla"

It doesnt work...

Welcome and finish page are empty...


Did you put !insertmacro MUI_LANGUAGE "English" after !insertmacro MUI_UNPAGE_FINISH?


;--------------------------------
;Include Modern UI
!include "MUI.nsh"
!include "StrReplace.nsh"
!include "ReplaceInFile.nsh"
!include "Sections.nsh"
;--------------------------------
;General
;Name and file
Name "Ateus® Contact Manager"
OutFile "Setup.exe"
;Default installation folder
InstallDir "$PROGRAMFILES\Ateus Contact Manager"
;Get installation folder from registry if available
InstallDirRegKey HKLM "Software\Ateus Contact Manager" ""
;--------------------------------
;Interface Settings
!define MUI_ABORTWARNING
!define MUI_HEADERIMAGE
!define MUI_ICON "${NSISDIR}\Examples\Modern UI\ateuscrm.ico"
!define MUI_UNICON "${NSISDIR}\Examples\Modern UI\ateuscrm.ico"
;!define MUI_WELCOMEFINISHPAGE_INI "${NSISDIR}\contrib\Modern UI\iospecial.ini"
!define MUI_HEADERIMAGE_BITMAP "${NSISDIR}\Examples\Modern UI\2n-top.bmp"
!define MUI_CUSTOMPAGECOMMANDS
;--------------------------------
;Pages
!define MUI_WELCOMEPAGE_TITLE "Ahoj"
!define MUI_WELCOMEPAGE_TEXT "ssssssss"
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "D:\CM\ACM\Licence.txt"
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
Page custom SetCustom
Page custom SetCustom1
;Page custom SetCustom2
Page custom CustomPage2
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH

!insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_FINISH

;--------------------------------
;Languages
!insertmacro MUI_LANGUAGE "English"
;--------------------------------

That is partm of my script...


Hmmm... What version of NSIS are you using? !define MUI_CUSTOMPAGECOMMANDS doesn't exist anymore.


I am using version 2.0


Try to remove it. If it doesn't work, try to update your NSIS to the latest version which is v.2.01. (You can get it on nsis.sf.net)