Windows installer exit codes
The Engarde Windows installer (Engarde_<version>_x64-setup.exe) is an NSIS
installer. It installs per user (no administrator rights, no UAC prompt) and
bundles the WebView2 runtime installer, so no network access is needed during
installation.
Silent install
text
Engarde_<version>_x64-setup.exe /S| Parameter | Effect |
|---|---|
/S |
Silent install, no UI |
/P |
Passive install: progress only, no prompts |
/UPDATE |
Update mode; also allows a silent reinstall of the same version |
/NS |
Do not create shortcuts |
/D=<path> |
Install directory; must be the last argument, without quotes |
Exit codes
| Code | Meaning |
|---|---|
0 |
Installation successful |
1 |
Installation cancelled by user (NSIS default) |
2 |
Installation aborted by the installer script (generic failure, including a failed WebView2 setup) |
112 |
Not enough free disk space (at least 400 MB is required on the install volume) |
1602 |
Installation cancelled by user |
1618 |
Another Engarde installation is already in progress |
1638 |
The same version is already installed (silent install without /UPDATE) |
3010 |
Installation successful, a reboot is required |
Any other non-zero code means the installation failed.
Scenario mapping
| Scenario | Exit code(s) |
|---|---|
| Installation successful | 0 |
| Installation cancelled by user | 1602, 1 |
| Application already exists | 1638 |
| Installation already in progress | 1618 |
| Disk space is full | 112 |
| Reboot required | 3010 |
| Network failure | not applicable: the installer does not download anything |
| Package rejected during installation | 2 |
The codes 112, 1602, 1618, 1638 and 3010 follow the standard Windows
system error codes
and Windows Installer error codes.