Inno Setup script for copying folders

Roman Prykhodchenko picture Roman Prykhodchenko · May 11, 2010 · Viewed 15.5k times · Source

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

Answer

Alexander Kosenkov picture Alexander Kosenkov · Jul 5, 2010

Just use Flags: recursesubdirs

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

If you need to exclude something, add Excludes parameter.