Windows installer return codes
The Anna for Windows installer is an NSIS package. It runs per user and does not require administrator rights. This page documents the exit codes it returns, for distribution channels and IT administrators that report install outcomes automatically.
Silent installation
The installer supports unattended installation with the /S switch (capital S):
Anna-Setup-<version>.exe /S
An optional install directory may be given with /D=, which must be the last argument and must not be quoted:
Anna-Setup-<version>.exe /S /D=C:\Anna
Without /S the installer runs interactively and lets the user choose the install location.
Return codes
| Code | Meaning |
|---|---|
0 | Success. Installation completed. |
1 | Cancelled by the user. The installation was aborted before completing. Nothing is left installed. |
2 | Installation rejected. A previously installed version could not be removed, so the new version was not installed. The existing installation is left in place. |
6710886(0x666666) | Administrator rights were required and not granted. Anna installs per user and normally never requests elevation; this appears only where device policy forces an elevated install and the prompt was declined or blocked. |
Conditions the installer does not report distinctly
The following conditions do not produce their own return code. They are listed here so that an automated system does not attribute them to an unrelated code:
- Application already installed. Installing over an existing version upgrades it in place and returns
0. There is no separate "already exists" code. - Another installation already in progress. A second installer instance shows a message and brings the running instance to the foreground rather than exiting with a distinct code.
- Insufficient disk space. Reported to the user by the installer interface; not signalled as its own exit code.
- Restart required. Not applicable — installation never requires a reboot.
- Network failure. Not applicable — the installer is fully self-contained and makes no network requests during installation.
Uninstallation
Anna registers with Windows in the normal way and can be removed from Settings → Apps & features. The uninstaller written to the install directory also accepts /S for unattended removal and returns 0 on success.
Questions
For questions about deployment or installer behaviour, contact admin@imanna.ai.