Unattended or silent install
You can use command-line parameters to perform an unattended or silent installation of the software.
Parameter | Description |
---|---|
/? | Displays the usage options for installation parameters. |
/Q | Silent Install, install runs in a quiet mode without any user interface. This parameter is recommended when deploying the software installation using an IT tool or script, and don’t expect any error or restart messages. When using this parameter, check the error codes, and respond as needed. For example, if the installation returns error code 1641, then the IT tool or script should restart the computer and relaunch the installation after restart. This parameter is required if /QS is not specified. |
/QS | Unattended Install, install runs in a quiet simple mode and shows progress through the UI, it does not accept any input but still shows error or restart messages. When using this parameter, the installation will stop and display a prompt if there are error or restart messages. For example, if an immediate restart is required to complete the install, a restart message will be displayed to confirm the restart. Installation resumes automatically from the point of interruption after restart. This parameter is required if /Q is not specified. |
/IAcceptAllLicenseTerms | Acknowledges acceptance of the license terms. This parameter is required for /Q or /QS parameters. |
/AutoRestart | Automatically restarts the computer after the installation is complete. Used when a restart is required to complete the installation. This parameter is optional. If this parameter is not used silent install (/Q) will return either error code 1641 or 3010 if a restart is required, and unattended install (/QS) will result in a confirmation prompt that must be agreed to before the installation is completed. |
/Record | Records the installation options chosen to a recording file. This parameter is optional. |
/Playback | Plays back a recording file to specify the installation options. This parameter is optional. |
/SetupLanguage="value" | Specifies which language is displayed during install process. The value must be the one of these:
|
/Product="value" | Specifies which sub-products will be installed. The product name must be one of these:
|
/IgnoreWarning | Specifies that the setup ignores warnings and continues. This parameter is optional. If it is not specified, the setup exits when a warning occurs. |
Examples
These examples show how to use the installation commands:
- To install the software with no user interface using the default settings during the installation process. (Silent install):Setup.exe /Q /IAcceptAllLicenseTerms /Product=Agent
- To install the software with a Chinese language installation and display the progress, error, or complete messages during installation and restart the computer if necessary. (Unattended install):Setup.exe /QS /IAcceptAllLicenseTerms /AutoRestart /SetupLanguage=CHS /Product=Client
Error codes
This table identifies the error codes that can be returned by an installation.
Error Code | Value | Description |
---|---|---|
ERROR_SUCCESS | 0 | The installation completed successfully. |
ERROR_INVALID_PARAMETER | 87 | One of the parameters was invalid. |
ERROR_INSTALL_USEREXIT | 1602 | The installation was cancelled by the user. |
ERROR_INSTALL_FAILURE | 1603 | A fatal error occurred during installation. |
ERROR_BAD_CONFIGURATION | 1610 | The configuration data for this product is corrupt. Contact your support personnel. |
ERROR_REBOOT_CONTINUE | 1641 | A reboot is required to continue to installation. |
ERROR_SUCCESS_REBOOT_REQUIRED | 3010 | A restart is required to complete the installation. After restart the product is successfully installed. |
ERROR_REBOOT_PENDING | 3012 | A restart is pending and is required before the installation can continue. |
ERROR_SUCCESS_NOT_APPLICABLE | 3013 | The installation cannot proceed because the products are already installed. |
Provide Feedback