Archive: Hello, Insertmacro error!


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?


Have you tried placing LicenseDate before the MUI_PAGE_LICENSE.

-Stu


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

If I remove "!insertmacro MUI_PAGE_LICENSE" line, next line comes to be error..

-Donny


I think, the !insertmacro is problem..
Have you tried new version?


I am running on latest CVS myself.

I will try compiling the installer soon.

-Stu


You are probably using an outdated version. Get the latest development snapshot at http://nsis.sf.net


I have installed nsis20b3.exe version.


That is the most recent "release" but not the most recent version. As Joost says, get the latest development snapshot.


I'm trying...


cool.. the new version is working.. thankyou very much..