Archive: MUI_HEADERIMAGE_BITMAP not working


MUI_HEADERIMAGE_BITMAP not working
Uninstall header image is not working, it is missing.
Also, it is ignored completely: if I put a diiferent folder/filename, non-existent, I get no error and no problems.
Install header image is working perfectly.
Windows 7 Ultimate x64 SP1, NSIS 2.64


!macro CreateInternetShortcut FILENAME URL ICONFILE ICONINDEX
WriteINIStr "${FILENAME}.url" "InternetShortcut" "URL" "${URL}"
WriteINIStr "${FILENAME}.url" "InternetShortcut" "IconFile" "${ICONFILE}"
WriteINIStr "${FILENAME}.url" "InternetShortcut" "IconIndex" "${ICONINDEX}"
!macroend

!include "MUI2.nsh"

!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_UNBITMAP "d:\222\orange-uninstall-r.bmp"
!define MUI_HEADERIMAGE_BITMAP "d:\222\HiTech-Doctors_logo150x57.bmp"

!define MUI_ICON "d:\222\logo32x32.ico"
!define MUI_UNICON "d:\222\logo32x32.ico"

!insertmacro MUI_LANGUAGE "English"

OutFile "test02.exe"

InstallDir $EXEDIR

!insertmacro MUI_PAGE_INSTFILES

!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES

Section ""
SetOutPath $INSTDIR

File "d:\222\Dlogo32x32.ico"

!insertmacro CreateInternetShortcut \
"$INSTDIR\test" \
"http://www.google.com/" \
"$INSTDIR\Dlogo32x32.ico" "0"

WriteUninstaller "$INSTDIR\uninstall.exe"
SectionEnd


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

You always insert the language macros after the page macros.

Stu


Yes, now I know, I just discovered this.
Thanks anyway.