Old 23rd September 2010, 07:55   #1
Junior Member
Join Date: Jun 2010
Posts: 20
How to copy the folders using 'File' in installer script?

For example:
  1. If my script exists in a folder "C:\code\installer\"
  2. And my $INSTDIR is setto "C:\sampleProject".
  3. and my sample project have multiple features...each feature needst to copy in to diffrent folder. ex:- "C:\sampleProject\fea1", "C:\sampleProject\fea1\", "C:\sampleProject\fea2\"...etc.,
  4. And the source for all these features are needs to take from "C:\code\fea1", "C:\code\fea2"...etc.,
  5. is this possiable to copy using 'File'? if yes, how? if no, is there any otherway to do this.

nv_rajanikanth is offline   Reply With Quote
Old 23rd September 2010, 09:07   #2
Afrow UK
Afrow UK's Avatar
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
File /r ..\fea1
File /r ..\fea2

You could also do...
File /x installer /r ..
...but note /x is recursive. Other files/folders called "installer" will be ignored.

Afrow UK is offline   Reply With Quote
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