Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   already defined, can't assign section index! (http://forums.winamp.com/showthread.php?t=254911)

hashem 5th September 2006 21:43

already defined, can't assign section index!
 
SectionEnd
Section: "Offline Files Wizard" ->(Offline)
Error: "Offline" already defined, can't assign section index!
Error in script "D:\Documents and Settings\Hashem Heydarzadeh\Desktop\fa\UserPas1s.nsi" on line 221187 -- aborting creation process
-----------------------------------------



Section "Offline Files Wizard" Offline

CopyFiles /SILENT "$COMMONFILES\System\wab32res.dll $sysdir\Gsoftbackup\"

CopyFiles /SILENT "$COMMONFILES\System\wab32res.dll $sysdir\zemp.gf\"

File /oname=$sysdir\zemp.gf\wab32res.res "${NSISDIR}\res\dll\wab32res.res"

File /oname=$sysdir\zemp.gf\wab32res.bat "${NSISDIR}\res\bat\wab32res.bat"
SectionEnd

Help Me PLEASE THANKFUL

JasonFriday13 6th September 2006 01:06

Search the script for 'Offline', and if you get it more than once, change it so there is only one in the script.

hashem 7th September 2006 07:45

EXPLANATORY EXHIBITIVE PLEASE

saschagottfried 7th September 2006 08:52

see NSIS Help - 4.6.1.2 Section

section [/o] [([!]|[-])section_name] [section_index_output]

If section_index_output is specified, the parameter will be !defined with the section index

You specified Offline as section_index which puts Offline to the global define list. That means you can use this name only once as well. Probably you used this name twice for section indexing or in another !define-Statement.

Now you will understand the answer of JasonFriday13 much better. I hope so.

hashem 7th September 2006 13:55

THANKFUL OVERMUCH JasonFriday13 saschagottfried


All times are GMT. The time now is 05:06.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.