ScamAvert Installer Return Codes
Reference documentation for the ScamAvert Windows installer
This page documents the return codes used by the ScamAvert Windows installer for Microsoft Store and support purposes.
ScamAvert for Windows is distributed as a signed EXE installer. The installer is designed to support silent installation for Microsoft Store delivery and enterprise-style deployment checks.
Silent install parameters
The ScamAvert installer supports the following silent install parameters:
/VERYSILENT /SUPPRESSMSGBOXES /NORESTART
For Microsoft Store package submission, these are the installer parameters used for silent installation.
Standard installer return codes
| Return code | Meaning | Notes |
|---|---|---|
| 0 | Installation successful | The installer completed successfully. This may also be returned when an existing installation is updated or repaired successfully. |
| 1 | Setup initialisation failed | The installer could not start correctly, or installation could not proceed because another installation is already in progress or a required precondition failed. |
| 2 | Installation cancelled by user before installation started | The user cancelled setup before the main installation phase began. |
| 3 | Preparation or pre-flight check failed | Setup could not continue during the preparation phase. This can include checks such as insufficient permissions, insufficient free disk space, or other pre-installation validation failures. |
| 4 | Fatal error during installation | A fatal error occurred during the main installation phase. |
| 5 | Installation cancelled by user during installation | The user cancelled setup after the installation process had already started. |
Microsoft Store scenario mapping
The table below explains how these return codes map to common Microsoft Store EXE installer handling scenarios.
| Scenario | Return code | Explanation |
|---|---|---|
| Installation successful | 0 | The installation completed successfully. |
| Application already exists | 0 | ScamAvert supports installation over an existing version as an update or repair flow. A successful existing-app handling path returns 0. |
| Installation cancelled by user | 2 or 5 | Code 2 may be returned if the user cancels before installation begins. Code 5 may be returned if the user cancels during installation. |
| Installation already in progress | 1 | Returned when setup cannot proceed because another installer process or required installation state is already active. |
| Disk space is full | 3 | Returned when setup cannot proceed because pre-flight checks detect insufficient free disk space. |
| Reboot required | 0 | The Store build is launched with /NORESTART; the installer does not automatically restart the device. If a restart is required by Windows, the app or installer may prompt the user later where appropriate. |
| Network failure | Not applicable | The Microsoft Store full installer is an offline installer. It does not download the main app payload during installation. |
| Package rejected during installation | 1 or 4 | If Windows blocks setup before installation starts, this may appear as an initialisation failure. If setup starts and then fails during installation, this may appear as a fatal installation error. |
Additional notes
The ScamAvert Windows installer may request administrator permission because the app installs protection-related components such as startup/background protection, signed helper binaries, firewall rules, scheduled tasks, a watchdog task, a URL protocol handler, and supporting local protection components.
The Microsoft Store full installer is designed to be a standalone offline installer. It does not download the main application payload during installation.
No unrelated third-party software, browser toolbar, adware, bundled offer, or cryptocurrency miner is installed.
For support or installation issues, please contact:
or use: