[[migrate]] names the old installation so setup removes it first. Walkthrough, including how to find the key: Migrate to Bach.
bach.toml
Behavior
- Runs only on a first Bach install, before any file is placed.
- Runs only the command in that entry, without a shell, and only if it’s an absolute path to an existing
.exe. - Waits up to 15 minutes for the old uninstaller, then up to 90 seconds for its entry to disappear.
- Never stops your install. Anything that goes wrong is logged and the install continues.
- Doesn’t touch user data; the old uninstaller decides what it removes.
Limits on elevated removal
- A per-user old install is never run by a setup that has administrator rights.
- An all-users old install is removed only with
elevated = true(or when setup is already elevated), and only if its uninstaller is inside Program Files or the Windows folder.
bach inspect shows entries as Replaces. Windows only.