lovedonny
5th August 2003 10:19 UTC
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?
Afrow UK
5th August 2003 10:23 UTC
Have you tried placing LicenseDate before the MUI_PAGE_LICENSE.
-Stu
Afrow UK
5th August 2003 10:33 UTC
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)
!ifndef MUI_LICENSEPAGE
!define MUI_LICENSEPAGE
!endif
Page license mui.LicensePre mui.LicenseShow mui.LicenseLeave "MUI_INSTALLBUTTON_LICENSE"
-Stu
lovedonny
5th August 2003 10:34 UTC
If I remove "!insertmacro MUI_PAGE_LICENSE" line, next line comes to be error..
-Donny
lovedonny
5th August 2003 10:44 UTC
I think, the !insertmacro is problem..
Have you tried new version?
Afrow UK
5th August 2003 10:50 UTC
I am running on latest CVS myself.
I will try compiling the installer soon.
-Stu
Joost Verburg
5th August 2003 11:29 UTC
You are probably using an outdated version. Get the latest development snapshot at http://nsis.sf.net
lovedonny
5th August 2003 11:38 UTC
I have installed nsis20b3.exe version.
Sunjammer
5th August 2003 11:51 UTC
That is the most recent "release" but not the most recent version. As Joost says, get the latest development snapshot.
lovedonny
5th August 2003 12:01 UTC
I'm trying...
lovedonny
5th August 2003 12:03 UTC
cool.. the new version is working.. thankyou very much..