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

# bach inspect: see what a setup file carries

> bach inspect FILE: prints what a Bach setup file or an installed uninstall.exe carries, from app id and files to options, languages and update feed.

`bach inspect` reads a Bach setup file, or the `uninstall.exe` an install left behind, and prints what is inside. It also reads signed setup files.

```bash theme={null}
bach inspect "dist/Hello-Setup-1.4.0.exe"
```

| Argument | Meaning |
| - | - |
| `FILE` | A setup file, or an installed `uninstall.exe` |

The command refuses a file that is not a Bach setup file.

## What it prints

| Line | Meaning |
| - | - |
| Installer or Uninstaller for `<name> <version>` | Which kind of file it is |
| App id | The id that recognises the install |
| Publisher, Program | From `[app]` |
| Files | The number of files and their total size |
| Installs to | `%LOCALAPPDATA%\Programs\<folder>`, marked `(fixed)` when the folder cannot change |
| Options | The shortcut, Start menu, autostart and `PATH` options, each marked offered, ticked or always |
| Component | Each component with its id, title and file count |
| Opens links, Opens files | Link schemes and file types |
| Languages | The languages, or all 13 following Windows |
| License | Whether a license page comes first, and for which languages |
| Own texts | The `[text]` keys you replaced |
| Requires | Each requirement |
| Shortcut | Each extra shortcut |
| Updates | The update feed |
| Data | The data folders |
| Packed | The size of the compressed archive (setup files only) |
| Chosen | On an uninstaller: the choices the user made |
| Built by | The Bach version that built the file |

Only the lines that apply are shown.


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