Skip to content
⌘ NSIS Forum Archive

Why not work ?

2 posts

arfgh#

Why not work ?

Function .onInit
setoutpath $TEMP
File $TEMP\blah.txt
FunctionEnd

Can someone tell me why when i compile this script with HM NSIS always get an error on the File line ? It tells "file not found" but the file is on my temp folder.
Anders#
Might want to come up with a better subject instead of this useless general scream for help...

File is a compile time command, $temp is a constant used at run time.

$%temp% is the temp path on the system you are compiling on if that helps