# 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.

Intel® PROSet for Windows* Device Manager is supported on Microsoft* Windows* 2000, Windows XP, and Microsoft Windows Server* 2003. Use DxSetup.exe to Install PROSet for Windows Device Manager.

| NOTES: Windows XP x64 and Windows Server 2003 x64 do not support unattended driver installation. Intel® PRO/10GbE adapters do not support unattended driver installation.

## 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 option)
/u | uninstall
/infdir directory_name | search for inf and driver files only in the specified directory

Examples:

Option | Description
SetupBD | Installs and/or updates the driver(s) and displays the GUI. Reboot options are displayed on Windows 98 . No reboot is required for other OSs.
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 /u | Uninstalls all drivers from the system.
SetupBD /infdir x:\infdir | Installs and/or updates the driver(s), looks for inf and driver files only in the specified directory

### Other information

| NOTE: If you uninstall an adapter's driver from Windows Device Manager, you must reboot before using SetupBD.exe to install a new driver.

You can use the "/r" option only with a silent install (i.e. with the "/s" option). Because a restart is not required with Windows 2000 and newer operating systems, the "/r" option will be ignored when used with those operating systems.

## Intel PROSet for Windows Device Manager Installation

This section describes how to install Intel PROSet for Windows Device Manager from the command line. It describes all the command line options supported in PROSETDX.msi.

| 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.

### Command Line Switches

This section describes how to install Intel PROSet using PROSETDX.msi and msiexec.exe from the command line. For more information on msiexec.exe command line parameters, refer to the msiexec.exe command line options section.

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 c:\temp\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 (only displays critical warning messages)
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 <Full path to 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 <path to 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 <path to uninstall.log>`

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

PROSet.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.

| NOTE: 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.

### Use DxSetup.exe utility to simplify command lines

DxSetup.exe is a setup utility used for language support in 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. Following is an example of DxSetup.exe command line:

> `DxSetup.exe /qn ANS=1`

It is same as:

> `C:\WINNT\System32\msiexec.exe /i PROSETDX.msi /qn ANS=1 TRANSFORMS=1033.mst`

Which detects the system's language and searches for the appropriate transform file. For example, when it is launched in Chinese (simplified) operating systems, it is equal to:

> `C:\WINNT\System32\msiexec.exe /i PROSETDX.msi /qn ANS=1 TRANSFORMS=2052.mst`

This displays Chinese (Simplified) strings during installation, and it also installs the Chinese (Simplified) version of Intel PROSet in the system.

| NOTE: The name of DxSetup.exe is subject to change, but the functions will not be changed.

### Command line install examples

This section describes some examples used in install command lines.

Assume that C:\WINNT\System32 is in the system32 folder and PROSETDX.msi is under the D:\Apps\PROSETDX\WS03XP2K 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 XP32:

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

The following launches a typical install silently.

> `D:\Apps\PROSETDX\WS03XP2K\ DxSetup.exe /qn /liew C:\install.log`

2. How to install Intel PROSet silently on XP64:

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

Another way to do this is:

> `D:\Apps\PROSETDX\WS03XP64\ DxSetup.exe /qn /liew C:\install.log`

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

3. How to install components but deselect ANS:

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

For XP32 and Windows Server 2003 Operating System, use:

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

It is same as:

> `D:\Apps\PROSETDX\WS03XP2K\ DxSetup.exe /qn ANS=0 /liew C:\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:

For XP32 and Windows Server 2003 Chinese (Simplified) Operating System, use PROSETDX.msi from this release:

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

> D:\Apps\PROSETDX\WS03XP2K\ DxSetup.exe /qn /liew C:\install.log

| NOTE: Intel recommends using DxSetup.exe to install Intel PROSet. PROSet.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 d:\unattend\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.

## msiexec.exe command line options

Refer to Microsoft's web site for the most current information on msiexec.exe command line options: http://msdn.microsoft.com/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://msdn.microsoft.com/library

`Last modified on 9/19/05 3:05p Revision 13`