tags:

views:

194

answers:

2

Hi!

I need an Inno Setup script that copies a folder recursively.

+1  A: 

[Files] section entries can use a Check parameter...

Kyle Alons
But there isn't any world about this parameter in the manual about [Files] section. Thank you. Your answer helped.
Roman Prykhodchenko
True, although the help for Check parameters states "There is one optional parameter that is supported by all sections whose entries are separated into parameters...".
Kyle Alons
A: 

Just use Flags: recursesubdirs

[Files]
DestDir: {app}; Source: Files\*; Excludes: "*.m,.svn,private"; Flags: recursesubdirs

If you need to exclude something, add Excludes parameter.

Alexander Kosenkov
Thank you for the answer but I've finished this project a month ago and my customer is very happy :)
Roman Prykhodchenko