Old 7th April 2015, 16:09   #1
coderwolf
Junior Member
 
Join Date: Feb 2015
Posts: 25
ensuring file exists in SetOutPath Directory

In a section, if I have "SETOUTPATH" and a set of "file"s, at what point can I trust that the files will be extracted and usable by further scripts in the process?

(In other words if my script was to use the files that are in those declarations, where do I place the script?)
coderwolf is offline   Reply With Quote
Old 7th April 2015, 20:27   #2
coderwolf
Junior Member
 
Join Date: Feb 2015
Posts: 25
From my experimentation, I can not depend on the files declared in the sections area with the "FILE" declaration to be available for use until the "leave_function" of the "instfiles" page.

Does this sound right, or is there an earlier point in the process that I am missing?
coderwolf is offline   Reply With Quote
Old 8th April 2015, 12:34   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
They should be available right after the File instruction...

IntOp $PostCount $PostCount + 1
Anders 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