Skip to content
⌘ NSIS Forum Archive

Hello, Insertmacro error!

11 posts

lovedonny#

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?

Attachments

Afrow UK#
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
Joost Verburg#
You are probably using an outdated version. Get the latest development snapshot at http://nsis.sf.net
Sunjammer#
That is the most recent "release" but not the most recent version. As Joost says, get the latest development snapshot.