Microsoft Store documentation

Installer Return Codes

This page documents the return values produced by the IA AVATAR installer, which is built with Inno Setup.

General rule

0 means that Setup completed successfully. Any non-zero code means that Setup did not run to completion.

Setup executable return codes

CodeMeaningRecommended action
0Setup completed successfully, or the Help command was used.No corrective action is required.
1Setup failed to initialize.Restart Windows, download a fresh copy and run the installer again. Check permissions and security software if the problem continues.
2The user cancelled before installation started or declined the initial confirmation.Run the installer again when ready and confirm the installation.
3A fatal error occurred while preparing the next installation phase, possibly because Windows resources or memory were unavailable.Close other programs, restart Windows and retry.
4A fatal error occurred during the actual installation process.Review the displayed error, verify disk space and permissions, restart Windows and retry with a newly downloaded installer.
5The user cancelled during installation or selected Abort in an Abort/Retry/Ignore dialog.Correct the reported problem, then restart the installer.
6Setup was forcibly terminated by the Inno Setup debugger.This is a development and testing condition. End users should download the official release build.
7The “Preparing to Install” stage determined that installation could not proceed.Read the displayed message, close conflicting applications, verify requirements and retry.
8Installation could not proceed and Windows must be restarted to correct the problem.Restart Windows, then run the installer again.

Unexpected or miscellaneous values

Future Inno Setup versions may introduce additional values. IA AVATAR treats any undocumented non-zero value as an installation failure. Record the exact value, the displayed message, the Windows version and the IA AVATAR installer version before contacting support.

Uninstaller return codes

ResultMeaningRecommended action
0The uninstall command completed normally.No action is required.
Any non-zero valueThe user cancelled the operation or a fatal error prevented completion.Restart Windows and try again. Contact support if IA AVATAR remains installed.

miscellaneous install failure scenarios

Miscellaneous

Document version: 1.0 · Updated: 14 July 2026 · Product: IA AVATAR