# Installing the Base Driver and Intel® PROSet via the Command Line

Installation Methods

Base Driver Installation

Intel® PROSet for Windows* Device Manager Installation

Command Line Options for msiexec.exe

## Installation Methods

The base driver install utility (SetupBD.exe) allows unattended install of base drivers from a command line.

Use DxSetup.exe to install Intel® PROSet for Windows* Device Manager on Microsoft* Windows* 2000, Windows XP, Windows Vista*, Microsoft Windows Server* 2003, and Microsoft Windows Server 2008.

| NOTES: Windows XP x64 and Windows Server 2003 x64 do not support unattended driver installation. Intel PROSet can be installed with DxSetup.exe or msiexec.exe. Intel recommends using DxSetup.exe. DxSetup.exe detects the system's language, searches for the appropriate transform file, and applies it to MSI package. The transform file translates the installation instructions to the language associated with your operating system.

## Base Driver Installation

### Command Line Options

SetupBD.exe supports the following command line switches.

| NOTE: You must include a space between switches.

Switch | Description
/s | silent install with no reboot
/r | force reboot (must be used with the /s switch)
/nr | no reboot (must be used with the /s switch. This switch is ignored if it is included with the /r switch)
/u | uninstall

Examples:

Option | Description
SetupBD | Installs and/or updates the driver(s) and displays the GUI.
SetupBD /s | Installs and/or updates the driver(s) silently.
SetupBD /s /r | Installs and/or updates the driver(s) silently and forces a reboot.
SetupBD /s /r /nr | Installs and/or updates the driver(s) silently and forces a reboot (/nr is ignored).
SetupBD /u | Uninstalls all drivers from the system.

### Other information

| NOTES: If you uninstall an adapter's driver from Windows Device Manager, you must reboot before using SetupBD.exe to install a new driver. If you install drivers on a system based on a server chipset and BIOS that are Intel I/OAT capable, the /s switch (silent install) forces a reboot without the /r switch. If you do not want the system to reboot, use the /nr switch. For Intel® I/O Acceleration Technology to function properly, you must reboot after driver installation.

You can use the /r and /nr switches only with a silent install (i.e. with the "/s" option).

## Intel PROSet for Windows Device Manager Installation

This section describes how to install Intel PROSet for Windows Device Manager from the command line.

| NOTE: Intel PROSet can be installed with DxSetup.exe or msiexec.exe. Intel recommends using DxSetup.exe. DxSetup.exe detects the system's language, searches for the appropriate transform file, and applies it to MSI package. The transform file translates the installation instructions to the language associated with your operating system.

### Using the DxSetup.exe utility

DxSetup.exe is a setup utility used for installing Intel PROSet. It detects the system language, searches for the appropriate transform file in the same folder, and then launches PROSETDX.msi in the language specific to the operating system. The transform file translates the installation instructions to the language associated with your operating system.

DxSetup.exe also takes the install options from the command line and applies them to the PROSETDX.msi command line installation.

#### DxSetup.exe command line switches:

Switch | Description
/q[r|n] | silent install options.
r | Reduced GUI Install
n | Silent install
/l[i|w|e|a] | log file option.
i | log status messages.
w | log non-fatal warnings.
e | log error messages.
a | log the start of all actions.

#### DxSetup.exe Public Properties

Property | Definition
BD | "0", deselect / do not execute SetupBD. "1", execute SetupBD to install the drivers (default setting). NOTE: BD should only be set to 0 if the Base Drivers have already been installed prior to running DxSetup.exe
ANS | "0", deselect / hide ANS. "1", select ANS (default setting).
DMIX | "0", deselect / hide Intel PROSet feature. "1", select Intel PROSet feature (default setting).
SNMP | "0", deselect / do not install the SNMP Agent (default setting) "1", select / install the SNMP Agent.

| NOTES: If you specify a path for the log file, the path must exist. If you do not specify a complete path, the install log will be created in the current directory. The ANS property should only be set to ANS=1 if DMIX=1 is set. If DMIX=0 and ANS=1, the ANS=1 is ignored and only the base driver will be installed. Public properties are case sensitive. All characters are uppercase with no white space between characters. For example: `DxSetup.exe /qn ANS=1` Any white space in "ANS=1" makes the setting invalid. "ans=1" is not a valid setting.

### Command line examples

You can modify the paths for different operating systems and CD layouts and apply the command line examples.

1. The following launches a typical install silently:

   > `DxSetup.exe /qn /liew install.log`

   | NOTE: BD, ANS and DMIX are selected by default.

2. How to install components but deselect ANS. Set the ANS=0 in the command line:

   > `DxSetup.exe /qn ANS=0 /liew install.log`

## msiexec.exe command line options

Refer to Microsoft's website for the most current information on msiexec.exe command line options: http://msdn2.microsoft.com/en-us/Library

| NOTES: Not all command line options Microsoft provides with msiexec.exe have been tested or are necessarily supported for Intel PROSet installation. Msiexec also sets an error level on return that corresponds to system error codes: http://msdn2.microsoft.com/en-us/Library Intel PROSet can be installed with DxSetup.exe or msiexec.exe. Intel recommends using DxSetup.exe. DxSetup.exe detects the system's language, searches for the appropriate transform file, and applies it to MSI package. The transform file translates the installation instructions to the language associated with your operating system.

### Command Line Switches

This section describes how to install Intel PROSet using PROSETDX.msi and msiexec.exe from the command line.

Windows Installer Service is installed by default in Windows 2000, XP32 and XP64. msiexec.exe is under System32 folder. When System32 is not in the current PATH, the full path to msiexec.exe should be specified in the command line. For example:

> `C:\WINNT\System32\msiexec.exe /i PROSETDX.msi /qn /liew install.log`

Most commonly used msiexec.exe command line options:

Switch | Description
/i | install
/x | uninstall
/q[r|n] | silent install options.
r | Reduced GUI Install
n | Silent install
/l[i|w|e|a] | log file option.
i | log status messages.
w | log non-fatal warnings.
e | log error messages.
a | log the start of all actions.
Transforms | A property used to apply transforms (a .mst file) to an MSI package. The following example applies a Chinese language transform to MSI package, so the installer displays Chinese strings during installation: `TRANSFORMS=2052.mst`

#### Silent install/upgrade command line syntax

The following launches a typical installation of PROSETDX.msi.

> `<Full path to msiexec.exe> /i <Full path to PROSETDX.msi> /qn /liew install.log`

#### Silent uninstall command line syntax

The following uninstalls all the Intel PROSet components. It can be used when the path to PROSETDX.msi is available.

> `<path to msiexec.exe> /x <path to PROSETDX.msi> /qn /liew uninstall.log`

The following uninstalls all the Intel PROSet components. It can be used when the path to PROSETDX.msi is not available but the ProductCode of MSI package is known.

> `<path to msiexec.exe> /x <ProductCode of PROSETDX.msi> /qn /liew uninstall.log`

#### Command line options supported by PROSETDX.msi

PROSETDX.msi provides public properties that can be used to change Intel PROSet install selections from the command line.

By setting the properties in the command line, you can disable and hide some features in PROSETDX.msi, or force some feature to be selected/displayed. This provides the flexibility to install different components/features in Intel PROSet.

Following is the list of public properties provided by PROSETDX.msi:

Property | Definition
BD | "0", deselect / do not execute SetupBD. "1", execute SetupBD to install the drivers. NOTE: In this release, it is set to "1" by default. It is always installed by default in this release. BD should only be set to 0 if the Base Drivers have already been installed prior to running PROSETDX.msi
ANS | "0", deselect / hide ANS. "1", select ANS. NOTE: In this release, it is set to "1" by default. It is always installed by default in this release.
DMIX | "0", deselect / hide Intel PROSet feature. "1", select Intel PROSet feature. NOTE: In this release, it is set to "1" by default. It is always installed by default in this release.
SNMP | "0", deselect / do not install the SNMP Agent. "1", select / install the SNMP Agent. NOTE: In this release, it is set to "0" by default. It is not installed by default in this release.

| NOTES: If you specify a path for the log file, the path must exist. If you do not specify a complete path, the install log will be created in the current directory. The ANS property should only be set to ANS=1 if DMIX=1 is set. If DMIX=0 and ANS=1, only the base driver will be installed. Public properties are case sensitive. All characters are uppercase with no white space between characters. For example: `msiexec.exe /i PROSETDX.msi /qn ANS=1` Any white space in "ANS=1" makes the setting invalid. "ans=1" is not a valid setting.

### Command line install examples

Assume that C:\WINNT\System32 is in the system32 folder and PROSETDX.msi is under the D:\Apps\PROSETDX\Win32 folder. You can modify the paths for different operating systems and CD layouts and apply the command line examples.

1. How to install Intel PROSet silently on Windows XP:

> `C:\WINNT\System32\msiexec.exe /i D:\Apps\PROSETDX\Win32\PROSETDX.msi /qn /liew install.log`

2. How to install Intel PROSet silently on Windows Server 2003 for ItaniumŪ-based systems:

> `C:\WINNT\System32\msiexec.exe /i D:\Apps\PROSETDX\Win64\PROSETDX.msi /qn /liew install.log`

3. How to install components but deselect ANS:

Set the ANS=0 in the command line, for example:

> `C:\WINNT\System32\msiexec.exe /i D:\Apps\PROSETDX\Win32\PROSETDX.msi /qn ANS=0 /liew install.log`

4. How to apply a transform file to MSI using msiexec.exe:

Set the TRANSFORMS=filename.mst in the command line. For example:

> `C:\WINNT\System32\msiexec.exe /i D:\Apps\PROSETDX\Win32\PROSETDX.msi /qn TRANSFORMS=2052.mst /liew install.log`

| NOTE: Intel recommends using DxSetup.exe to install Intel PROSet. DxSetup.exe detects the system's language, searches for the appropriate transform file, and applies it to MSI package.

### Command line uninstall example

| NOTE: Do not use the "ANS" option when uninstalling Intel PROSet from a command line.

First get the path of PROSETDX.msi in the local system or any other image path when you installed Intel PROSet, then use msiexec.exe to uninstall Intel PROSet.

For example, assume System folder is C:\Windows\System, and PROSETDX.msi is in d:\unattend, then the command line will be:

> `C:\Windows\System\msiexec.exe /x d:\unattend\ PROSETDX.msi /qn /liew uninst.log`

### Command line reinstall / repair

If you need to repair an Intel PROSet installation, uninstall the application and then reinstall it. See the uninstall and install examples above for more information.

`Last modified on 12/11/07 4:27p Revision 34`