How do I copy directories?
Am I just being daft, or is there no easy way of copying directories and files, e.g. to backup a directory structure with all files?
8 posts
This enables us to use the same installer for both new installs and updates. Make sense?Makes perfect sense, however you can't use on target, it's a compile time command. Anyway, regarding to the File command, try to use the File /r by this way "C:\testout" and by this way "C:\testout\*" to see the difference, also you may use it in combination with /x switch to exclude specific files/subdirs. e.g.
OutFile 'test.exe'
Section "boo"
CreateDirectory "C:\TEMP\test"
CopyFiles "${NSISDIR}\Plugins\*.*" "C:\TEMP\test"
SectionEnd