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

# What your users see

> Every page of the Bach install window: requirements, license, install, progress, success and errors, plus updates, repair, removal and keyboard use.

This page describes every screen your users can come across, so you know what to expect and can help them. The window is one column: your logo, a heading, one line of text, the choices, and buttons at the bottom. A [layout](/docs/guides/customize-the-window.md#layouts) can arrange it differently.

![The install page in light mode with the install location, a component, and desktop shortcut and start-with-Windows options](https://mintcdn.com/bach/Nejvqm3NCmw8u8dx/images/install-light.png?fit=max\&auto=format\&n=Nejvqm3NCmw8u8dx\&q=85\&s=cd71edab53dfda9f6780fd902884e2b2)

A first install, in light and dark mode.

## Pages, in order

1. **Missing requirement.** Only if something is missing. Names it, offers a button to download it, **Try again**, and **Continue anyway** for the case that it's installed but wasn't found.
2. **Access key.** Only for apps with [`[access]`](/docs/guides/paid-apps).
3. **License.** Only with `installer.license`. The user clicks **I agree**. Updates show it again only if the text changed.
4. **Install.** The location, optional parts and options, and the **Install** button.
5. **Progress.** A progress bar with what's happening. **Cancel** is available while files are unpacked.
6. **Done.** **Open \<app>**, an optional website link, and **Close**.
7. **Failed.** A sentence saying what went wrong, **Try again** and **Save support info**.

## The first page depends on the computer

| On the computer | Heading | Button |
| - | - | - |
| Not installed | Install \<app> | Install |
| Same version | Reinstall \<app> | Reinstall, plus Repair |
| Older version | Update \<app> | Update |
| Newer version | Install an older \<app>? | Install anyway |
| Damaged setup file | Nothing to install | none |

Updates can't change the folder. **Repair** checks every installed file against the setup file and restores missing or changed ones, then redoes shortcuts and registration. It doesn't touch other files or user data. From a script, use `--repair`.

If a first install would replace files that don't belong to your app, the window asks before continuing.

All texts can be changed in [`[text]`](/docs/reference/config/text).

## When the app is running

The window says the app is still open and offers **Close and continue**, which asks the app to close so it can save first. It never forces the app to quit.

## Errors

Errors are written as sentences with a way forward, for example "There isn't enough free space" with the size needed and free, or the name of a file that's in use. If Windows reports "access denied" and no program holds the file, the message names the file and Windows' reason. The log has the details.

## Save support info

The failed page can save one text file, `<app id>-support.txt`, to the desktop. It contains app and Bach versions, the Windows build, processor type, whether setup ran as administrator, the install folder, free space, the error message and the log. User names and profile paths are replaced, and it contains none of your app's files and no access key. Nothing is sent anywhere; the user can send you the file.

## Cancel

Cancelling while files are being unpacked removes what was unpacked and leaves the computer as it was. Once files are being moved into place, cancel is no longer offered. Removing an app can't be cancelled.

## Removal

The uninstaller asks to confirm with **Remove \<app>**, offers **Also delete my data** (unticked) if you listed [data folders](/docs/guides/uninstall-and-user-data.md), shows progress, and ends with a page saying whether data was kept. With `uninstall.feedback_url`, it links **Tell us why**.

## Keyboard and accessibility

| Key | Does |
| - | - |
| Tab, Shift+Tab, arrow keys | Move between choices and buttons |
| Home, End | First or last control |
| Space, Enter | Click |
| Enter with nothing focused | The main button |
| Escape | Cancel |
| Ctrl+A, Ctrl+C on the license | Select all, copy |
| Page Up, Page Down on the license | Scroll |

The whole row of an option can be clicked. A focus ring appears once the keyboard is used. In Windows contrast themes, outlines and text use full contrast. With Windows animations turned off, the window doesn't animate.

## See it yourself

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


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