Client SDK for Windows
Developers' Guide
This release is in Beta. Beta software is not fully supported, and may be incomplete or unstable. It is not intended for use in production systems. We welcome your feedback on this release! Send feedback to anyware-beta-feedback@hp.com.
Exit Codes for Programmatic USB Installations and Uninstallations
You can make the installer and uninstaller calls programmatically from your client application. The return and exit codes you should expect are summarized in the following tables:
0: Success, no reboot required. Expected on a fresh installation. |
1: Success, reboot required. Unexpected, but harmless. |
2: Success, installation continues after reboot. Expected when running the installer during an upgrade without rebooting (installing a new version after uninstalling an old version, with no reboot in between). This indicates that while the driver is usable immediately, additional action has been scheduled following the next reboot. This prevents scheduled actions by the uninstaller from disabling the driver. |
-1: Error, general. An unexpected error occured. The most likely cause is insufficient privileges to install drivers, or another permissions issue. |
0: - |
1: Success. Expected |
2: - |
-1: Error, general. An unexpected error occured. The most likely cause is insufficient privileges to ininstall drivers, or another permissions issue |
Last updated: Friday, October 11, 2024