Article ID: 822454 - View products that this article applies to.
When you run Setup to install your Microsoft Office programs, you may receive the following error message:
This error message is followed by the following error message:
Error 1618: Another installation is already in progress. Complete that installation before proceeding with this install.
This issue occurs because Microsoft Windows Installer can only run one installation at a time unless it is a nested installation.
For more information about nested installations, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/aa368010.aspxTwo Windows Installer installations cannot be run in the same process. If you try to call the Installer's API, you receive the "ERROR_INSTALL_ALREADY_RUNNING" error message in the following two scenarios:
Reasons Why the Second Instance of the Windows Installer Process OccursThe Windows Installer is started to start a Maintenance Mode process because a Windows Installer file (a .msp file) is a self-contained file. It does not include a database like a regular installation package. Instead, it contains at least one database transform that adds update information to the database of the destination installation package. The Installer uses this information to apply the update files that are stored in the CAB file stream of the update package.
When an update is applied to a client computer, the Windows Installer first verifies that the update applies to the product. After this check, the Windows Installer loads the cached installer database into memory. The Windows Installer then applies the corresponding update transform to the in-memory database. The Windows Installer updates the database with all the installation changes in the update. Another update transform in the pair of transforms contains file manipulation instructions that you must have to upgrade the client computer.
How to Prevent Dual Instances of the Windows InstallerTo prevent a second instance of the Windows Installer, do not repackage a Windows Installer package into another Windows Installer package such as a custom .msi file. Office updating and upgrading will not work with nested installations with the current version of the Windows Installer.
All Office public updates include a bootstrapping program that is named OHotfix. While OHotfix is not the only tool that you can use to deploy updates, it is the easiest to use because it provides a lot of the necessary updating functionality.
You can also use other updating bootstrapping programs, such as a simple batch file or a complex custom program that uses the Windows Installer API calls.
A nested installation shares the same user interface and logging settings as the main installation. Developers should note the following warnings when authoring nested installations:
More Detailed Information About the Office Update Installation ProcessA good reference is the Office XP Patch Deployment white paper. Although this white paper specifically references Office XP, the concepts and recommendations apply to updating for any Windows Installer-based release of Office.
For additional information about how to distribute and install Office XP Service Pack 1, Office XP Service Pack 2, and other fixes and upgrades for Office XP, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/330043/ )"Microsoft Office XP Update Deployment" white paper is available at the Download Center
OHotfix.exe is the bootstrapping program for Office updates and is provided as part of the update executable file (.exe). It performs a number of actions before it runs the update installation, including:
The Windows Installer is an operating system service that permits the operating system to manage the installation process.
The Msiexec.exe program is a component of the Windows Installer. This program uses a dynamic link library, Msi.dll, to read the package files (.msi), apply transforms (.mst), and incorporate command-line options. The Windows Installer performs all installation-related tasks: copying files onto the hard disk, making registry modifications, creating shortcuts on the desktop, and displaying dialog boxes to query user installation preferences when necessary.
Additional InformationFor more information about how to download and install an update from the Internet, visit the following Microsoft Web site:
Article ID: 822454 - Last Review: October 9, 2011 - Revision: 2.0