hashem
5th September 2006 22:43 UTC
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 02:06 UTC
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 08:45 UTC
EXPLANATORY EXHIBITIVE PLEASE
saschagottfried
7th September 2006 09:52 UTC
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 14:55 UTC
THANKFUL OVERMUCH JasonFriday13 saschagottfried