Exit code for packages and installers
Exit code meaning
Section titled “Exit code meaning”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”| Value | Meaning |
|---|---|
| -3 | Corrupted data detected (error while decompressing data; initialization error from loader). |
| -2 | Cannot create runtime DLL (initialization error from loader). |
| -1 | Cannot create temporary folder (initialization error from loader). |
| 0 | No error (execution successful). |
| 1 | Error while decompressing files. |
| 2 | Aborted by the end user. |
| 3 | Unexpected error - Fatal Windows error (rare). |
Builder Exit Codes Exit codes returned by Paquet Builder during compilation.
Custom Actions Set custom exit codes using custom actions.
Variable List All available variables including %EXITCODE%.