Users Guide

Unattended installation provides the following features:
l A set of optional command line settings to customize an unattended installation
l Customization parameters to designate specific software features for installation
l A Prerequisite Checker program that examines the dependency status of selected software features without having to perform an actual
installation
Optional Command Line Settings
Table6-1 shows the optional settings available for the msiexec.exe MSI installer. Type the optional settings on the command line after msiexec.exe with a
space between each setting.
Table 6-1. Command Line Settings for MSI Installer
For example, running msiexec.exe /i SysMgmt.msi /qn installs Server Administrator features on each remote system based on the system's hardware
configuration. This installation is done silently and unattended.
Customization Parameters
NOTE: See support.microsoft.comforfulldetailsaboutallthecommandlineswitchesfortheWindowsInstallerTool.
Setting
Result
/i<Package|Product Code>
This command installs or configures a product.
/i SysMgmt.msi Installs the Server Administrator software.
/i SysMgmt.msi /qn
This command carries out a fresh installation of version 5.1. This command also carries out major upgrades from version 4.3
to 5.1. You have to update your MSI engine before running this command if you are using a system running Windows
Server 2003 (without a Service Pack), Windows 2000 Server, or Windows XP operating system. See "Upgrading the MSI
Engine" for information on upgrading the MSI engine and installing/upgrading systems management software.
/i SysMgmt.msi REINSTALL=ALL
REINSTALLMODE=vomus /qn
Thiscommandscarriesoutaminorupgrade,sayfromversion4.3toversion4.4.YouhavetoupdateyourMSIengine
before running this command if you are using a system running Windows Server 2003 (without a Service Pack), Windows
2000 Server, or Windows XP operating system. See "Upgrading the MSI Engine" for information on upgrading the MSI
engine and installing/upgrading systems management software.
/x<Package|Product Code>
This command uninstalls a product.
/x SysMgmt.msi Uninstalls the Server Administrator software.
/q[n|b|r|f]
This command sets the user interface (UI) level.
/q or /qn noUI.Thisoptionisusedforsilentandunattendedinstallation.
/qb basicUI.Thisoptionisusedforunattendedbutnotsilentinstallation.
/qr reduced UI. This option is used for unattended installation while displaying a modal dialog box showing
installprogress.
/qf fullUI.Thisoptionisusedforstandardattendedinstallation.
/f[p|o|e|d|c|a|u|m|s|v]
<Package|ProductCode>
This command repairs a product.
/fp This option reinstalls a product only if a file is missing.
/fo This option reinstalls a product if a file is missing or if an older version of a file is installed.
/fe This option reinstalls a product if a file is missing or an equal or older version of a file is installed.
/fd This option reinstalls a product if a file is missing or a different version of a file is installed.
/fc This option reinstalls a product if a file is missing or the stored checksum value does not match the calculated value.
/fa This option forces all files to be reinstalled.
/fu This option rewrites all required user-specific registry entries.
/fm This option rewrites all required system-specific registry entries.
/fs This option overwrites all existing shortcuts.
/fv This option runs from the source and re-cachesthelocalpackage.Donotusethe/fv reinstall option for the first
installation of an application or feature.
INSTALLDIR=<path>
This command installs a product to a specific location. If you specify an install directory with this switch, it must be created
manuallypriortoexecutingtheCLIinstallcommandsortheywillfailwithnoerrorormessageastowhytheyfailed.
/i SysMgmt.msi INSTALLDIR=c:\OpenManage /qn installs a product to a specific location using c:\OpenManage as
the install location.
NOTE: Type the ADDLOCAL, REINSTALL, and REMOVE CLI parameters in upper case, as they are case-sensitive.