Pascal Scripting: Introduction

The Pascal scripting feature (modern Delphi-like Pascal) adds lots of new possibilities to customize your Setup or Uninstall at run-time. Some examples:

An integrated run-time debugger to debug your custom Pascal script is also available.

The scripting engine used by Inno Setup is RemObjects Pascal Script by Carlo Kok. Like Inno Setup, RemObjects Pascal Script is freely available and comes with source. See [external link] for more information.

Note: the Pascal scripting feature works exclusively at run-time, and has no compile-time functionality.

See also:
Creating the [Code] section
Event Functions
Scripted Constants
Check Parameters
BeforeInstall and AfterInstall Parameters
Uninstall Code
Support Functions Reference
Support Classes Reference
Using Custom Wizard Pages
Using DLLs and .NET assemblies
Using COM Automation objects