Discussion:
[Mspgcc-users] NSIS Error from MSP430-updater.nsi
Larry Young
2008-03-10 15:37:33 UTC
Permalink
Trying to compile a standalone executable boot-strap loader for MSP430
using NSIS 2.35 on Chris Liechti's bsl-updater.nsi script, I get this
error message at the end of the process:

Processed 1 file, writing output:
Adding plug-ins initializing function... Done!
Error: resolving leave-page function ": Options" in install pages
Note: uninstall functions must begin with "un.", and install functions
must not
Error - aborting creation process

The script is one I used three years ago with an earlier version of
NSIS. I don't have any uninstall functions in my script, with "un." or
any other names. Could someone more knowledgeable about nsi script
compilation give me ideas of what to look for? Thanks.
Larry Young
2008-03-11 01:17:11 UTC
Permalink
Post by Larry Young
Trying to compile a standalone executable boot-strap loader for MSP430
using NSIS 2.35 on Chris Liechti's bsl-updater.nsi script, I get this
Adding plug-ins initializing function... Done!
Error: resolving leave-page function ": Options" in install pages
Note: uninstall functions must begin with "un.", and install functions
must not
Error - aborting creation process
The script is one I used three years ago with an earlier version of
NSIS.
The problem occurred in this line of bsl-updater.nsi:

Page custom SetCustom ": Options" ; Error: resolving leave-page function ...

which apparently treated ": Options" as the name of the function. This syntax was
accepted by an earlier version of makensis.exe (circa 2004) and is not described well
in the NSIS documentation. Either of the following works:

Page custom SetCustom LeaveCustom ": Options" ; add null LeaveCustom function
Page custom SetCustom ; do not specify title text
Loading...