Archive: Mui_welcomefinishpage_bitmap


Mui_welcomefinishpage_bitmap
this is my modern.nsh for Zip2Exe

;Change this file to customize zip2exe generated installers with a modern interface

!include "MUI.nsh"


!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_WELCOMEFINISHPAGE_BITMAP ${NSISDIR}\Contrib\Graphics\Wizard\yo.bmp

!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES

!insertmacro MUI_LANGUAGE "English"

---

this is the error:

!insertmacro: macro named "MUI_WELCOMEFINISHPAGE_BITMAP" not found!
!include: error in script: "D:\Programfiler\NSIS\Contrib\zip2exe\Modern.nsh" on line 7
Error in script "C:\DOCUME~1\Daniel\LOKALE~1\Temp\zne37E.tmp" on line 6 -- aborting creation process
(source ZIP size was 11618 bytes)


1. does the file exist?
2. does the file match the correct size? (try with an image from the nsis directory)
3. use quotes!
4. does the macro still go by this name?


It's a define and should be defined before you insert the MUI_PAGE_WELCOME macro.


kichik is right. the code should look like this:

!define MUI_WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\yo.bmp"
!insertmacro MUI_PAGE_WELCOME