|
|
|
|
#1 |
|
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?) |
|
|
|
|
|
#2 |
|
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? |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
They should be available right after the File instruction...
IntOp $PostCount $PostCount + 1 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|