[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={autopf}\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, grouped into these categories:

(bold = required)

Appearance

These directives control the appearance of the Setup program.

Application Details

These directives describe the application and control the general behavior of Setup.

Application Directory

These directives control the application's destination directory and the Select Destination Location wizard page which asks for it.

Applications in Use

These directives control what happens when the application or Setup itself is already running.

Compiler Settings

These directives control how the compiler produces the Setup files.

Compression

These directives control how the compiler compresses your files.

Disk Spanning

These directives control the number and size of the files the compiler outputs.

Installation Pages

These directives control which wizard pages Setup shows and how they behave.

See also Application Directory, Start Menu Folder, and User Information, which have their own wizard pages.

Security

These directives control the security of Setup and your files.

Start Menu Folder

These directives control the application's Start Menu folder and the Select Start Menu Folder wizard page which asks for it.

System Requirements

These directives control the systems on which Setup can run and whether it uses 64-bit install mode.

Uninstallation

These directives control uninstallation and the application's Add/Remove Programs entry.

User Information

These directives control the User Information wizard page.

Version Information

These directives specify the version resource of the files the compiler outputs.

Obsolete

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