Skip to content

Exit code for packages and installers

The exit code is the value returned by a terminating package or installer to the invoker. This is particularly useful in batch processing or when executing commands from the command line.

Packages and installers created with Paquet Builder automatically set their exit codes based on the execution outcome (success or error). The table below lists the possible default values.

Default exit code values for Paquet Builder packages

Section titled “Default exit code values for Paquet Builder packages”
ValueMeaning
-3Corrupted data detected (error while decompressing data; initialization error from loader).
-2Cannot create runtime DLL (initialization error from loader).
-1Cannot create temporary folder (initialization error from loader).
0No error (execution successful).
1Error while decompressing files.
2Aborted by the end user.
3Unexpected error - Fatal Windows error (rare).