Archive: No header image on certain pages?


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:


!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

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 :)