bach command return.
Setup file and uninstaller
uninstall.exe --update --silent exits with the code of the setup it ran.
A silent run exits with 1 when:
- a requirement is missing,
- the install is older than the one on the computer and
--allow-downgradewas not passed, - a first install would replace files that are already in the folder and
--overwritewas not passed, - the app is open, another setup for it is running, the disk is full, or a file could not be written.
%TEMP%\<app id>-setup.log, or the file given with --log.
The bach command
Because every failure produces a non-zero code and one clear sentence,
bach build and bach check work in pipelines as they are.