Old 5th August 2003, 09:19   #1
lovedonny
Junior Member
 
Join Date: Aug 2003
Posts: 6
Hello, Insertmacro error!

Hello.

I have downloaded your lastest version of setup file.
after that I have updated to use CVS clean.
then I tried to compile nsi file to make exe file.
but there are some of problems, which is "!insertmacro" error.

here is error code.

!insertmacro: MUI_PAGE_LICENSE
!insertmacro: macro named "MUI_PAGE_LICENSE" not found!
Error in script "C:\euro9_setups\Setup_client\U9.nsi" on line 54 -- aborting creation process

Additionally, I attach file.

How can I fix this problem?
Attached Files
File Type: nsi u9.nsi (6.4 KB, 176 views)
lovedonny is offline   Reply With Quote
Old 5th August 2003, 09:23   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Have you tried placing LicenseDate before the MUI_PAGE_LICENSE.

-Stu
Afrow UK is offline   Reply With Quote
Old 5th August 2003, 09:33   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Maybe it's the order that the pages are placed?
Try moving the license page up or down.

The !macro is definately in System.nsh

If you cannot get it to work still, try replacing the !insertmacro with this (from the MUI_PAGE_LICENSE macro)
code:
!ifndef MUI_LICENSEPAGE
!define MUI_LICENSEPAGE
!endif

Page license mui.LicensePre mui.LicenseShow mui.LicenseLeave "MUI_INSTALLBUTTON_LICENSE"



-Stu
Afrow UK is offline   Reply With Quote
Old 5th August 2003, 09:34   #4
lovedonny
Junior Member
 
Join Date: Aug 2003
Posts: 6
If I remove "!insertmacro MUI_PAGE_LICENSE" line, next line comes to be error..

-Donny
lovedonny is offline   Reply With Quote
Old 5th August 2003, 09:44   #5
lovedonny
Junior Member
 
Join Date: Aug 2003
Posts: 6
I think, the !insertmacro is problem..
Have you tried new version?
lovedonny is offline   Reply With Quote
Old 5th August 2003, 09:50   #6
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
I am running on latest CVS myself.

I will try compiling the installer soon.

-Stu
Afrow UK is offline   Reply With Quote
Old 5th August 2003, 10:29   #7
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
You are probably using an outdated version. Get the latest development snapshot at http://nsis.sf.net
Joost Verburg is offline   Reply With Quote
Old 5th August 2003, 10:38   #8
lovedonny
Junior Member
 
Join Date: Aug 2003
Posts: 6
I have installed nsis20b3.exe version.
lovedonny is offline   Reply With Quote
Old 5th August 2003, 10:51   #9
Sunjammer
Major Dude
 
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
That is the most recent "release" but not the most recent version. As Joost says, get the latest development snapshot.
Sunjammer is offline   Reply With Quote
Old 5th August 2003, 11:01   #10
lovedonny
Junior Member
 
Join Date: Aug 2003
Posts: 6
I'm trying...
lovedonny is offline   Reply With Quote
Old 5th August 2003, 11:03   #11
lovedonny
Junior Member
 
Join Date: Aug 2003
Posts: 6
cool.. the new version is working.. thankyou very much..
lovedonny 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