View Single Post
Old 28th August 2014, 16:06   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,321
This has been asked a million times before.

$variables are used at run-time on the end-users machine, you can only use ${defines} with the File instruction since it needs to find the file on the machine where makensis is running.

You can use SetOutPath "$instdir\$pathspecific" etc. to control where a file is written...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote