← All guides Guide

How to sign a Flutter Windows app

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

Run flutter build windows --release, then sign the app exe and the plugin DLLs in build\windows\x64\runner\Release with npx -y github:bamboodeploy/cli#v1.2.0 sign. Build your installer from that folder and sign the installer too. Flutter has no signing step for Windows, so this goes in your release script or CI job, after the build.

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 open a new terminal 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 command needs Node 18 or newer.

2. Build, then sign the exe and plugins

flutter build windows --release
npx -y github:bamboodeploy/cli#v1.2.0 sign build\windows\x64\runner\Release\myapp.exe "build\windows\x64\runner\Release\*_plugin.dll"

Older Flutter versions write to build\windows\runner\Release, without the x64 folder. Wildcards work in every shell: the tool expands them itself.

The plugin DLLs are compiled from source in your build, so each one is a new file and worth signing. flutter_windows.dll is Flutter's prebuilt engine, the same file in every app built with the same Flutter version: leave it as shipped.

3. Sign the installer

Build the installer from the signed Release folder, then sign the installer itself. Most Flutter Windows apps use Inno Setup, where the Inno Setup guide does this in the compile step. For any other installer:

npx -y github:bamboodeploy/cli#v1.2.0 sign dist\MyAppSetup.exe

4. In GitHub Actions

- run: flutter build windows --release
- name: Sign
  uses: bamboodeploy/sign-action@v2
  with:
    api-key: ${{ secrets.BAMBOO_API_KEY }}
    files: |
      build/windows/x64/runner/Release/myapp.exe
      build/windows/x64/runner/Release/*_plugin.dll

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. Sign the exe, the plugin DLLs built with your app, and the installer.

Common errors

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.

FAQ

Which file does SmartScreen check?

The file the user downloads, usually the installer. Smart App Control goes further and checks each exe and DLL as it loads, which is why the app exe and the plugin DLLs are signed as well.

Do I sign before or after building the installer?

Both. Sign the exe and plugin DLLs first, build the installer from them, then sign the installer.

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