Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Tool:Inno Setup

From ReverseEngineering.wiki
Tool
Developer Jordan Russell / Martijn Laan
Platforms Windows
License Modified BSD-style (Inno Setup License)
Website https://jrsoftware.org/isinfo.php
On this wiki Facts · Code · Notes · Topics

Free script-driven installer builder for Windows (Jordan Russell, written in Delphi); its setup.exe is a Delphi PE stub with the compressed payload either appended or in a separate file, and the version is stored in a text marker.

Identification

A setup built by Inno Setup is a Delphi-compiled PE (Tool:Delphi), so it carries the Borland DOS stub (see Format:DOS MZ executable). Markers that name it, from the Detect It Easy rules (Tool:Detect It Easy):

  • A data section (DATA in old Delphi builds, .data in newer) smaller than 0x4000 bytes holds the text Inno Setup Setup Data (x.y.z) followed by (a) (ANSI) or (u) (Unicode) in modern versions; in very old versions the marker is i1. plus version text, 32, 0x1A.
  • An overlay (or a separate .bin file) that starts with zlb 0x1A or idska32 0x1A is the compressed setup data; with LZMA it starts with the stream directly, and a zlib stream begins 78 DA.
  • The dword/text Inno at overlay offset 0x34 marks a setup with a separate stub.
  • The uninstaller (unins000.exe, with unins000.dat) has InUn at file offset 0x30 and the text Inno Setup Messages at the start of its overlay; the .dat log starts with Inno Setup Uninstall Log (b) followed by a 64-bit/32-bit tag and a UUID.
  • A .NET-wrapped setup states in its version resource Comments: This installation was built with Inno Setup.

The idska32 signature file and structures are documented in the innounp sources (Struct5205u.pas, see the DIE rule header).

See Technique:Identifying the toolchain of a binary for the other installers.

Format details read from innoextract (loader offset table with the Inno dword at 0x30 or PE resource 11111, the 64-byte version string, CRC-checked header blocks and zlb chunks) are on Format:Inno Setup installer.

Code & repositories

  • https://github.com/dscharrer/innoextract @ 6e9e34ed0876014fdb46e684103ef8c3605e382e · license: Zlib (declared by the contributor for the files used; GitHub reports Zlib (read from LICENSE; GitHub's detector did not classify it) for the repository)
    innoextract: extracts Inno Setup installers; src/loader/offsets.cpp reads the SetupLdr offset table, src/stream the block, chunk and slice formats, src/setup/version.cpp the known version strings.
    Tested on: source read, not run · checked 2026-10-19; last activity 2025-02-06; Note: the latest release ships binaries; the wiki links only the source, never the binaries