← All guides Guide

How to sign an Inno Setup installer

Updated November 18, 2026. Leer en español, Ler em português, Türkçe oku

Add SignTool=bamboo to [Setup], flag the exe and DLL files you build with signonce, and register a sign tool named bamboo with the command cmd /c npx -y github:bamboodeploy/cli#v1.2.0 sign $f. Inno Setup then signs your files, the uninstaller and the installer during compile. The certificate stays with us, so the build machine needs no certificate file and no USB token.

1. Set your API key

Create a key in the dashboard under API Keys. It starts with bd_live_. Save it for your Windows user, then restart the Inno Setup IDE so it sees the new variable:

setx BAMBOO_API_KEY bd_live_...

A .bamboorc file in your user folder with the line BAMBOO_API_KEY=bd_live_... works too.

The sign command needs Node 18 or newer on the build machine.

2. Add the directives to the script

[Setup]
SignTool=bamboo
SignedUninstaller=yes

[Files]
Source: "MyApp.exe"; DestDir: "{app}"; Flags: signonce
Source: "MyApp.Core.dll"; DestDir: "{app}"; Flags: signonce

signonce signs a file only when it carries no signature yet, so rebuilding the installer does not sign an unchanged exe again. Use it on the files you build. Runtime files from Microsoft or other vendors are already signed by their makers: leave the flag off those.

3. Register the sign tool

In the Inno Setup IDE open Tools, Configure Sign Tools, and add a tool named bamboo with this command:

cmd /c npx -y github:bamboodeploy/cli#v1.2.0 sign $f

Compiling from a script or CI? Pass the same tool on the command line:

ISCC.exe "/Sbamboo=cmd /c npx -y github:bamboodeploy/cli#v1.2.0 sign $f" setup.iss

Inno Setup replaces $f with the quoted path of each file, so do not add quotes of your own. The command uploads the file, waits for the scan and the signature, and writes the signed file back in place, which is what Inno Setup expects.

The cmd /c prefix is required. Inno Setup starts the tool directly, without a shell, and npx is a script on Windows, not an exe.

Without Node

The .NET tool (dotnet tool install -g BambooDeploy.Sign) and the Python package (pip install bamboodeploy) both install a real bamboo-sign.exe. With its folder on PATH, the command needs no cmd /c:

bamboo-sign sign $f

4. Check the result

Right-click the finished installer, Properties, Digital Signatures. Check the installed exe and unins000.exe in the install folder the same way. To see what your users see, download the installer through a browser on a clean PC: Windows checks files that came from the web, not files copied from a network share or a USB stick.

Smart App Control

On Windows 11 with Smart App Control on, a blocked program has no Run anyway button. Smart App Control lets a file with a valid signature run, and it checks every exe and DLL as it loads, not only the file the user downloaded. A signed installer can still be stopped when it unpacks an unsigned exe or DLL, so flag every binary you build with signonce and keep SignedUninstaller=yes.

Common errors

Inno Setup reports a failure as Sign Tool command failed with exit code 0x.... Run the command by hand on one file to see the full message:

npx -y github:bamboodeploy/cli#v1.2.0 sign MyApp.exe
Exit codeMeaningWhat to do
1Bad or missing API key, file not found, or signing denied or failedRead the printed message. Check BAMBOO_API_KEY and the file path.
2Signing needs a Premium planUpgrade in the dashboard.
3Fewer than two verified connectionsVerify your email plus a domain, GitHub or similar under Connections in the dashboard.
4Timed out waiting for the signatureThe build may be waiting for review. Run the same command again once it is approved.

Failed to execute Sign Tool command means the cmd /c prefix is missing. Exit code 0x2331 (9009) means cmd could not find npx: install Node 18 or newer. Inno Setup also retries a failed command on its own; SignToolRetryCount=0 in [Setup] stops at the first failure.

FAQ

Do I need to sign the uninstaller separately?

No. With SignedUninstaller=yes Inno Setup signs unins000.exe during compile, with the same sign tool.

Are the files inside the installer signed too?

Only the ones flagged with sign or signonce in [Files]. Inno Setup signs them before it packs them, so the installed copies carry the signature.

Does it work in CI?

Yes. Install Inno Setup and Node on a Windows runner, store the key in a BAMBOO_API_KEY secret, and call ISCC with the /S option shown above.

Whose name does Windows show as the publisher?

Ours. We sign your build with our EV code signing certificate, so Windows shows our verified publisher name instead of Unknown publisher. You need no certificate, company registration or USB token of your own.

Does signing remove the SmartScreen warning at once?

Not on its own. A valid signature replaces Unknown publisher with a verified publisher, and Smart App Control lets a signed file run. SmartScreen also weighs reputation, which builds as people download and run your files, and no certificate grants it instantly, EV included. See EV certificates no longer skip SmartScreen.

What do I need before I can sign?

A Bamboo Deploy account, an API key from the dashboard, a Premium plan and two verified connections: your email plus a domain, GitHub or similar. Uploading and scanning are free.

Bamboo Deploy scans every build and signs it with our EV certificate, so you need no certificate, no company registration and no USB token of your own. Get started, or read the docs.

Other guides