This technical note explains how to use MSIEXEC commands to manually install a Windows Installer Patch (*.msp) file for EXTRA! or Reflection.
This note is organized into the following topics:
Typically, Reflection or EXTRA! patches are installed by double-clicking on the patch executable and following the installation instructions in the Patch Utility dialog box. For information about installing EXTRA! or Reflection patches from the Patch Utility, see these technical notes:
There are, however, situations in which administrators may want to use MSI commands to install an EXTRA! or Reflection patch manually. For example, if EXTRA! or Reflection was deployed using an imaging technique or Microsoft Systems Management Server (SMS) (rather than from an administrative install), the administrator may want to either deploy the patch so that individual users can update their workstations, or deploy the patch automatically or silently.
In these cases, the administrator can extract the *.msp file from the EXTRA! or Reflection patch executable and use the MSIEXEC command to apply the patch as described in the following sections.
Follow these steps to extract the *.msp file from the patch executable.
Once you have extracted the *.msp file, use MSIEXEC and the MSIEXEC command line switches to apply and deploy the patch using your standard deployment tools.
msiexec /p <switches> <file name>.msp REINSTALL=ALL REINSTALLMODE=omus
In the following example, the /qn switch is used to install the patch with no user interface (a silent install).
msiexec /p C:\Temp\1002ilc.msp REINSTALL=ALL REINSTALLMODE=omus /qn
||Performs the install/patch with no user interface (silent install).
||Quiet with a file installation progress bar during installation/patch.
||Quiet with a progress thermometer on the standard wizard dialog (no questions)
The REINSTALL parameter stores a list of features, separated by commas, that are to be reinstalled. If REINSTALL is set to ALL, all of the features that were previously installed on the user's system are reinstalled.
The REINSTALLMODE parameter contains a string of letters that specify the reinstall type. These options correspond to the values available for the Msiexec.exe /f command-line parameter. REINSTALLMODE is always set in conjunction with the REINSTALL parameter.
The REINSTALLMODE values:
||Reinstall if the file is missing or is an older version.
||Rewrite all required registry entries from the Registry Table that go to the HKEY_LOCAL_MACHINE or HKEY_CLASSES_ROOT registry hive. Rewrite all information from the Class Table, Verb Table, PublishComponent Table, ProgID Table, MIME Table, Icon Table, Extension Table, and AppID Table regardless of machine or user assignment. Reinstall all qualified components.When reinstalling an application, this option runs the RegisterTypeLibraries and InstallODBC actions.
||Rewrite all required registry entries from the Registry Table that go to the HKEY_CURRENT_USER or HKEY_USERS registry hive.
||Reinstall all shortcuts and re-cache all icons overwriting any existing shortcuts and icons.
For more information about MSIEXEC and the MSIEXEC command line switches, see the Microsoft MSDN site at http://msdn.microsoft.com/en-us/library/windows/desktop/aa367988(v=vs.85).aspx.
To apply a *.msp file to an administrative image, use the following syntax:
msiexec /a [path to administrative image .msi file] /p mspfile.msp
For more information about Microsoft Windows Installer, see the Microsoft MSDN site at http://msdn.microsoft.com/en-us/library/cc185688.aspx.