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

Reply
Thread Tools Search this Thread Display Modes
Old 29th November 2001, 14:48   #1
grrbzz
Junior Member
 
Join Date: Nov 2001
Location: Canada
Posts: 1
Post Recursive use of CopyFiles (File /r without having to put all the file inside the exe

im making an installation for a cdrom that can be run directly from the cd or from the harddrive ..i tested two method of installing everything..

using SetOutPath/File compress and inserts everything inside the exe leading to a duplication of the data on the same cd..

using CopyFiles would take a long time since theres approximatly 500files to install..

i am now looking at making a function to copy recursivly . but im wondering if there is something already out to do this faster..

it would save me valuable time if somebody could help me on this.
grrbzz is offline   Reply With Quote
Old 29th November 2001, 17:53   #2
F. Heidenreich
Member
 
F. Heidenreich's Avatar
 
Join Date: Nov 2001
Location: Dresden, Germany
Posts: 97
Since CopyFiles uses SHFileOperation it's possible to do things like
code:

Name "Test"
Outfile "Test.exe"

Section "Test"
CopyFiles "D:\TEST\*" "C:\"
SectionEnd


All files, subdirectories and files in subdirectories under D:\TEST\ will be copied to C:\

Hope this helps -
Regards,
~ Florian
F. Heidenreich 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