View Single Post
Old 21st April 2020, 18:48   #6
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,296
NSIS does a little attempt to create the folder but it is expected that your code looks like this:

SetOutPath $TEMPLATES ; Calls CreateDirectory
File MyTemplate.ext
If you do "SetOverwrite try" then File will not give any errors.

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