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

# [uninstall]: user data and feedback

> The data, data_description and feedback_url settings, the full list of folder rules that protect users' files, and the texts the removal window uses.

`[uninstall]` describes what users may delete along with your app, and where to send them if they want to say why they left. All settings are optional. Walkthrough: [Uninstalling](/docs/guides/uninstall-and-user-data.md).

```toml bach.toml theme={"theme":{"light":"github-light","dark":"github-dark"}}
[uninstall]
data = ['%APPDATA%\Hello Notes', '%LOCALAPPDATA%\Hello Notes\Cache']
data_description = { en = "Your notes and settings.", de = "Deine Notizen und Einstellungen." }
feedback_url = "https://example.com/goodbye"
```

## `data`

List of folders, default none. The removal window offers **Also delete my data**, unticked, and deletes these folders only if ticked. The window lists the actual folders below the box.

Each folder must start with `%APPDATA%`, `%LOCALAPPDATA%` or `%USERPROFILE%`, followed by a folder of your own. Refused:

* user and Windows folders themselves, such as `Documents`, `Desktop`, `Downloads`, `Pictures`, `Music`, `Videos`, `Saved Games`, `AppData`, `Roaming`, `Local`, `LocalLow`, `Programs`, `Temp` or `OneDrive`
* anything inside `.ssh`, `.aws`, `.azure`, `.gnupg`, `.kube`, `.docker`, `.terraform` or a `Microsoft` folder
* tool and work folders directly in the user profile, such as `.config`, `.git`, `.vscode`, `.npm`, `.cargo`, `source`, `repos`, `projects`, `code` or `src`
* other programs' data, such as `Google\Chrome`, `Mozilla\Firefox`, `Code`, `Slack`, `Discord` or `Dropbox`
* a whole company folder such as `Google`, `Adobe`, `JetBrains`, `Nvidia` or `Intel`
* `NTUSER.DAT` and similar

A folder of your own inside a shared one, such as `%USERPROFILE%\Documents\My Game`, is allowed. `bach check` warns if no part of a folder resembles your app's name, id or publisher. The uninstaller also never deletes a folder that is or contains the install folder.

## `data_description`

Text or text per language, default a generic sentence. A few words about what's in those folders, shown under the box.

## `feedback_url`

`https` link, optional. The last page of the removal window shows **Tell us why**, linking to it.

## Related texts

`delete_data`, `delete_data_description`, `removed_data_deleted`, `removed_data_kept`, `step_deleting_data` and `feedback` in [`[text]`](/docs/reference/config/text).

On macOS, data folders go in [`macos.data`](/docs/reference/config/macos).


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