Caspi
8th October 2004 08:52 UTC
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
deguix
8th October 2004 10:50 UTC
More details needed. What you can't modify from "Welcome" and "Finish" pages?
Caspi
8th October 2004 10:56 UTC
!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...
deguix
8th October 2004 12:33 UTC
Did you put !insertmacro MUI_LANGUAGE "English" after !insertmacro MUI_UNPAGE_FINISH?
Caspi
10th October 2004 14:01 UTC
;--------------------------------
;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...
deguix
10th October 2004 14:39 UTC
Hmmm... What version of NSIS are you using? !define MUI_CUSTOMPAGECOMMANDS doesn't exist anymore.
Caspi
11th October 2004 13:06 UTC
I am using version 2.0
deguix
11th October 2004 19:00 UTC
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)