Attachmate Worldwide  |   Contact Us  |   NetIQ.com
Home » Support » Solution Library

Technical Notes

Using MSI Commands to Manually Apply a Windows Installer (*.msp) Patch File
Technical Note 1885
Last Reviewed 18-Apr-2008
Applies To
EXTRA! X-treme version 9.0
Reflection for UNIX and OpenVMS version 11.0 or higher
Reflection for IBM version 11.0 or higher
Reflection for HP version 11.0 or higher
Reflection for IBM 2007
Summary

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:

Using the Patch Installer Versus Manually Applying a Patch

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:

2263—How to Apply a Service Pack to EXTRA! 9
2255—How to Apply a Service Pack/Patch to Reflection for IBM 2007
1615—How to Apply a Service Pack/Patch to a Workstation Installation of Reflection
1616—How to Apply a Service Pack/Patch to an Administrative Installation of Reflection

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

Extracting the Patch (*.msp) File

Follow these steps to extract the *.msp file from the patch executable.

  1. Double-click the patch executable.
  2. In the Patch Installation dialog box, select "Save to a file (*.msp) for later application," click Browse, navigate to the folder where you want the file to be saved, and then click Save.
  3. Finish the installation.
Figure 1: Patch Installation Dialog Box Figure 1: Patch Installation Dialog Box

Applying the Patch to a Workstation

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.

Syntax:

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

Example:

msiexec /p /qn C:\Temp\1002ilc.msp REINSTALL=ALL REINSTALLMODE=omus

Commonly used MSIEXEC command line switches:

Switch
Effect
/qn
Performs the install/patch with no user interface (silent install).
/qb
Quiet with a file installation progress bar during installation/patch.
/qr
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:

Value
Result
o
Reinstall if the file is missing or is an older version.
m
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.
u
Rewrite all required registry entries from the Registry Table that go to the HKEY_CURRENT_USER or HKEY_USERS registry hive.
s
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/library/default.asp?url=/library/en-us/msi/setup/command_line_options.asp.

Applying the Patch to an Administrative Image

To apply a *.msp file to an administrative image, use the following syntax:

msiexec /a [path to administrative image .msi file] /p mspfile.msp

Additional Resources

For more information about Microsoft Windows Installer, see the:

  • Windows Installer Support Center:
  • MSDN Windows Installer SDK documentation:
Related Technical Notes
1615 How to Apply a Service Pack/Patch to a Workstation Installation of Reflection
1616 How to Apply a Service Pack/Patch to an Administrative Installation of Reflection
1871 Uninstalling a Reflection Service Pack or Patch
2255 How to Apply a Service Pack/Patch to Reflection for IBM 2007
2263 How to Apply a Service Pack to EXTRA! 9

Did this technical note answer your question?

Yes    No    Somewhat     Not sure yet

Additional comments about this tech note:

Need further help? For technical support, please contact Support.