Old 4th March 2012, 17:10   #1
BzowK
Junior Member
 
Join Date: Mar 2012
Posts: 1
Error Compiling Modified Script (Newb Question)

Hey All -

Being in IT for years (mostly system admin), I've wanted to get into some programming for a while. When I found out that one of my favorite, but simple tools had source code to download, I got it and started to explore. I found out about NSIS and have been working this morning to make a few changes to see if it works.

The source code I'm editing is for YUMI Multiboot . Basically, it lets you select from many predefined bootable ISOs and create an "All in one" bootable USB stick including all of your tools. Even though it supports many tools as well as adding custom ones, I wanted to add a section for Acronis Backup ISOs.

I extracted the code and edited the .NSI file. I examined the code and all additions were made from edited copy/paste of lines. I did have to create one simple menu txt file, but that's it.

My Issue
Anyways, I go to compile the NSI script and get the below error:

File: "memdisk"->"$PLUGINSDIR\memdisk" [compress] 12369/25244 bytes
File: "chain.c32"->"$PLUGINSDIR\chain.c32" [compress] 11746/20576 bytes
FunctionEnd

Processed 1 file, writing output:
Adding plug-ins initializing function... Done!
Error: could not resolve label "_LogicLib_Label_1620" in function "Config2Write"
Error - aborting creation process


I found the part in the script it stops at somewhat. Line 3 above is FunctionEnd. It is the last line of the NSI file. What's after it, I cannot find in any file from the source code - at least with a text editor...

Any help on where to look to resolve or what it means would be helpful - Thanks!
BzowK is offline   Reply With Quote
Old 5th March 2012, 06:19   #2
T.Slappy
Major Dude
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 562
Send a message via ICQ to T.Slappy
This is the problem: Error: could not resolve label "_LogicLib_Label_1620" in function "Config2Write"

The script is searching for label with name "_LogicLib_Label_1620" but it does not exist.

This looks like auto-generated label name - check your function "Config2Write" for some logic operations - like ${If} ${For} whether they are correct.

Cool looking installers with custom design: www.graphical-installer.com
Create Setup Pages easily: www.install-designer.com
Build installers in Visual Studio 2005-2022: www.visual-installer.com
or RAD Studio 2009 - 11 Alexandria: www.rad-installer.com
T.Slappy is offline   Reply With Quote
Old 5th March 2012, 10:33   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Missing an ${EndIf} or something similar.

Stu
Afrow UK 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