[Setup] section

Inno Setup

[Setup] section

This section contains global settings used by the installer and uninstaller. Certain directives are required for any installation you create. Here is an example of a [Setup] section:

[Setup]
AppName=My Program
AppVersion=1.5
DefaultDirName={pf}\My Program
DefaultGroupName=My Program

By default, any leading or trailing whitespace in a directive's value will be stripped. It is possible to avoid this by surrounding the directive's value in double quotes (").

The following directives can be placed in the [Setup] section:

(bold = required)

Compiler-related

Installer-related

Functional: These directives affect the operation of the Setup program, or are saved and used later by the uninstaller.

Cosmetic: These directives only affect the appearance of the Setup program.

Obsolete

These directives are obsolete and should not be used in any new scripts.