Msiexec.exe command line options
The base driver install utility allows unattended install of base drivers from a command line (SetupBD.exe). The Intel PROSet installation is based on the Microsoft* Windows Installer (MSI) Service. There are two MSI packages (PROSet.msi and PROSet64.msi) in the release that can be used to install Intel PROSet on 32-bit Operating Systems and 64-bit Operating Systems individually with command line supports.
The MSI package installation requires Windows Installer Service to be installed into the system first. Windows* 2000, Windows ME, Windows XP32 and Windows XP64 operating systems have Windows Installer Service installed by default. However, Windows Installer Service is required to be installed in Windows 98, Windows 98SE and Windows NT 4.0*. A bootstrap program (PROSet.exe) can be used to install Windows Installer Service first on Windows 98 and 98SE.
SetupBD.exe supports the following command line options. Examples are shown below.
Option | 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 files only in the specified directory |
Examples:
Option | Description |
SetupBD |
Installs and/or updates the driver(s) and displays the GUI. On Windows NT40 ,Windows 98 and Windows ME reboot options are displayed. 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 files only in the specified directory |
![]() |
NOTE: If you uninstall an adapter's driver from Windows Device Manager, you must reboot before using SetupBD.exe to install a new driver. |
The "/r" option can only be used with silent install (i.e. with the "/s" option). The Reboot option is not available through command line or through the button options for Operating Systems like Windows 2000, Windows XP32 and Windows XP64, since a system restart is not required after driver installation.
On the Windows NT 4.0 operating system, Intel PROSet, NMS and ANS are included in the driver installation. You are not required to install Intel PROSet separately after installing the drivers.
When invoked without the /infdir option, SetupBD makes some assumptions about where to search for the required inf files. If you don't use the /infdir option, maintain the relative CD directory structure.
Specify inf file locations with the SetupBD.ini file. This file can be modified to point to the inf files wherever they have been copied. SetupBD.ini must be in the same folder as SetupBD.exe.
The SetupBD.ini file has these keywords: LevelstoRoot, InfSectionName, and InfDir. While the values of the keywords can be modified, the keywords themselves cannot. The SetupBD.ini file begins with the keyword LevelstoRoot:
[Config]
LevelsToRoot=4
The value in LevelsToRoot refers to how many directory levels the root of the media is located above the SetupBD.ini file. For example, on the Product CD, go 4 levels up to the root, the access PRO100\WIN98_ME to look for the associated .inf files. If you move the inf file, you may need to change the LevelsToRoot value.
The SetupBD.ini file then lists operating systems, followed by their associated
keywords. For example:
[Win98]
InfSectionName=Intel
InfDir=PRO100\WIN_98ME
InfDir=PRO1000\WIN_98ME
Modify the section of SetupBD.ini that corresponds to the OS you are installing onto. The above example refers to the Windows 98 OS. InfSectionName is the name included inside the inf. This is reserved for Intel adapters and should not be changed.
InfDir points to the path on the media where the .inf is located. There are two paths listed: one for Pro100; and one for Pro1000. If you change the location of the .inf, this path must be modified.
In Windows NT there is an additional keyword:
NMSDir=PRO100\WINNT4\NMS
This keyword points to the location of NMS. Its value can be changed, as long as it points to the location of the MS files.
This section describes how to install Intel PROSet from the command line. It describes all the command line options supported in PROSet.msi. The instructions are primarily for NCS Intel PROSet installation (Windows 2000 and beyond operating systems).
Notes:
This release ships NCS (Network Configuration Services) Intel PROSet on Windows 2000 and beyond. Intel PROSet II is shipped on the CD only for Windows 98, 98SE, and ME.
Intel PROSet can be installed with PROSet.exe or msiexec.exe. Intel recommends using PROSet.exe. PROSet.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.
This section describes how to install Intel PROSet using PROSet.msi / PROSet64.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 PROSet.msi /qn /liew c:\temp\install.log
Most commonly used msiexec.exe command line options:
Option | Description | ||||||||
/i | install; | ||||||||
/x | uninstall; | ||||||||
/q[r|n] | silent install. ("r", reduced GUI, show progress bar information only; "n", fully silent.) | ||||||||
/liew |
/l --- log file option. Following are log switches:
|
||||||||
TRANSFORMS |
A property used to apply transforms (a .mst file) to an MSI package. Syntax example:
TRANSFORMS=2052.mstApplies a Chinese language transform to MSI package, so the installer displays Chinese strings during installation. |
The following launches a typical installation of PROSet.msi.
<Full path to msiexec.exe> /i <Full path to PROSet.msi> /qn /liew <Full path to install.log>
The following uninstalls all the Intel PROSet components. It can be used when the path to PROSet.msi is available.
<path to msiexec.exe> /x <path to PROSet.msi> /qn /liew <path to uninstall.log>
The following uninstalls all the Intel PROSet components. It can be used when the path to PROSet.msi is not available but the ProductCode of MSI package is known.
<path to msiexec.exe> /x <ProductCode of PROSet.msi> /qn /liew <path to uninstall.log>
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 PROSet.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 PROSet.msi:
Property | Definition |
TRAYICON |
"0" , hide PRONotify, installer will not launch PRONotify after install. It will not be hooked up in Run key. "1", default value, always launch PRONotify after install/upgrade. |
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. |
FMTI |
"0", deselect / hide FTMI DLL feature. "1", select FTMI DLL feature. "2", default value. NOTE: It is always installed by default in this release. |
CIMV2 |
"0", deselect / hide CIMV2 support feature. "1", select CIMV2 support feature. "2", default value. NOTE: It is deselected in this release by default. To turn it on from command line, set CIMV2=1. |
![]() |
NOTE: Public properties are case sensitive. All characters are uppercase with no white space between characters. For example: msiexec.exe /i PROSet.msi /qn CIMV2=1 Any white space in "CIMV2=1" makes the setting invalid. "cimv2=1" is not a valid setting. |
PROSet.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 PROSet.msi in the language specific to the operating system. The transform file translates the installation instructions to the language associated with your operating system.
PROSet.exe also takes the install options from the command line and applies them to the PROSet.msi command line installation. Following is an example of PROSet.exe command line:
PROSet.exe /qn CIMV2=1
It is same as:
C:\WINNT\System32\msiexec.exe /i PROSet.msi /qn CIMV2=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 PROSet.msi /qn CIMV2=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 PROSet.exe is subject to change, but the functions will not be changed. |
This section describes some examples used in install command lines.
Assume that C:\WINNT\System32 is in the system32 folder and PROSet.msi is under the D:\Apps\PROSet\WS03XP32 folder. You can modify the paths for different operating systems and CD layouts and apply the command line examples.
How to install Intel PROSet silently on XP32:
C:\WINNT\System32\msiexec.exe /i D:\Apps\PROSet\WS03XP32\PROSet.msi /qn /liew C:\ install.log
The following launches a typical install silently. In this release, it installs Intel PROSet with ANS and FTMI DLL by default.
D:\Apps\PROSet\WS03XP32\PROSet.exe /qn /liew C:\install.log
How to install Intel PROSet silently on XP64:
C:\WINNT\System32\msiexec.exe /i D:\Apps\PROSet\WS03XP64\PROSet64.msi /qn /liew C:\ install.log
Another way to do this is:
D:\Apps\PROSet\WS03XP64\PROSet.exe /qn /liew C:\install.log
![]() |
NOTE: ANS is selected by default always. CIMV2 support is deselected in typical install. |
How to install Intel PROSet silently with CIMV2 support:
Set the CIMV2 public property to "1" in the command line, for example:
For XP32 and Windows Server 2003 Operating System, use:
C:\WINNT\System32\msiexec.exe /i D:\Apps\PROSet\WS03XP32\PROSet.msi /qn CIMV2=1 /liew C:\ install.log
It is same as:
D:\Apps\PROSet\WS03XP32\PROSet.exe /qn CIMV2=1 /liew C:\install.log
For XP64, use:
C:\WINNT\System32\msiexec.exe /i D:\Apps\PROSet\WS03XP64\PROSet64.msi /qn CIMV2=1 /liew C:\ install.log
It is same as:
D:\Apps\PROSet\WS03XP64\PROSet.exe /qn CIMV2=1 /liew C:\install.log
![]() |
NOTE: There is no white space in "CIMV2=1" and all characters are in uppercase. |
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\PROSet\WS03XP32\PROSet.msi /qn ANS=0 /liew C:\ install.log
It is same as:
D:\Apps\PROSet\WS03XP32\PROSet.exe /qn ANS=0 /liew C:\install.log
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 PROSet.msi from this release:
C:\WINNT\System32\msiexec.exe /i D:\Apps\PROSet\WS03XP32\PROSet.msi /qn TRANSFORMS=2052.mst /liew C:\ install.log
D:\Apps\PROSet\WS03XP32\PROSet.exe /qn /liew C:\install.log
![]() |
NOTE: Intel recommends using PROSet.exe to install Intel PROSet. PROSet.exe detects the system's language, searches for the appropriate transform file, and applies it to MSI package. |
How to hide PRONotify and prevent installer from launching it:
Set TRAYICON=0 in command line, for example:
C:\WINNT\System32\msiexec.exe /i D:\Apps\PROSet\WS03XP32\PROSet.msi /qn TRAYICON=0 /liew C:\ install.log
Prevents installer from launching PRONotify. PRONotify is also unhooked in Run key. In next reboot, PRONotify will not be launched.
NOTE: Do not use the "ANS" option when uninstalling Intel PROSet from a command line.
How to uninstall Intel PROSet from command line when PROSet.msi path is available:
First get the path of PROSet.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 PROSet.msi is in d:\unattend, then the command line will be:
C:\Windows\System\msiexec.exe /x d:\unattend\PROSet.msi /qn /liew d:\unattend\uninst.log
How to uninstall Intel PROSet using product code:
(Following product codes are used for this release only, they are subject to change in each new release)
Release 6.4 and later product codes:
Uninstall Intel PROSet on Windows 2000 and XP32:
msiexec /x {EF4EF65F-4D62-44D7-82C9-1AECCBA74C50} /qn
Uninstall Intel PROSet on XP64:
msiexec /x {DFB82058-3E67-4B2B-83C3-636E3CE134BE} /qn
Uninstall Intel PROSet II on Windows 98, 98SE, ME
msiexec /x {2B8D4AFB-05D0-49F3-82E3-B7F4D1043CEF} /qn
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.
Intel PROSet II is shipped for Windows 98, 98SE and ME.
Windows 98 and 98SE do not have Windows Installer Service installed by default. You can use the PROSet.exe located in the same folder as the PROSet.msi file to install Windows Installer Service, if needed, and then launch PROSet.msi. Intel recommends you use PROSet.exe for command line installs.
Command line install examples:
This will install Intel PROSet.
PROSet.exe /qn /liew C:\inst.log
Command line uninstall examples:
msiexec.exe /x D:\apps\PROSet\WN98SEME\PROSet.msi /qn REBOOT= ReallySuppress
msiexec.exe /x {2B8D4AFB-05D0-49F3-82E3-B7F4D1043CEF} /qn REBOOT= ReallySuppress
![]() |
NOTE: Uninstalling Intel PROSet II on Windows 98, 98SE and ME requires a reboot to clean up the cached MSI package. You can suppress the reboot from the command line. Upgrading Intel PROSet II in these Operating Systems also requires a reboot. |
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 6/02/04 1:45p Revision 10