I want to make an Inno Setup script that installs an .exe file, several .dll files, a zip folder, and a regular folder.
I’m fairly certain that I go about the .exe and .dll files like any ordinary file. However, how do I go about the two folders?
My script as it stands:
[Setup]
AppName=My Program
AppVersion=1.5
DefaultDirName={pf}\My Program
DefaultGroupName=My Program
Compression=lzma2
SolidCompression=yes
OutputDir=userdocs:Inno Setup Examples Output
[Files]
Source: "MyProg.exe"; DestDir: "{app}"
If you are creating empty directories, you can add a [Dirs] section to your script. If you want to put a directory of files into the setup and install them, you can use the recursesubdirs flag on your files section. Here’s an example of both.