Rob Hunter
Rob Hunter

Reputation: 2837

How can you harvest files for Inno Setup

I am trying to find a tool similar to heat for WiX that will allow me to harvest file and folder entries for Inno Setup. Is there anything available?

Edit: Heat is used to harvest installation artifacts (files, folders, registry entries, etc) from a machine and generate a WiX source file. I know Wise for Windows Installer had a wild card option that performed a similar function. I have not found anything similar for Inno Setup.

I am trying to include hundreds of files (dozens of folders) of sample projects and data to go with our application installation. These will change between releases and I was hoping to automate this portion of the installation authoring.

Upvotes: 3

Views: 1030

Answers (1)

Miral
Miral

Reputation: 13085

You can include an entire directory tree via wildcards and recursion, eg:

[Files]
Source: somewhere\root\*; DestDir: {app}\Data; Flags: recursesubdirs

(If you want to include empty directories as well, add the createallsubdirs flag too.)

There is no direct equivalent for registry entries, but eg. ISTool can convert a .reg file into the corresponding [Registry] entries.

Upvotes: 9

Related Questions