If CreateDirectory is called with a path that contains
two consecutive backslashes, the directory is created,
without error message, but the error flag is set.
IMHO there's no reason the error flag is set because
such a path is valid
My error, this is not with File, but with SetOutPath.
Attached the script that demonstrates it : SetOutPath with a
"\\ path" sets the error flag, and a then a File command
extracts the file without problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sample script to demonstrate the bug
Logged In: YES
user_id=1213997
The bug is still here in NSIS 2.06... Could you fix it?
Logged In: YES
user_id=1213997
Just realized that the bug also happens with command "File".
Logged In: YES
user_id=584402
How exactly does it happen with File?
Logged In: YES
user_id=584402
Fixed the problem with CreateDirectory. Still can't find out
what can happen with File that and multiple backslashes.
Logged In: YES
user_id=1213997
My error, this is not with File, but with SetOutPath.
Attached the script that demonstrates it : SetOutPath with a
"\\ path" sets the error flag, and a then a File command
extracts the file without problem.
Demonstrates the bug with SetOutPath
Logged In: YES
user_id=584402
SetOutPath uses the same code as CreateDirectory so it
should be fixed now.