Skip to main content
A profile builds the same app with some settings changed. Walkthrough: Other builds.
bach.toml
A profile name is lowercase letters, digits and -, up to 32 characters. Default outputs: dist/{name}-NAME-Setup-{version}.exe (setup) and dist/{name}-NAME-{version}.zip (zip).

Overrides

Every other key is a bach.toml section laid over the main file: app, files, installer, uninstall, components, protocols, file_types, text, requirements, shortcuts, run, registry, env, context_menu, services, firewall, migrate, updates, access, signing, style, layout, arch. Tables merge key by key; lists such as [[components]] are replaced entirely:
bach.toml
A profile can’t change config_version or contain profiles.

Notes

  • A ZIP contains the files of default-ticked components, with fixed dates so the same input gives the same ZIP. No window, uninstaller, updates, signing or encryption.
  • A setup profile has the same app.id as the main build unless you change it. To install side by side, give it its own id and installer.folder.
  • Profile builds never write the update feed. --msi also works for a setup profile.
  • Profiles are Windows builds.