Zaha
25th July 2008 10:09 UTC
Compiling issue with "!insertmacro MUI_PAGE_WELCOME"
I've been searching for the past two days and haven't found anything on this.
Basically, I duplicated the nsi file for installer I had already used which had worked. The only alterations I made to it were in registry values (which are solid) and filepaths for the actual files for the installer to install.
However, the compiler is consistently giving me errors on line 52, which is:
!insertmacro MUI_PAGE_WELCOME
I've attached the nsi file for anyone to go over, but I honestly can't see what's tripping the compiler up. It's a completely innocuous line, and it was fine with it in every other installer I've used it in.
Afrow UK
25th July 2008 10:28 UTC
Be nice if you told us what the errors were.
Stu
Zaha
25th July 2008 10:33 UTC
Unfortunately it just says "Error in script "C:\[...]\tyranids05ss.nsi" on line 52 -- aborting creation process".
Not very helpful to man or beast.
Afrow UK
25th July 2008 10:37 UTC
The actual error will be further up, typically in the form of Usage: ....
Stu
Zaha
25th July 2008 11:04 UTC
!insertmacro: MUI_PAGE_WELCOME
Error while loading icon from "D:\[...]\tyranids.ico": can't open file
Error in macro MUI_INTERFACE on macroline 64
Error in macro MUI_PAGE_INIT on macroline 2
Error in macro MUI_PAGE_WELCOME on macroline 5
Error in script "C:\[...]\tyranids05ss.nsi" on line 52 -- aborting creation process
Edit: Ahhh, that does it. The ico file was incorrectly named - PEBKAC error. Sorry to be a bother, it works now. ^_^