Registering and Installing a MSI Patch Package

Contents
cla140
Contents
The Microsoft Windows Installer uses a patch package, which has a .msp file extension, to patch administrative installations or local installations.
Patching Administrative Installations
If you have used the Register MSI Package method, when you registered the software that you now want to patch, proceed in the following way to patch an administrative installation using Network install procedures.
  1. Select the MSI item to be patched in the Software Package Library.
  2. Right-click the Procedures folder and select New, Added procedure with new files in the context menu.
  3. On the General tab, provide a name for the procedure. The task should be Configure, the OS should be Windows 32-bit.
  4. On the Added Files tab, browse to the .msp file. The type should be set to MSI file.
  5. On the bottom three tabs that open for MSI files, you should select MSI method to be Patch Administrative Installation on the General tab.
    The package field states $msi\… $msi expands to the path of the directory, into which an Administrative Installation of the current item once was made.
  6. Provide the name of the MSI file, which was used when originally registering the package.
  7. Click OK to finish registering the patch procedure.
If you selected Use an administrative installation or Perform and use an administrative installation when registering the MSI package to be patched, you should use the browse button to the right of the Package field to point to the actual MSI file of the administrative installation.
Finally, execute the new configure procedure on the software delivery manager to apply the patch to the administrative installation
Patching Actual Installations
Since a patch now has been applied to the administrative installation for your MSI package, all new installation orders sent to targets using any of the Network Install procedures (which always use an administrative installation) uses the updated install package.
For existing installations, you need to run an Apply patch procedure to install the latest files from the patch. To run the patch, follow these steps:
  1. Select the MSI item for which the procedure is to be created in the Software Package Library (the MSI file, which was used when originally registering the package).
  2. Right-click the Procedures folder and select New, Added procedure with new files in the context menu.
  3. On the General tab, provide a name for the procedure. The task should be Configure, the OS should be Windows 32-bit. On the Added Files tab, browse to the .msp file. The type should be set to MSI file. On the General tab for MSI files, select MSI method to be Patch Installation.
    There is no package field this time.
  4. Click OK to finish registering the patch procedure.
You can now use this procedure to update the targets with the old MSI package installed.
Patching Local Installations
If you selected the Register MSI Package method at the registration of the MSI package that is to be patched, and intend to use the local install procedures that are registered in this case, you should proceed in the following way to create the patch procedure.
In this case, there is no way to patch the product in the Software Package Library. Packages using local install procedures need to get a patch applied afterwards to be updated to the latest version.
  1. Select the MSI item for which the procedure is to be created, in the Software Package Library.
  2. Right-click the Procedures folder and select New, Added procedure with new files in the context menu.
  3. On the General tab, provide a name for the procedure. The task should be Configure, the OS should be Windows 32-bit.
  4. On the Added Files tab, browse to the .msp file. The type should be set to MSI file.
  5. On the bottom three tabs that open for MSI files, you should select MSI method to be Patch Installation, on the General tab.
    There is no package field this time.
  6. Click OK to finish registering the patch procedure.
You can now use this procedure to update the targets. For targets with the old MSI packages installed, it is enough to execute the new configure procedure. For new installations, both the local install procedure and the new configure procedure must be executed.