Old 13th June 2003, 06:59   #1
DMagic1
Junior Member
 
Join Date: Jun 2003
Posts: 2
Unhappy Multiple sections dont work? Need help.

I am the newest of newbies to this. I just got NSIS for the first time a few hours ago. My script will only do the first string replace(StrCmp) in the sections. That would be the first FileOpen you see. Any string replace(StrCmp) after that one creates an empty file. I've moved the sections around and all of them work if they are the first section that does string replace. All the ones after the first one creates empty files. What am I not doing right?

[edit]edited by kichik. see attachment below [/edit]
DMagic1 is offline   Reply With Quote
Old 13th June 2003, 09:32   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Please attach scripts if they are not small. Original script attached here.
Attached Files
File Type: nsi mulsecs.nsi (2.0 KB, 156 views)

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 13th June 2003, 09:41   #3
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Adding a ClearErrors command at the top of each section should make it work.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 13th June 2003, 17:31   #4
DMagic1
Junior Member
 
Join Date: Jun 2003
Posts: 2
Thanks, I'll give it a try now.
DMagic1 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