Silent Install Mode
- 3 minutes to read
This topic describes how to run the DevExpress .NET Products Installer in silent mode (as a console application).
When you pass the /Q command line switch, the installer does not display its GUI. You can use the following syntax to specify installer parameters (your DevExpress account credentials, installation path, etc.).
DevExpressNETComponents-18.2.7.exe /Q [-U] [-R] [/DEBUG] [/EMAIL] [/PASSWORD] [/INSTALLPATH] [/EULA] [p1 p2..pN]
Examples
Run the installer, provide the account credentials and accept the EULA.
DevExpressNETProducts-18.2.7.exe /Q /EMAIL:dxcustomer@example.com /PASSWORD:MyPassword /EULA:accept
Repair the current installation:
DevExpressNETProducts-18.2.7.exe /Q
Uninstall DevExpress .NET products:
DevExpressNETProducts-18.2.7.exe /Q -U
Parameters Description
Parameter | Description |
---|---|
/Q | Run in the silent mode. If this is a single parameter, the installer repairs the current installation. |
/EULA:accept | Indicates that you accept the End User License Agreement (required to proceed with installation). |
-R | Repair the existing installation. |
-U | Uninstall the existing installation. |
/DEBUG | Create the installation log file (setup_trace.log) in the current directory. |
/EMAIL:email | Specifies the email address you use to log-in to the DevExpress account. |
/PASSWORD:pwd | Specifies your DevExpress account password (case sensitive). |
/INSTALLPATH:path | Overrides the default installation path (C:\Program Files (x86)\DevExpress 18.2\Components). |
/FORCEMANUAL | Explicitly activates manual/offline registration mode. |
p1 p2..pN | To install specific products, pass their names as extra parameters separated by the space symbol. For example, to install WinForms controls only, use the following command:
You can write “Windows Forms:True”, “Windows Forms:Yes” or “Windows Forms:1” to install specific products; and “Windows Forms:False”, “Windows Forms:No”, “Windows Forms:0” to exclude products. Below is a full list of products that you can include or exclude.
When you install multi-platform products (e.g., XtraReports), the installer automatically selects and installs the required dependencies. |
Exit Codes
The installer application returns the following exit codes.
Error Code | Description |
---|---|
0 | No errors. |
1 | Common installation error. Check the log file located in the installation folder (C:\Program Files (x86)\DevExpress 18.2\Components, by default). |
2 | This code is not used. |
3 | No license for the selected product. |
4 | No access to the web service that validates the email and password. Check your internet connection or try running the installer later. |
5 | EULA was not accepted. Specify the /EULA:accept parameter. |
6 | The installation file is broken. Please download it again. |
7 | The current OS and .NET framework versions are not supported. |
8 | Invalid DevExpress.com email or password is specified. |
9 | The specified DevExpress.com account is disabled. |
10 | Common errors with the account. |
11 | All the licenses that the specified DevExpress.com account holds have been assigned to other accounts. |
12 | A license has been revoked from the specified DevExpress.com account. |