Archive: Multiple sections dont work? Need help.


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 :down:[/edit]


Please attach scripts if they are not small. Original script attached here.


Adding a ClearErrors command at the top of each section should make it work.


Thanks, I'll give it a try now.