How to programmatically install the Outlook 2007 hotfix related to KB2512788 and KB2509470

After installing the April 2011 Public Update for Outlook 2007 (KB2509470), some users have reported difficulty with print previewing messages. The KB2512788 hotfix was created to address these issues.

The following steps can be used to install the KB2512788 hotfix in a manner that is conducive to an enterprise environment (i.e., via command line, silently, and requiring no user interaction):

1) Extract the MSP file from the KB2512788 executable, by using a command line similar to the following ("C:\KB2512788" is an example of a path where files could be extracted to):

<path>\office-kb2512788-fullfile-x86-glb.exe /extract:C:\KB2512788 /Q

2) Attempt to silently install the KB2512788 MSP file, generate a verbose installation log, and suppress reboots using a command line similar to the following (change "/QN" to "/QB" to display only a basic progress indicator):

%windir%\System32\msiexec.exe /P C:\KB2512788\outlook-x-none.msp REBOOT=ReallySuppress /L*V C:\KB2512788\KB2512788.log /QN

3) Check the end of the verbose log file (i.e., KB2512788.log) for a return code. A value of zero indicates success with no further action required. A return code of 3010 also indicates a successful installation of the MSP file, but a reboot is required to complete the update process.

4) See for additional info on Windows Installer return/error codes.

5) Machines with Windows Installer 4.x and later (Windows 7 ships with Installer 5.x) contain functionality provided by the MSI Restart Manager. The design of the MSI Restart Manager is to reduce required system restarts caused by required files being in use during a maintenance mode or update process.

6) With the MSI Restart Manager, if a file that is to be updated is held in use by another process or application (i.e., Outlook.exe), that application is restarted in order to allow for an "on the fly" update.

7) This has the potential to cause issues with open Office applications, which may be unexpectedly restarted. To prevent applications from being restarted, a command line similar to the following can be used:

 %windir%\System32\msiexec.exe /P C:\KB2512788\outlook-x-none.msp REBOOT=ReallySuppress MSIRESTARTMANAGERCONTROL=Disable /L*V C:\KB2512788\KB2512788.log /QN

8) It is important to note that if the MSI Restart Manager is disabled, a reboot is suppressed, and Office files to be updated are in use, changes to files will not occur until after the machine is rebooted (this would be a scenario where the log file ends with a return code of 3010).

9) See the following articles for additional info on the MSI Restart Manager:

MSI Restart Manager - How it relates to Office updates and application restarts

Using Windows Installer with Restart Manager


10) For further information on the KB2509470 and KB2512788 updates & hotfixes, see the following blog posts and articles:

Office Sustained Engineering and Release Team Blog post, “Issues after installing Outlook KB KB2509470"

KB2512788 Description of the Office Outlook 2007 hotfix package (Outlook-x-none.msp): April 26, 2011

Office Sustained Engineering and Release Team Blog post, "April 2011 Office Security Update Release"

KB2509470 Description of the Extended Protection for Authentication update for Outlook 2007

Comments (0)

Skip to main content