> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Bach builds Windows installers from one bach.toml with the bach command: bach init, bach check, bach preview, bach build. Installs are per user and need no administrator rights by default. installer.scope = "machine" installs for every user after one Windows prompt. On Windows, run setup files with Start-Process -Wait -PassThru in PowerShell, and give signtool arguments that start with the word sign.

# Customize the install window

> Change the install window's logo, colors, theme, style, layout, languages, license page and texts, and preview each change as you make it.

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.

## Icon and logo

```toml bach.toml theme={"theme":{"light":"github-light","dark":"github-dark"}}
[app]
name = "Hello Notes"
version = "1.0.0"
publisher = "Your Name"
executable = "hello-notes.exe"
icon = "assets/app.ico"

[installer]
logo = "assets/logo.png"
```

* `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

```toml bach.toml theme={"theme":{"light":"github-light","dark":"github-dark"}}
[app]
name = "Hello Notes"
version = "1.0.0"
publisher = "Your Name"
executable = "hello-notes.exe"
description = "Quick notes that stay on your computer."
```

The description appears under **Install Hello Notes** and as the shortcut's tooltip.

## Color and light or dark

```toml bach.toml theme={"theme":{"light":"github-light","dark":"github-dark"}}
[installer]
accent = "#2563eb"
theme = "system"
```

`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`.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
bach styles                        # describes all 14
bach preview --style arcade        # try one without editing bach.toml
```

When you've picked one:

```toml bach.toml theme={"theme":{"light":"github-light","dark":"github-dark"}}
[installer]
style = "arcade"
```

You can change individual parts of a style in [`[style]`](/docs/reference/config/style):

```toml bach.toml theme={"theme":{"light":"github-light","dark":"github-dark"}}
[style]
font = "fonts/Outfit.ttf"          # a font file ships in the setup file
accent = "#22d3ee"
radius = 12
background_image = "art/backdrop.png"
```

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`.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
bach layouts
bach preview --layout showcase
```

```toml bach.toml theme={"theme":{"light":"github-light","dark":"github-dark"}}
[layout]
preset = "showcase"
panel_image = "art/hero.jpg"
```

Layouts with pictures look best when you give them a picture. See [`[layout]`](/docs/reference/config/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.

```toml bach.toml theme={"theme":{"light":"github-light","dark":"github-dark"}}
[installer]
languages = ["en", "de"]
```

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

```toml bach.toml theme={"theme":{"light":"github-light","dark":"github-dark"}}
[installer]
license = "LICENSE.txt"
```

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:

```toml bach.toml theme={"theme":{"light":"github-light","dark":"github-dark"}}
[installer]
license = { en = "LICENSE.txt", de = "LIZENZ.txt" }
```

## Change what the window says

Every text in the window has a name, and `[text]` replaces it:

```toml bach.toml theme={"theme":{"light":"github-light","dark":"github-dark"}}
[text]
install_title = "Get {name}"
footer = "Made with care by {publisher}"
```

`{name}`, `{version}` and `{publisher}` are filled in. If your window speaks several languages, give each one:

```toml bach.toml theme={"theme":{"light":"github-light","dark":"github-dark"}}
[text]
install_title = { en = "Get {name}", de = "Hol dir {name}" }
```

If you give only one language while the window offers more, `bach check` warns you. [`[text]`](/docs/reference/config/text) lists every text name with its English wording.

## Other window options

```toml bach.toml theme={"theme":{"light":"github-light","dark":"github-dark"}}
[app]
name = "Hello Notes"
version = "1.0.0"
publisher = "Your Name"
executable = "hello-notes.exe"
website = "https://example.com"

[installer]
open_button = true                 # "Open Hello Notes" on the last page
website_button = true              # a "Website" link on the last page
start_menu_folder = "Your Name"    # group shortcuts in a Start menu folder
```

## See the result

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
bach preview
bach preview --theme dark --lang de
bach preview --uninstall
```

[The installer window](/docs/concepts/installer-window.md) describes every page your users can see.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.