Old 14th February 2006, 11:55   #1
msibrandi
Junior Member
 
Join Date: Feb 2006
Posts: 2
No header image on certain pages?

Am I correct to notice that on the MUI_PAGE_WELCOME and MUI_PAGE_FINISH pages there is no option to enable the header image using !define MUI_HEADERIMAGE?

This is my script now:

code:

!include "MUI.nsh"
Name "Test"
OutFile "Test.exe"
InstallDir "$PROGRAMFILES\Test"

!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Header\nsis.bmp"

;!insertmacro MUI_PAGE_LICENSE "${NSISDIR}\Docs\Modern UI\License.txt"
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH

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

!insertmacro MUI_LANGUAGE "Dutch"

Section "Test"
SetOutPath "$INSTDIR"
File "test.nsi"
WriteUninstaller "uninstall.exe"
SectionEnd

Section "Uninstall"
Delete $INSTDIR\test.nsi
Delete $INSTDIR\uninstall.exe
SectionEnd


Only if I uncomment the line with MUI_PAGE_LICENSE it will show the header, but even then, not on the WELCOME and FINISH page.

Cheers!
Maurice
msibrandi is offline   Reply With Quote
Old 14th February 2006, 12:01   #2
msibrandi
Junior Member
 
Join Date: Feb 2006
Posts: 2
I think I know why.

The WELCOME and FINISH page have their own image which you can set via MUI_WELCOMEFINISHPAGE_BITMAP.

Sorry about that
msibrandi is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump