Users Guide
selectively install, reinstall, or uninstall software features for different systems using the same unattended installation
package. For example, you can choose to install Server Administrator, but not Remote Access Controller service on a
specific group of servers, and choose to install Server Administrator, but not Storage Management Service, on another
group of servers. You can also choose to uninstall one or multiple features on a specific group of servers.
NOTE: Type the REINSTALL, and REMOVE CLI parameters in upper case, as they are case‑sensitive.
You can include the REINSTALL customization parameter on the command line and assign the feature ID (IDs) of the
software feature that you want to reinstall. For example, msiexec.exe /i SysMgmt.msi
REINSTALL=BRCM /qb
This command runs the installation for Systems Management and reinstalls only the Broadcom agent, in an unattended
but not silent mode.
You can include the REMOVE customization parameter on the command line and assign the feature ID (IDs) of the
software feature that you want to uninstall. For example, msiexec.exe /i SysMgmt.msi REMOVE=BRCM /qb
This command runs the installation for Systems Management and uninstalls only the Broadcom agent, in an unattended
but not silent mode.
You can also choose to install, reinstall, and uninstall features with one execution of the msiexec.exe program. For
example, msiexec.exe /i SysMgmt.msi REMOVE=BRCM /qb
This command runs the installation for managed system software, and uninstalls the Broadcom agent. This execution is
in an unattended but not silent mode.
Related Links:
Software Feature IDs
MSI Return Code
An application event log entry is recorded in the SysMgmt.log file. The following table shows some of the error codes
returned by the msiexec.exe Windows Installer Engine.
Table 8. Windows Installer Return Codes
Error Code Value Description
ERROR_SUCCESS
0 The action is completed successfully.
ERROR_INVALID_PARAMETER
87 One of the parameters was invalid.
ERROR_INSTALL_USEREXIT
1602 The user canceled the installation.
ERROR_SUCCESS_REBOOT_REQUI
RED
3010 A restart is required to complete the installation. This
message is indicative of a successful installation.
NOTE: For more information on all the error codes returned by the msiexec.exe and InstMsi.exe Windows Installer
functions, see
support.microsoft.com.
System Recovery On Failed Installation
The Microsoft Software Installer (MSI) provides the ability to return a system to its fully working condition after a failed
installation. MSI does this by maintaining an undo operation for every standard action it performs during an install,
upgrade, or uninstall. This operation includes restoration of deleted or overwritten files, registry keys, and other
resources. Windows temporarily saves all files that it deletes or overwrites during the course of an installation or
removal, so that they can be restored if necessary, which is a type of rollback. After a successful installation, Windows
deletes all of the temporary backup files.
In addition to the rollback of MSI Standard Actions, the library also has the ability to undo commands listed in the INI file
for each application if a rollback occurs. All files that are modified by the installation actions are restored to their
original state if a rollback occurs.
38