Old 1st February 2004, 13:41   #1
Join Date: Apr 2003
Posts: 95

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_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)
dan1el is offline   Reply With Quote
Old 1st February 2004, 14:00   #2
Forum King
Yathosho's Avatar
Join Date: Jan 2002
Location: AT-DE
Posts: 3,362
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?
Yathosho is offline   Reply With Quote
Old 1st February 2004, 14:13   #3
[NSIS Dev, Mod]
kichik's Avatar
Join Date: Oct 2001
Location: Israel
Posts: 11,343
It's a define and should be defined before you insert the MUI_PAGE_WELCOME macro.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 1st February 2004, 15:51   #4
Major Dude
Join Date: Jul 2003
Location: germany, b-w
Posts: 734
Send a message via ICQ to Comm@nder21
kichik is right. the code should look like this:
!define MUI_WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\yo.bmp"
!insertmacro MUI_PAGE_WELCOME

Comm@nder21 is offline   Reply With Quote
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