Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 16th December 2008, 14:06   #1
PiratePlunder
Junior Member
 
Join Date: Dec 2008
Posts: 2
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.
PiratePlunder is offline   Reply With Quote
Old 16th December 2008, 14:16   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 2,776
file /r c:\foobar

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

IntOp $PostCount $PostCount + 1
Anders is online now   Reply With Quote
Old 16th December 2008, 14:31   #3
PiratePlunder
Junior Member
 
Join Date: Dec 2008
Posts: 2
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.
PiratePlunder is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump