1. Build the app
--no-bundle (Tauri 2) skips Tauri’s own installer formats. The program ends up in src-tauri/target/release.
2. Create bach.toml
Run this in your project’s top folder, the one that containssrc-tauri:
src-tauri/tauri.conf.json and src-tauri/Cargo.toml. A result looks like this (without the commented-out options):
bach.toml
publisheris taken from the middle part of your bundle identifier (com.acme.clipgivesacme). Write your real name.executableis the program Cargo builds. It’s usually named after the crate, not the product name.excluderemoves Cargo’s build leftovers, including Tauri’s own installers inbundle/.
3. Check the file list
target/release collects many files. Read the list and make sure it holds your program and what it needs, and nothing else. If your app uses sidecar programs or resource files, check they’re listed. For full control, copy the files you need into a clean folder and set source to that folder.
4. Build
About WebView2
Tauri apps show their window with Microsoft’s WebView2. Windows 11 includes it, and most Windows 10 computers have it, but not all. The requirement makes the installer check for it first. If it’s missing, the window explains what’s needed and links to Microsoft’s download page; the user installs it and clicks Try again. See Requirements for details.Updates
Tauri’s updater plugin expects Tauri’s own installers. Use Bach’s automatic updates instead, and don’t ship both.Next steps
- Customize the install window
- Windows integration, such as
myapp://links - Sign your setup file