Archive: outdir


outdir
Can you elaborate a little on what $OUTDIR is (what it used for); the manual is not so verbose?

I am compiling with the newest nsis compiler and breaking in Section "Uninstall" where there is call for:
File /r "someDirectory\*.*" and compiler breaks here. It doesn't seem like I would need to load more files when all I'm doing is making a series of $SYSDIR<file.exe> <argument> and Delete $TEMP\<file> calls, but maybe I'm not understanding the function of $OUTDIR.

Background: I built this installer with previous version of nullsoft and now have to upgrade it for new nsis version. This is currently compiling for us with older version (sorry, not immediatly apparent which version #).

thanks,
mdm


$OUTDIR is used by SetOutPath, to set the value of $OUTDIR, and File, to extract the file to the value of $OUTDIR.

The value of $OUTDIR on the start is "" which is the same as if the file is on the same folder, the $EXEDIR.

If you're curious, StrCpy $OUTDIR "$EXEDIR\Folder" is the same as SetOutPath "Folder" when you don't specify a complete folder name for SetOutPath (means just "Folder" not "C:\Folder").