Archive: Extract a folder from install package


Extract a folder from install package
This is probably a stupid question, but i cant find anything about it anywhere. I'm completely new to this so please bare with me...

So you use:

section
SetOutPath $INSTDIR
file myfile.txt
sectionEnd

To extract a file from your install package to the install directory. But is there an easy way to extract a complete directory, with sub directory and lots of files.


file /r c:\foobar

...all of this is of course documented in the helpfile


You're right it is there so I'm sorry - but in fairness its really not clear, unless you know that directories are handled with file you'ld read through that quickly and totally miss it.

Anyway, thanks for helping. Problem sorted.