Skip to main content
This guide makes a Bach setup file for a Tauri app. Tauri builds your program; Bach packages it. You don’t need Tauri’s own installers.

1. Build the app

Use whatever starts the Tauri CLI in your project. --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 contains src-tauri:
Bach reads src-tauri/tauri.conf.json and src-tauri/Cargo.toml. A result looks like this (without the commented-out options):
bach.toml
What to check:
  • publisher is taken from the middle part of your bundle identifier (com.acme.clip gives acme). Write your real name.
  • executable is the program Cargo builds. It’s usually named after the crate, not the product name.
  • exclude removes Cargo’s build leftovers, including Tauri’s own installers in bundle/.

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