View Single Post
Old 29th November 2010, 16:23   #1
Lenge
Member
 
Join Date: Oct 2007
Posts: 64
Question Installing folder contents

Hello world,

what is the "official" (recommended) way to have my NSIS script install all contents of a certain source folder with all included files and subfolders (without the source folder itself), while allowing the case that the source folder is empty?

I typically use something like
code:
SetOutPath $INSTDIR\DestinationFolder
File /r "SourceFolder\*"

but this yields a compile error if "SourceFolder" is empty.
Lenge is offline   Reply With Quote