Does Innosetup copy directories

I am using Innosetup to install an application that includes both individual files and a number of full directories.

I realize that I can instruct Innosetup to install individual files, but this app is a graphics package has  up to 100 .html files each of which contain many sub shapes.  To use the file method would require that I specify around 800 separate file entries. I am currently using the DOS “xcopy” command as a way to install these directories now, but I thought that there must be an easier way.

Is there some way to instruct Innosetup to install an entire directory or several directories?

Thanks,

Chris Schene
Christopher ScheneSystem Engineer/Software EngineerAsked:
Who is Participating?
 
acsellConnect With a Mentor Commented:
To copy sub-directories as well-

Source: "C:\Documents and Settings\Username\Desktop\Program\Icons\*"; DestDir: "{app}\Icons"; Flags: ignoreversion   recursesubdirs
0
 
acsellCommented:
To add the files to a new folder specift the folder name after the {apps} part as below. In the below example, icon2.ico is added to a folder called "Icons"

Source: "C:\Path to file\Icons\icon2.ico"; DestDir: "{app}\Icons"; Flags: ignoreversion

Is this what you wanted?
0
 
turn123Commented:
Hi cschene :-),
Since we haven't heard from you for a couple of days could you please give us an update on the status of this question?
See:  http://www.experts-exchange.com/help.jsp#hi51 Thank you, turn123's friendly update request script.
Offtopic comments about this script to http://www.experts-exchange.com/Applications/Q_21188389.html please :-).
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Christopher ScheneSystem Engineer/Software EngineerAuthor Commented:
Hi,

My computer crashed and I was out of email touch for about a week. I will try his reccomendation and report back.

Cschene
0
 
Christopher ScheneSystem Engineer/Software EngineerAuthor Commented:
Hi,

I finally got a chance to try this: sorry about the wait.

This doesn't seem to be what I was asking for: This copies a single file, I want to copy an entire directory tree.

I tried the following without success.

Source: ..\LinAndAssociates\*.*; DestDir: {app}; Flags: ignoreversion

Source: ..\LinAndAssociates\*; DestDir: {app}; Flags: ignoreversion


I was trying to use a wld card (*.*, and *)
0
 
acsellCommented:
Hi cschene, I've just tested this and it seems to work-

Source: "C:\Documents and Settings\Username\Desktop\Program\Icons\*"; DestDir: "{app}\Icons"; Flags: ignoreversion

0
 
Christopher ScheneSystem Engineer/Software EngineerAuthor Commented:
Yes....Your last solution works great! I gave you 400 points!

Cheers
0
 
acsellCommented:
Your welcome cschene :)

Thanks
0
All Courses

From novice to tech pro — start learning today.