Install with Command Line
General Instructions
Download an installation package using the offline installer option for the toolkit you wish to install from here.
Launch the installation script of the downloaded package using the following command:
w_[Toolkit Name]Kit_[version]_offline.exe [options] -a [arguments]
where [options] contain parameters for the package extraction script, and [arguments] are options for the installer.
The package extraction script supports the following options:
-h, --help |
Show help for the package extraction script. |
-f, --extract-folder |
Point to the folder where the package content will be saved. |
-x, --extract-only |
This option unpacks the installation package only. It does not launch the installer. |
-r, --remove-extracted-files <yes|no> |
Remove extracted files after installation. This action cleans up the temporary package file location. |
-l, --log <log file> |
Log all package extraction actions to the specified file. |
-a <arguments> |
Pass arguments to the installer. |
The values after -a are passed as command line arguments to the installer. The following installer options are supported:
Option |
Default value (if option is not passed) |
Description |
---|---|---|
-s, --silent |
N/A |
Run the installer in non-interactive (silent) mode. |
--eula |
decline |
Required. Accept or decline End User License Agreement (EULA), supported values: accept or decline (default). |
--action |
install |
Specify one of the supported values below when the installer action is needed:
|
--instance |
default |
Specify an ID of an installation instance. For example: w_[Toolkit Name]Kit_[version]_offline.exe -a --instance=<instance ID>. This option enables side-by-side installation of oneAPI products. Each instance is a separate installation entity with its own isolated environment. Product installed in one instance is not visible in another instance. If omitted, installation is performed in default instance. To get the list of available instances, use the --list-instances option. |
--config |
N/A |
Point to the configuration INI file with options. You can use this file as an alternative to passing options via the command line; mixed approach is also supported. Sample content of a configuration file: s=eula=accept. |
--components |
default |
Specify components to perform an action on, supported values: all, default, custom components split by ‘:’. If you need the default components and some extra component(s), combine default with the name of the extra component(s) separated by ‘:’. For example: --components default:<component_name>. |
--list-products |
N/A |
Get the list of downloaded products, their IDs, versions and statuses (installed/not installed). Use together with the --instance option to get the list of available products in a specific instance. For example: w_[Toolkit Name]Kit_[version]_offline.exe -a --list-products --instance=<instance ID>. |
--product-id |
N/A |
Specify an ID of a product to perform an action on. Use this option with --list-components or --action {install|remove|modify|repair}. |
--product-ver |
N/A |
Specify a product version to perform an action on. Use this option with --list-components or --action {install|remove|modify|repair}. |
--list-components |
N/A |
Get the list of available components of the current package or of a product specified with --product-id. Use together with the --instance option to get the list of available components in a specific instance. For example: w_[Toolkit Name]Kit_[version]_offline.exe -a --list-components --instance=<instance ID>. |
--package-path |
N/A |
Specify the directory of the package to install. |
--install-dir |
default installation directory |
Customize the installation directory. |
--log-dir |
default log directory |
Customize the directory to save the log file to. |
--proxy |
N/A |
Specify proxy settings in the following format: http://username:password@proxy-server.mycorp.com:3128. |
--download-cache |
default download cache location |
Point to the directory to store all downloaded and cached files. |
--download-dir |
default download directory |
Customize the download directory, which is used in download-only mode. |
--intel-sw-improvement-program-consent |
decline |
Accept or decline participation in Intel Software Improvement Program, supported values: accept or decline (default). To get the program description, use the --show-intel-sw-improvement-program-consent command. |
--show-intel-sw-improvement-program-consent |
N/A |
Show the detailed description of the Intel Software Improvement Program. |
--ignore-errors |
N/A |
Complete installation even if non-critical errors occur (like errors in pre-/post-install scripts). |
-h, --help |
N/A |
Show the installer help. |
-p, --property |
N/A |
Pass additional custom options. For example, the string -p=option1=value -p option2=value gives two additional options. |
For example, to show the installer help, use the following command:
w_[Toolkit Name]Kit_[version]_offline.exe -a -h
Non-interactive (Silent) Installation
Go to the directory where the installer is located.
Run the following command:
w_[Toolkit Name]Kit_[version]_offline.exe -s -a --silent --eula accept
In silent mode, integration into Visual Studio* is installed by default (if supported). You need to have the Desktop development with C++ workload installed into each Visual Studio instance beforehand. To skip Visual Studio* integration, pass the following arguments to the installation command: -p=NEED_VSXXXX_INTEGRATION=0, where XXXX is the Visual Studio version. For example, to install a toolkit and skip integration into Visual Studio* 2019, use the following installation command:
w_[Toolkit Name]Kit_[version]_offline.exe -s -a --silent --eula accept -p=NEED_VS2019_INTEGRATION=0
Once the installation is complete, verify that the toolkit is installed in the default directory: C:\Program Files(x86)\Intel\oneAPI.
Examples
Display the list of already installed products and products included in the downloaded package:
w_[Toolkit Name]Kit_[version]_offline.exe -s -a --list-products
Example of output:
ID Version Language Installed Name ============================================================================================ intel.oneapi.win.tbb.product 2021.1.1-129 false Intel® oneAPI Threading Building Blocks
Display the list of components in product of current package:
w_[Toolkit Name]Kit_[version]_offline.exe -s -a --list-components
Display the list of components of any installed product on the system:
w_[Toolkit Name]Kit_[version]_offline.exe -s -a --list-components --product-id intel.oneapi.win.tbb.product --product-ver 2021.1.1-129
Example of output:
ID Version Language Installed Name ============================================================================================ intel.oneapi.win.tbb.devel 2021.1.1-129 Intel® oneAPI Threading Building Blocks
Install specific Intel oneAPI Toolkit products and components:
w_[Toolkit Name]Kit_[version]_offline.exe -s -a --silent --eula accept --components intel.oneapi.win.tbb.devel