Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NSIS copy subfolders and files in them to install dir

Tags:

nsis

With this it will copy all files from res folder,

SetOutPath "$INSTDIR"    
  File "res\"

but I need to copy all subfolders and files in them. How can I achive that.

like image 429
jasin_89 Avatar asked Oct 29 '11 13:10

jasin_89


1 Answers

The manual is very clear, use File /r "yourfolder" to copy the whole directory tree...

like image 119
Anders Avatar answered Sep 23 '22 11:09

Anders