Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 15th January 2008, 00:10   #1
shauku
Junior Member
 
Join Date: Jan 2008
Posts: 2
How to define whole directory instead of single files that should be installed

*at first: sorry for my English

I have a problem, I need to install large amount of files, that are divided in more directories, and the mass of files is too big to write and define them all with "file"

I need to define 4 folders, that should be just copied to a installpath.

with "file test.txt" I got something like "take this file, include it into my install.exe and then extract it to a directory chosen by user using that install.exe"

and I need "take this and this directory include it into my my install.exe and then extract it to a directory chosen by user using that install.exe"

I hope you will get, what I mean.
shauku is offline   Reply With Quote
Old 15th January 2008, 01:34   #2
Dave
Junior Member
 
Join Date: Mar 2006
Posts: 5
Include File directories and their contents

Hi, you probably want File /r <directory>
That will similarly include the directory and all it's subdirectories. File also allows for [partial] pattern matching, just for your information. Otherwise, refer to the user manual for the File directive, though I think what you want is File /r
Enjoy,
Dave :)

By the way, the /r is for Recursive (recursively include files/directories).
Dave is offline   Reply With Quote
Old 15th January 2008, 08:09   #3
shauku
Junior Member
 
Join Date: Jan 2008
Posts: 2
That's it, thank you very much ... I was browsing the manual but I don't get it. (lamed)
shauku is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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