RAD Studio 10.4.2 supports silent, automated installation of the product with no UI interaction. Silent Install is available for offline and online installation. In the offline installation there is a GOF file and the setup executable. In the online installation there is a setup executable and an automatic download of the required packages in the background. The Windows SDK installation currently starts with a UI and doesn’t respect the “silent installation” rule. Additionally, both scenarios (silent and very silent) the silent installer will still ask you to confirm the EULA. Press Y (for Yes) at the very beginning of the process, it will not ask for further interaction after this initial input.
Take a look at how you can configure the silent installation with the command line parameters below.
Installer Command Line Parameters
Silent installation can be activated by passing additional, optional command line parameters to the Setup program (if you don’t pass any parameter, a regular installation is performed). The Setup command line parameters that are required for silent installation mode are the following:
Command | Description |
---|---|
/SILENT | Runs the installer in silent mode. The progress window is displayed. |
/VERYSILENT | Runs the installer in very silent mode. No windows are displayed. |
/SUPRESSMSGBOXES | Suppresses messagge boxes. This has an effect only when combined with/SILENT and/VERYSILENT . |
/NOCANCEL | Disables canceling the installation process. |
/NORESTART | Prevents the installer from restarting the system even if it is necessary. |
/DIR="x:dirpath" | Overrides the default install directory. |
/SLIPFILE="x:filepath" | Installs a license file. |
/FEATURES=featureid | Indicates the feature(s) to install, separated with ” ; “. See the list below for the available features’ names. |
/LOG="x:filepath" | Causes setup to create a log file for debugging the installation process. If the file cannot be created, Setup will abort with an error message. |
Note: A license file should be installed on the target machine before silently installing RAD Studio or you can install it using the /SLIPFILE
option.
Core Installable Features
The /FEATURES command line parameter takes featureids from the below table. The silent installer allows you to install the core IDE and any of the following platforms and features (features availability depends also on the license being passed as a parameter). These are the IDs of the available features:
Feature ID | Description |
---|---|
delphi | Installs all Delphi platforms |
delphi_windows | Installs Delphi Windows platform |
delphi_macos | Installs Delphi macOS platform |
delphi_linux | Installs Delphi Linux platform |
delphi_ios | Installs Delphi iOS platform |
delphi_android | Installs Delphi Android platform |
cbuilder | Installs all C++ Builder platforms |
cbuilder_windows | Installs C++ Builder Windows platform |
cbuilder_ios | Installs C++ Builder iOS platform |
cbuilder_android | Installs C++ Builder Android platform |
french | Installs French language pack |
german | Installs German language pack |
japanese | Installs Japanese language pack |
samples | Installs Samples |
help | Installs Help files |
teechart | Installs TeeChart components |
dunit | Installs DUnit components |
interbase_express | Installs InterBase Express components |
interbase_2020 | Installs InterBase 2020 |
openjdk | Installs AdoptOpenJDK |
android_sdk | Installs AndroidSDK |
Here is an example command line to silently install the program and install all Delphi and C++Builder platforms (the license file should be installed before running this):
[crayon-6741da3875d86351389216/]With the silent option, you see the installation status, but there is no further request to fill in:
With the /verysilent
mode the operation terminates immediately and there is a hidden command prompt doing the installation:
Head over and check out the full release notes for Delphi 10.4.2 in the Embarcadero DocWiki.