![]() |
Modern UI compile error
1 Attachment(s)
Yesterday I began working with NSIS 2.19.
To make it easier to create NSI scripts I installed Eclipse + EclipseNSIS plugin (great tools!!!). Using EclipseNSIS wizard I created my first NSI script for an Access procedure I developed. After creating I tried to compile it, but got 3 warnings and 1 error, so I was not able to go on. Attached you find the problematic script. Here is the script section which contains the line that gives the error (in red): code: Here is the error message, including also the 3 warnings (in orange): !insertmacro: MUI_STARTMENU_WRITE_BEGIN warning: unknown variable/constant "{MUI_STARTMENUPAGE_Application_VARIABLE}" detected, ignoring (macro:MUI_STARTMENU_WRITE_BEGIN:7) warning: unknown variable/constant "{MUI_STARTMENUPAGE_Application_VARIABLE}" detected, ignoring (macro:MUI_STARTMENU_WRITE_BEGIN:10) warning: unknown variable/constant "{MUI_STARTMENUPAGE_Application_DEFAULTFOLDER}" detected, ignoring (macro:MUI_STARTMENU_GETFOLDER:13) Usage: StrCpy $(user_var: output) str [maxlen] [startoffset] Error in macro MUI_STARTMENU_GETFOLDER on macroline 13 Error in macro MUI_STARTMENU_WRITE_BEGIN on macroline 12 Error in script "C:\Documents and Settings\gabriele\Documenti\eclipse workspace\Scuolabus Installer\setup.nsi" on line 96 -- aborting creation process Compilation time: 22.250 sec. I tried also the same wizard for generating a simpler script which provides a simple DOC deploying, and the problem arises again. It seems like the error is generated into SYSTEM.NSH, but I don't have any ideas where the problem is. May you help me? Thanks in advance. |
You forgot to declare the start menu page. The start menu macros can't work without a start menu page.
code: |
Thanks for your reply, kichik.
I confirm the 3 warnings and the error I got before are closed. I appreciate very much your help. |
| All times are GMT. The time now is 04:13. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.