PDA

View Full Version : Inno Setup question



Darth Marsden
05-20-2010, 08:23 AM
Man, I wish we still had a Tech section.

Could one of you guys give me a hand with a (no doubt simple) problem I'm having with Inno Setup? I'm trying to create a custom installer for a bunch of games I want to back up, and I'm having trouble finding out how to just tell the program to install every file, folder and files in those folders.

I know the code to make the installer find every file in a select folder, for example, is:

Source: "C:\Ben Jordan\Case 1\*"; DestDir: "{app}\Case 1\";

However, I would then have to do the same bit of code for every single subfolder. Surely there's got to be a way of telling Inno to just install EVERYTHING, subfolders and all. Surely?

Anyone know that bit of code that I'm after?

EDIT: Don't worry, I found it. The line of code I needed was:

Source: "C:\Ben Jordan\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs

Sorry to bother you guys!