Old 20th January 2006, 19:50   #1
TundraWolf
Junior Member
 
Join Date: Jan 2006
Posts: 4
Problem finding a macro

Hey.

I posted a post about Ethereal previously. Ethereal has it's own script, however, when I tried to compile it and run it, it gave me this error:

!insertmacro: MUI_RESERVEFILE_INSTALLOPTIONS
!insertmacro: macro named "MUI_RESERVEFILE_INSTALLOPTIONS" not found!
Error in script "C:\ethereal-0.10.12\packaging\nsis\ethereal.nsi" on line 128 -- aborting creation process

Now, from there, I searched all the scripts on my harddrive looking for the macro "MUI_RESERVEFILE_INSTALLOPTIONS" and I found it in a file called System.nsh.

If I try removing the line of code at line 128, it gives me an error that it can't find a different macro.

Is there a way to get the compiler to look in other .nsh files to look for these macros?

Thanks for your time.
TundraWolf is offline   Reply With Quote
Old 20th January 2006, 19:59   #2
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
First you have to !include "MUI.nsh" (which should probably be at the top of the script), then use that macro.

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 20th January 2006, 20:17   #3
TundraWolf
Junior Member
 
Join Date: Jan 2006
Posts: 4
That did it thanks.

!include "MUI.nsh" was there, but it wasn't at the top.
TundraWolf 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