Intel C++ or Fortran Compiler for Windows Silent Installation Guide

Submit New Article

Last Modified On :   August 31, 2009 1:09 PM PDT
Rate
 



Introduction: This article describes how to perform a "silent" (non-interactive) install of Intel C++ Compiler for Windows or Intel Visual Fortran Compiler for Windows. It applies to version 11.1; it is not applicable to earlier versions of the product.  An administrator may wish to use a silent install to make the product available in an automated fashion on users systems.

Other Silent Install articles:


Step 1

If you are installing from a downloaded product package (file type .EXE), you must unpack the package to a convenient directory on your (adminisrator's) system or to a network share.  The simplest way to do that is to run the EXE and specify the path for where the files should be unpacked.  This is done with the following dialog (Fortran example shown, C++ is similar):

Unpack%20Dialog

Click the Extract button to do the extraction.  When the setup reaches the Welcome screen, click Cancel to exit the installation.

Step 2

Either copy the installation file tree to the target system or reference it from a network share.  On the target system, from an account with Administrator privilege, run the setup.exe in the unpacked folder with the required arguments.   Note that if the path to setup.exe includes blanks, you must enclose the file path in quotes, for example:

"E:\Unpacked Files\Intel\w_cproc_p_11.1.038\setup.exe"

or

"E:\Unpacked Files\Intel\w_cprof_p_11.1.038\setup.exe"

The form of the silent install command is:

setup.exe install argument [argument]...

Where each argument is described in sections below. The command invoking setup.exe will return immediately.

Required arguments:

--output=filespec

This specifies the path to the file where output from the install will be directed.  If the path is not complete, it will use the path to setup.exe as a default.

--eula=accept | reject

This specifies whether you accept or reject the End User License Agreement.  If reject is specified, the installation will exit.

Optional arguments:

--installdir=path_for_installation_folder

Specifies a path for the installation folder. If not specified, the default is used. Please read the compiler Release Notes for details.

--license-path_to_license_file

Specifies the path to the license file to be used on this system.  The file should have a file type of .LIC, or you may specify a folder path and the installer will examine all .LIC files in that folder for an appropriate license.  If you do not specify either --license or --sn, the installer will look on the system to see if an appropriate license already exists.

--sn=serial_number

Specifies the serial number for the license to be used on this system.  Use either --sn or --license, not both.  The serial number is in the form xxxx-xxxxxxx.  If --sn is used, a network connection to the Internet must be available during installation.

--update=no | always

Specifies the behavior if the product is already installed.  "no" will end the installation if the current version (any update) is installed.  "always" will remove the latest version before installing the new one.  The default is "no".

Example command

"E:\Unpacked Files\Intel\w_cprof_p_11.1.038\setup.exe" install --output=C:\Logs\log.txt --sn=ABCD-1234567











This article applies to: Intel® C++ Compiler for Windows* Knowledge Base,   Intel® Visual Fortran Compiler for Windows* Knowledge Base