Skip to main content
Scripts and IT tools decide what to do from a program’s exit code. This page lists what setup files, the uninstaller and the 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-downgrade was not passed,
  • a first install would replace files that are already in the folder and --overwrite was not passed,
  • the app is open, another setup for it is running, the disk is full, or a file could not be written.
The reason is printed to the terminal and appended to the log at %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.

Using it