Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Extract a folder from install package (http://forums.winamp.com/showthread.php?t=301121)

PiratePlunder 16th December 2008 14:06

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.

Anders 16th December 2008 14:16

file /r c:\foobar

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

PiratePlunder 16th December 2008 14:31

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.


All times are GMT. The time now is 04:31.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.