Inno Setup 5.2.2 Online Manual
- Overview
- Download
- Buy
- Screenshot
- Reviews
- Online Manual
- Publisher
create windows installers
Online Manual of Inno Setup 5.2.2
Tips: Convert Microsoft Excel to HTML | PDF to HTML | Convert paper documents to PDF / HTML
Tips: Convert Microsoft Excel to HTML | PDF to HTML | Convert paper documents to PDF / HTML
[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
AppVerName=My Program version 1.4
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
- Compression
- CompressionThreads
- DiskClusterSize
- DiskSliceSize
- DiskSpanning
- Encryption
- InternalCompressLevel
- MergeDuplicateFiles
- OutputBaseFilename
- OutputDir
- OutputManifestFile
- ReserveBytes
- SignedUninstaller
- SignedUninstallerDir
- SlicesPerDisk
- SolidCompression
- SourceDir
- TerminalServicesAware
- UseSetupLdr
- VersionInfoCompany
- VersionInfoCopyright
- VersionInfoDescription
- VersionInfoProductName
- VersionInfoProductVersion
- VersionInfoTextVersion
- VersionInfoVersion
Installer-related
Functional: These directives affect the operation of the Setup program, or are saved and used later by the uninstaller.
- AllowCancelDuringInstall
- AllowNoIcons
- AllowRootDirectory
- AllowUNCPath
- AlwaysRestart
- AlwaysShowComponentsList
- AlwaysShowDirOnReadyPage
- AlwaysShowGroupOnReadyPage
- AlwaysUsePersonalGroup
- AppendDefaultDirName
- AppendDefaultGroupName
- AppComments
- AppContact
- AppId
- AppModifyPath
- AppMutex
- AppName
- AppPublisher
- AppPublisherURL
- AppReadmeFile
- AppSupportPhone
- AppSupportURL
- AppUpdatesURL
- AppVersion
- AppVerName
- ArchitecturesAllowed
- ArchitecturesInstallIn64BitMode
- ChangesAssociations
- ChangesEnvironment
- CreateAppDir
- CreateUninstallRegKey
- DefaultDirName
- DefaultGroupName
- DefaultUserInfoName
- DefaultUserInfoOrg
- DefaultUserInfoSerial
- DirExistsWarning
- DisableDirPage
- DisableFinishedPage
- DisableProgramGroupPage
- DisableReadyMemo
- DisableReadyPage
- DisableStartupPrompt
- EnableDirDoesntExistWarning
- ExtraDiskSpaceRequired
- InfoAfterFile
- InfoBeforeFile
- LanguageDetectionMethod
- LicenseFile
- MinVersion
- OnlyBelowVersion
- Password
- PrivilegesRequired
- RestartIfNeededByRun
- SetupLogging
- ShowLanguageDialog
- ShowUndisplayableLanguages
- TimeStampRounding
- TimeStampsInUTC
- TouchDate
- TouchTime
- Uninstallable
- UninstallDisplayIcon
- UninstallDisplayName
- UninstallFilesDir
- UninstallLogMode
- UninstallRestartComputer
- UpdateUninstallLogAppName
- UsePreviousAppDir
- UsePreviousGroup
- UsePreviousSetupType
- UsePreviousTasks
- UsePreviousUserInfo
- UserInfoPage
Cosmetic: These directives only affect the appearance of the Setup program.
- AppCopyright
- BackColor
- BackColor2
- BackColorDirection
- BackSolid
- FlatComponentsList
- SetupIconFile
- ShowComponentSizes
- ShowTasksTreeLines
- WindowShowCaption
- WindowStartMaximized
- WindowResizable
- WindowVisible
- WizardImageBackColor
- WizardImageFile
- WizardImageStretch
- WizardSmallImageFile
Obsolete
These directives are obsolete and should not be used in any new scripts.




Setup Script Sections
