[feat] Add Inno Setup as a Windows bundling target
Describe the problem
I'm building a Tauri app for Windows and finding the current NSIS bundler a bit painful to work with when I need anything beyond the basics. NSIS scripts are hard to read and maintain, and customizing install behavior (custom pages, conditional logic, upgrade flows) quickly turns into a mess. I know I can post-process with a custom .iss and iscc, but that means losing all the native integration Tauri already has—auto-injected paths, WebView2 handling, versioning, updater markers.
Describe the solution you'd like
Add Inno Setup as a first-class Windows bundle target (e.g. tauri build --bundles inno), alongside the existing NSIS and WiX options.
Inno Setup has a few things going for it that make it worth considering:
- Pascal Script is way more readable and maintainable than NSIS's stack-based syntax
- Built-in
AppId+ version upgrade handling (no manual registry gymnastics) - Excellent silent install support out of the box (
/VERYSILENT,/SILENT) - Mature code-signing and multi-language UI
- Used by large desktop apps (VS Code, Discord, etc.) so it's well-tested in the wild
The implementation would follow the same pattern as the NSIS backend—configurable .iss template, variable injection from tauri.conf.json, invoke iscc during bundle, handle WebView2 bootstrapper, proper uninstall/upgrade registration.
This wouldn't replace NSIS, just give people another option.
Alternatives considered
- Post-build script calling
isccmanually — works for a basic install/uninstall, but I lose WebView2 integration, updater bundle markers, and have to manually keep paths/versions in sync withtauri.conf.json. It's fragile. - Stick with NSIS — it works, but the scripting experience is rough and customizing behavior gets ugly fast.
- WiX/MSI — doesn't fit my use case; I want a single exe installer, not an MSI, and WiX has its own complexity.
Additional context
I'm aware adding another bundler means more maintenance burden on the project, so I wanted to open this as a discussion before writing any code. If the maintainers are open to it, I'd be happy to work on a PR. If not, that's totally fair—just wanted to put it out there.
From an implementation standpoint, the main pieces would be:
- New
PackageType::Innovariant and CLI flag .isstemplate rendering with variable injection (app name, version, identifier → AppId, install mode, etc.)isccdiscovery/invocation in the bundle step- WebView2 bootstrapper handling (similar to how NSIS does it)
- Uninstall/upgrade registration via Inno's native
AppIdmechanism - Config schema additions under
bundle.windows.inno.*
I looked at VS Code's code.iss as a reference for how a production-grade Inno setup handles per-user/per-machine, shortcuts, file associations, and environment variables—it's a good model to follow.
Source: tauri-apps/tauri