INNO-SETUP Course

Introduction

InnoSetup is allowing you to create modern Windows installers. For now, this course is quite empty, but more help might be added if people are using more advanced concepts than I do.

First, download the software here, and you might check their GitHub. Simply install and run the software. When starting, choose Create a new file using the Script wizard and follows the steps. That's quite easy.

The generated file will be a xxx.iss kind of file.


Keep folders

If you added a folder because you need the same folder with the same files inside, then replace

Source: "a\path\to\app\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs

with

Source: "a\path\to\app\*"; DestDir: "{app}\app"; Flags: ignoreversion recursesubdirs createallsubdirs

Run from the command line

You can run your setup from the command line, it can be useful if you want to run an installer from another program.

# only show the progress bar
> file.exe /SILENT
# no installer
> file.exe /VERYSILENT
# no installer, check the task "desktopicon" and "postinstall"
# (if you got these tasks)
> file.exe /VERYSILENT /MERGETASKS="desktopicon,postinstall"

Sources

Help