Skip to main content
The install window works without any styling. This page shows how to make it look like your app: add your logo and color, pick a built-in style, add a license, and change what it says. Keep bach watch running while you try things; it reopens the preview every time you save.
bach.toml
  • app.icon is a .ico file used for the setup file in File Explorer and the window’s icon. Without it, the setup file has Bach’s icon.
  • installer.logo is the picture at the top of the window, a .png or .svg. Without it, Bach uses the largest PNG image inside your .ico. If neither exists, the window shows the Bach mark.
  • logo = "none" shows no logo at all.
An .svg logo is drawn in a single color that follows light or dark mode, so use a .png for a colorful logo. A wide PNG, such as your name as a wordmark, keeps its shape. Export a PNG at about twice the size you want it to appear, so it stays sharp. logo_height (32 to 96) changes how tall it is.

A one-line description

bach.toml
The description appears under Install Hello Notes and as the shortcut’s tooltip.

Color and light or dark

bach.toml
accent colors the buttons, the progress bar and ticked boxes. Bach picks black or white button text so it stays readable. Without it, buttons are black in light mode and white in dark mode. theme is "system" (follow the user’s Windows setting, the default), "light" or "dark". Some built-in styles default to dark.

Built-in styles

A style changes fonts, colors, corners and background together. Bach’s own style, bach, is the default for every app. There are 13 others, from a quiet paper look to terminal and game styles such as arcade.
When you’ve picked one:
bach.toml
You can change individual parts of a style in [style]:
bach.toml
If you set an accent here, remove installer.accent; Bach refuses to have both.

Layouts

A layout changes how the window is arranged, for example with a large picture next to the choices. The default is classic.
bach.toml
Layouts with pictures look best when you give them a picture. See [layout] for sizes, spacing and animation settings.

Languages

The window is translated into 19 languages and uses the user’s Windows language. Texts you don’t change stay translated.
bach.toml
With a list, the window uses the user’s language if it’s on the list, and your first one otherwise. With one entry, such as ["en"], the window always uses it. Leave the setting out to offer all 19: en English, de Deutsch, nl Nederlands, fr Français, es Español, it Italiano, pt Português, pl Polski, ru Русский, tr Türkçe, ja 日本語, ko 한국어, zh 简体中文, zh-tw 繁體中文, sv Svenska, cs Čeština, vi Tiếng Việt, id Bahasa Indonesia, hi हिन्दी See a language without changing Windows with bach preview --lang de.

A license page

bach.toml
Users must accept the license before they can install. The file must be plain text, saved as UTF-8 or UTF-16. An update only shows it again if the text changed. For one file per language:
bach.toml

Change what the window says

Every text in the window has a name, and [text] replaces it:
bach.toml
{name}, {version} and {publisher} are filled in. If your window speaks several languages, give each one:
bach.toml
If you give only one language while the window offers more, bach check warns you. [text] lists every text name with its English wording.

Other window options

bach.toml

See the result

The installer window describes every page your users can see.