Skip to main content
bach build normally writes one setup file for 64-bit Intel and AMD computers. This page covers the other kinds of builds you can get from the same bach.toml.

Online installer

An online installer is a small setup file without your app inside. When someone runs it, it downloads the newest version from your update feed and installs it. Your download link never has to change.
bach.toml
bach build then writes both the normal setup file and <name>-Web-Setup.exe. bach build --online does it once without the setting. The online installer is about the size of Bach’s install window (around 9 MB).
  • The download is checked against the feed’s checksum, the app id and the version before it runs.
  • It needs a network. Without one, the window says so, and Try again continues.
  • It always installs the newest version, including components added since it was built.

Profiles

A profile is a variation of your build that changes only some settings. For example, a version for companies and a portable ZIP:
bach.toml
Inside a profile, write only what differs. Sections are merged setting by setting; lists such as [[components]] are replaced as a whole.

Portable ZIP

kind = "zip" makes a ZIP of your files, which people can unpack and run without installing. It includes the components ticked by default. It has no install window, no uninstaller and no updates, and can’t be protected with an access key.

Company version

A setup profile has the same app id as your main build, so it counts as the same app on a computer. If both should be installable side by side, give the profile its own app.id and installer.folder. Profile builds don’t change your update feed.

ARM64

Your x64 setup file also runs on Windows on ARM computers. If you have a native ARM64 build of your app, you can ship an ARM64 setup file too:
bach.toml
You need the ARM64 version of Bach’s install window. It’s bach-setup.exe in bach-<version>-windows-arm64.zip on the releases page:
You can also set it as runtime in [arch.arm64]. You get Hello-Setup-1.4.0.exe and Hello-Setup-1.4.0-arm64.exe, and with [updates], one feed listing both. --x64-only skips the ARM64 build. See [arch.arm64].

macOS

A [macos] section builds a Mac version too. See Ship for macOS.

MSI

bach build --msi writes a Windows Installer package for companies. See Company deployment.