Old 8th November 2011, 15:34   #1
d347hm4n
Junior Member
 
Join Date: Nov 2011
Posts: 2
Copying files

Pretty simple really, I have a folder which is next to my output Setup.exe I want to copy all of the files from that folder into my installation directory:

code:

CreateDirectory "$INSTDIR\XML"
CopyFiles "XML\*.xml" "$INSTDIR\XML"



Doesn't work, keeps saying copying failed.

What am I doing wrong?
d347hm4n is offline   Reply With Quote
Old 8th November 2011, 15:37   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Don't use a relative source path; use $EXEDIR.

Stu
Afrow UK is offline   Reply With Quote
Old 8th November 2011, 15:45   #3
d347hm4n
Junior Member
 
Join Date: Nov 2011
Posts: 2
Cheers dude.
d347hm4n 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