Old 5th September 2006, 21:43   #1
hashem
Junior Member
 
Join Date: Aug 2006
Posts: 40
Send a message via Yahoo to hashem
Question 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
hashem is offline   Reply With Quote
Old 6th September 2006, 01:06   #2
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 916
Search the script for 'Offline', and if you get it more than once, change it so there is only one in the script.

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
JasonFriday13 is offline   Reply With Quote
Old 7th September 2006, 07:45   #3
hashem
Junior Member
 
Join Date: Aug 2006
Posts: 40
Send a message via Yahoo to hashem
EXPLANATORY EXHIBITIVE PLEASE
hashem is offline   Reply With Quote
Old 7th September 2006, 08:52   #4
saschagottfried
Member
 
Join Date: Aug 2006
Location: Germany
Posts: 54
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.
saschagottfried is offline   Reply With Quote
Old 7th September 2006, 13:55   #5
hashem
Junior Member
 
Join Date: Aug 2006
Posts: 40
Send a message via Yahoo to hashem
THANKFUL OVERMUCH JasonFriday13 saschagottfried
hashem 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