uninstall.exe in its folder. It removes the app and, for apps with [updates], handles updates. This page lists its options.
For a per-user app, the folder is usually %LOCALAPPDATA%\Programs\<app>. From PowerShell:
Removal
With no options, it opens the removal window. Because a program can’t delete itself, a per-user uninstaller copies itself to the temp folder and runs from there. A machine-wide one asks for administrator rights and runs in place.Updates
For apps with[updates]:
Apps without
[updates] answer update options with exit code 2.
Computers outside a staged rollout count as up to date, except for --update.
Protected apps use the key saved at install, or --key-file or BACH_ACCESS_KEY. Update runs log to %TEMP%\<app id>-update.log.
On macOS, the uninstaller is Uninstall <app>.app; run Contents/MacOS/bach-setup with the same options. --cleanup-if-removed is used by Bach’s own watcher.