解决更新汇总安装问题

 

上一次修改主题: 2010-06-29

从 Microsoft Exchange Server 2007 版本开始,Microsoft 更改了 Exchange 软件更新的服务策略。更新(也称为更新汇总包)现在作为累积修补程序的主要汇总发布。有关此服务策略的详细信息,请参阅 Microsoft 知识库文章 937194 Exchange Server 2007 产品服务策略

通常,在安装 Exchange 更新汇总包时,您不会遇到任何问题。不过,如果您确实遇到了问题,则可能不太容易确定故障的原因。本主题介绍了一些有关更新汇总安装故障的常见原因。本主题还提供了有关如何排除安装故障的信息。

常见更新汇总安装问题

以下部分介绍了一些导致更新汇总安装故障的常见问题。

使用了错误的更新汇总版本

由于 Exchange 管理控制台可以在 32 位操作系统上运行,并且 32 位版本的 Microsoft Exchange 可用于测试目的,因此可能会安装错误版本的更新汇总包。在这种情况下,您会在尝试安装特定更新汇总时收到以下警告消息:

此文件的版本与正在运行的 Exchange Server 2007 版本不兼容。请检查计算机以了解需要此文件的 x64(64 位)还是 x86(32 位)版本。

若要解决此问题,请获取相应版本的更新汇总包。

安装了临时更新

Microsoft 会在更新汇总的发布计划之外发布 Microsoft Exchange 的临时更新。如果您安装了临时更新,则在安装更新汇总包(包含的修补程序与临时更新相同)之前,必须删除临时更新。如果已安装临时更新,则在安装特定更新汇总包时将收到以下警告消息:

由于以前安装了 Microsoft Exchange 临时更新而无法安装。请使用“添加/删除程序”卸载临时更新,然后再次运行此安装程序。

通过“添加/删除程序”(Windows 2003) 或“程序和功能”(Windows Vista、2008)删除任何现有临时更新,然后尝试再次安装此更新汇总。

在删除更新汇总的过程中也可能会出现此问题。如果安装了临时更新,则必须在删除更新汇总之前删除该临时更新。在这种情况下,如果您尝试在删除临时更新之前删除更新汇总,则会收到以下警告消息:

无法继续卸载。<向导名称> 已经确定安装了临时更新。在卸载临时更新之前,无法卸载此更新汇总。

如果尝试安装的更新汇总是当前已安装更新汇总版本的早期版本,则可能会遇到类似的问题。在这种情况下,您会在尝试安装早期版本的更新汇总时收到以下警告消息:

无法继续安装。<向导名称> 已经确定目前安装的更新汇总已取代此更新汇总。不必安装此更新汇总。

若要解决这些问题,请删除临时更新,然后为正在运行的 Microsoft Exchange 版本安装最新的更新汇总。

Internet 连接不可用

如果尝试安装更新汇总,则在 .NET Framework 尝试执行证书吊销操作时,安装可能会停止响应(挂起)。若要解决此问题,请临时禁用证书吊销。为此,请使用下列方法之一:

方法 1:在注册表中设置状态条目

若要在注册表中禁用证书吊销检查,请执行以下步骤:

  1. 在注册表编辑器中,找到以下注册表子项:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Wintrust\Trust Providers\Software Publishing\State

  2. 设置以下注册表值:值名称State值类型REG_DWORD值数据0x00023e00

  3. 退出注册表编辑器,然后尝试安装更新汇总。

  4. 成功安装更新汇总后,将“State”注册表值设置为“0x00023c00”。

方法 2:配置 Internet Explorer

若要在 Internet Explorer 中禁用证书吊销检查,请执行以下步骤:

  1. 启动 Internet Explorer。

  2. 在“工具”菜单上,单击“Internet 选项”。

  3. 在“Internet 选项”对话框中,单击“高级”选项卡。

  4. 在“安全”下,单击以清除以下复选框:

    • 检查发行商的证书是否吊销

    • 检查服务器证书吊销

  5. 退出 Internet Explorer,然后尝试安装更新汇总。

  6. 成功安装更新汇总后,修改 Internet Explorer 属性以重新启用证书吊销。

有关 Microsoft Exchange 中证书吊销的详细信息,请参阅 Exchange Server 工作组博客文章 Exchange 2007 managed services might time out during certificate revocation checks(英文网页)。

Exchange 服务不自动重新启动

如果 Microsoft Exchange 相关的服务在安装更新汇总后不重新启动,请参阅 Microsoft 知识库文章 944752 Exchange Server 2007 托管代码服务在安装 Exchange Server 2007 更新汇总后不启动

其他问题

在安装更新汇总时,您还可能遇到以下问题:

  • 使用 Windows Update 安装更新汇总后,某些服务被禁用。

  • Outlook Web Access 不工作。

如果 %SYSTEMDRIVE%\ExchangeSetupLogs 文件夹已删除或重命名,则可能会出现此问题。有关详细信息,请参阅 Microsoft 知识库文章 930809 Exchange Server 2007 更新汇总 1 说明

解决安装问题

您可能会遇到无法在本主题前面部分中解决的更新汇总安装问题。此部分包含可用于帮助确定更新汇总安装故障的其他原因的信息。

检查应用程序事件日志

在某些情况下,Microsoft Exchange 更新汇总安装程序可能会意外退出。或者,安装程序可能会报告它已提前结束。在这种情况下,您将收到以下错误消息:

Exchange Server 2007 Service Pack 1 更新汇总 5 的安装向导 (KB953467) 由于错误而提前结束。系统尚未进行任何修改。若要在稍后安装此程序,请再次运行安装程序。

若要解决此问题,请检查受影响服务器上的应用程序日志。Windows Installer 将会在应用程序日志中记录安装错误。例如,Windows Installer 会记录错误代码为 1603 的以下条目:

事件类型:错误

事件源:MsiInstaller

事件类别:无

事件 ID: 1024

说明:产品:Microsoft Exchange Server - 无法安装更新“Exchange Server 2007 Service Pack 1 更新汇总 4 (KB952580) 8.1.311.3”。错误代码 1603。

Windows Installer 可以创建日志来帮助解决在安装软件包时遇到的问题。使用以下链接了解有关打开日志记录支持的说明:

https://go.microsoft.com/fwlink/?LinkId=23127

若要解决 Windows Installer 错误,请启用详细的 MSI 日志记录。

启用详细的 MSI 日志记录

由于 Microsoft Exchange 使用 Windows Installer 进行更新,因此您必须增加受影响更新汇总的 MSI 日志记录。若要生成 MSI 或 MSP 包的详细日志文件,请使用下列方法之一:

方法 1:使用命令行选项

您可以运行更新汇总包以及日志记录选项,以生成特定安装尝试的安装日志文件。例如,在更新汇总安装期间,运行以下命令创建一个日志文件:

Exchange2007-KB<RollupPackageNumber>-x64-EN.msp /lxv* c:\<path>\<filename>.log

方法 2:设置注册表值

您可以设置注册表项以生成所有 MSI 更新的详细日志记录。为此,请执行下列步骤:

  1. 在命令提示符下,输入以下命令:

    net stop msiserver

  2. 启动注册表编辑器 (regedit.exe),然后找到以下注册表子项:

    HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer

  3. 在“Installer”子项中创建以下注册表项:

    值名称logging值类型REG_SZ

    值数据voicewarmup!

    值名称debug

    值类型REG_DWORD

    值数据7

  4. 退出注册表编辑器,然后启动 Windows Installer 服务。为此,请在命令提示符下运行以下命令:

    net start msiserver

启用详细日志记录后,每次使用“添加或删除程序”时都会生成一个新的 Msi*.log 文件。

note注意:
我们建议您不要将详细日志记录一直置于启用状态。详细日志记录可能会影响系统性能,并可能使用大量磁盘空间。

有关如何启用 Windows Installer 日志记录的详细信息,请参阅 Microsoft 知识库文章 223300 如何启用 Windows Installer 日志记录

搜索 MSI 日志文件中的 Return Value 3

配置 Windows Installer 详细日志记录后,搜索 MSI 日志文件中的以下字符串:

Return value 3

通常,第一个“Return value 3”实例将标识该安装问题的原因。若要解决安装问题,请检查紧靠该 Return value 3 之前的条目。有关此过程的详细信息,请参阅 Microsoft Exchange Server 工作组博客文章 How to locate the cause of error code 1603 in a verbose MSI log file(英文网页)。

以下部分说明了 Windows Installer 详细日志记录可能会记录的问题。这些部分中的信息摘录自由 Microsoft Enterprise Communications Support 技术人员处理的实际问题。

示例 1:设置了错误的 ExecutionPolicy

如果设置了错误的 ExecutionPolicy,则在 Windows Server 2008 上安装 Microsoft Exchange 更新汇总包可能会失败。

以下内容摘录自紧靠第一个“Return value 3”实例之前的日志文件条目。

MSI (s) (DC!BC) [06:51:04:902]:PROPERTY CHANGE:Deleting QtExecCmdLine property.

Its current value is '"C:\Program Files\Microsoft\Exchange

Server\\bin\QuietExe.exe"

"C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe" " -command .

'C:\Program Files\Microsoft\Exchange Server\\bin\servicecontrol.ps1'

BeforePatch"'.

MSI (s) (DC!BC) [06:51:06:355]:Creating MSIHANDLE (4) of type 790531 for thread 4540

CAQuietExec:Error 0x80070001:Command line returned an error.

MSI (s) (DC!BC) [06:51:06:355]:Closing MSIHANDLE (4) of type 790531 for thread 4540

MSI (s) (DC!BC) [06:51:06:355]:Creating MSIHANDLE (5) of type 790531 for thread 4540

CAQuietExec:Error 0x80070001:CAQuietExec Failed

MSI (s) (DC!BC) [06:51:06:355]:Closing MSIHANDLE (5) of type 790531 for thread 4540

MSI (s) (DC!BC) [06:51:06:355]:Closing MSIHANDLE (2) of type 790541 for thread 4540

MSI (s) (DC:C8) [06:51:06:355]:Closing MSIHANDLE (1) of type 790542 for thread 6776

Action ended 6:51:06:CA_SAVEDATA_STOP_SERVICES.Return value 3.

在此日志文件摘录中,“Return value 3”显示在“CA_SAVEDATA_STOP_SERVICES”旁边。

Microsoft Exchange 使用 Windows Installer 引擎安装更新汇总包时使用的是自定义操作 (CA)。在 CA_SAVEDATA_STOP_SERVICES 自定义操作中,Microsoft Exchange 尝试运行名为“servicecontrol.ps1”的 PowerShell 脚本以及“BeforePatch”选项。

在这种情况下,该脚本不会运行,因为 PowerShell 中的 ExecutionPolicy 设置错误。若要确定当前的 PowerShell 执行策略,请运行 Get-ExecutionPolicy cmdlet。默认情况下,PowerShell 执行策略设置为“RemoteSigned”。

若要解决此问题,请将 ExecutionPolicy 设置为“RemoteSigned”或“Unrestricted”。然后,再次尝试安装该更新汇总。安装该更新汇总后,将 ExecutionPolicy 设置为“RemoteSigned”。

有关此问题的详细信息,请参阅下列主题:

示例 2:更新汇总无法删除临时文件

如果在安装过程中,更新汇总安装无法删除或修改临时的 .msp 文件,则可能会发生 1603 错误。以下示例摘录自此错误的 MSI 日志文件。

MSI (c) (E8:F0) [08:54:18:744]:Windows Installer installed an update.Product

Name:Microsoft Exchange Server.Product Version:8.1.240.6. Product Language:

1033. Update Name:Update Rollup 4 for Exchange Server 2007 Service Pack 1

(KB952580) 8.1.311.3.Installation success or error status: 1603.

MSI (c) (E8:F0) [08:54:18:744]:Note: 1: 1729

MSI (c) (E8:F0) [08:54:18:745]:Note:1: 2262 2: Error 3: -2147287038

MSI (c) (E8:F0) [08:54:18:756]:Transforming table Error.

MSI (c) (E8:F0) [08:54:18:758]:Transforming table Error.

MSI (c) (E8:F0) [08:54:18:758]:Note:1: 2262 2: Error 3: -2147287038

MSI (c) (E8:F0) [08:54:18:758]:Note:1: 2262 2: Error 3: -2147287038

MSI (c) (E8:F0) [08:54:18:769]:Transforming table Error.

MSI (c) (E8:F0) [08:54:18:772]:Transforming table Error.

MSI (c) (E8:F0) [08:54:18:772]:Note:1: 2262 2: Error 3: -2147287038

MSI (c) (E8:F0) [08:54:18:772]:Product:Microsoft Exchange Server -- Configuration failed.

MSI (c) (E8:F0) [08:54:18:773]:Windows Installer reconfigured the product.Product

Name:Microsoft Exchange Server.Product Version:8.1.240.6. Product Language:

1033. Reconfiguration success or error status: 1603.

MSI (c) (E8:F0) [08:54:18:775]:Attempting to delete file

C:\Users\<user alias>\AppData\Local\Temp\2\3b396.msp

MSI (c) (E8:F0) [08:54:18:775]:Unable to delete the file.LastError = 32

MSI (c) (E8:F0) [08:54:18:781]:Grabbed execution mutex.

MSI (c) (E8:F0) [08:54:18:781]:Cleaning up uninstalled install packages, if any exist

MSI (c) (E8:F0) [08:54:18:781]:Attempting to delete file

C:\Users\<user alias>\AppData\Local\Temp\2\3b396.msp

MSI (c) (E8:F0) [08:54:18:784]:MainEngineThread is returning 1603

在 Windows Server 2008 上运行用户帐户控制时,可能会出现此错误。若要解决此问题,请确认更新汇总安装正从提升的命令提示符下运行。为此,请右键单击 cmd.exe 快捷方式,然后单击“以管理员身份运行”。然后,再次尝试安装该更新汇总。

示例 3:Windows Installer 目录不包含以前安装的 .msp 或 .msi 文件

更新汇总安装失败时,您可能会收到一条类似以下消息的错误消息:

无法打开该修补程序包。请确认该修补程序包存在并且您可以访问它,或与应用程序供应商联系,确认这是有效的 Windows Installer 修补程序包。

发生此错误时,将在 MSI 日志文件中记录类似以下条目的条目。

=== Verbose logging started:8/27/2007 13:12:59 Build type:SHIP UNICODE

3.01.4000.4042 Calling process:C:\WINDOWS\System32\msiexec.exe ===

MSI (c) (58:50) [13:12:59:838]:Resetting cached policy values

MSI (c) (58:50) [13:12:59:838]:Machine policy value 'Debug' is 0

MSI (c) (58:50) [13:12:59:838]:******* RunEngine:

******* Product:{24B2C164-DE66-44FE-B468-A46D9D5E6B31}

******* Action:

******* CommandLine: **********

MSI (c) (58:50) [13:12:59:838]:Machine policy value 'DisableUserInstalls' is 0

MSI (c) (58:50) [13:12:59:838]:Warning:Local cached package

'C:\WINDOWS\Installer\380f45.msi' is missing.

MSI (c) (58:50) [13:12:59:838]:User policy value 'SearchOrder' is 'nmu'

MSI (c) (58:50) [13:12:59:838]:User policy value 'DisableMedia' is 0

MSI (c) (58:50) [13:12:59:838]:Machine policy value 'AllowLockdownMedia' is 0

MSI (c) (58:50) [13:12:59:838]:SOURCEMGMT:Media enabled only if package is

safe.

MSI (c) (58:50) [13:12:59:838]:SOURCEMGMT:Looking for sourcelist for product {24B2C164-DE66-44FE-B468-A46D9D5E6B31}

MSI (c) (58:50) [13:12:59:838]:SOURCEMGMT:Adding

{24B2C164-DE66-44FE-B468-A46D9D5E6B31}; to potential sourcelist list (pcode;disk;relpath).

MSI (c) (58:50) [13:12:59:838]:SOURCEMGMT:Now checking product

{24B2C164-DE66-44FE-B468-A46D9D5E6B31}

MSI (c) (58:50) [13:12:59:838]:SOURCEMGMT:Media is enabled for product.

MSI (c) (58:50) [13:12:59:838]:SOURCEMGMT:Attempting to use LastUsedSource from source list.

MSI (c) (58:50) [13:12:59:838]:SOURCEMGMT:Trying source C:\Documents and

Settings\Administrator\Desktop\.

MSI (c) (58:50) [13:12:59:853]:Cloaking enabled.

MSI (c) (58:50) [13:12:59:853]:Attempting to enable all disabled priveleges before calling Install on Server

MSI (c) (58:50) [13:12:59:853]:SOURCEMGMT:Resolved source to:'C:\Documents and Settings\Administrator\Desktop\'

MSI (c) (58:50) [13:12:59:885]:SOFTWARE RESTRICTION POLICY:Verifying package -->

'C:\Documents and Settings\Administrator\Desktop\EXCHANGESERVER.msi' against

software restriction policy

MSI (c) (58:50) [13:12:59:885]:SOFTWARE RESTRICTION POLICY:C:\Documents and

Settings\Administrator\Desktop\EXCHANGESERVER.msi has a digital signature

MSI (c) (58:50) [13:13:00:010]:SOFTWARE RESTRICTION POLICY:C:\Documents and

Settings\Administrator\Desktop\EXCHANGESERVER.msi is permitted to run at the

'unrestricted' authorization level.

MSI (c) (58:50) [13:13:00:010]:Cloaking enabled.

MSI (c) (58:50) [13:13:00:010]:Attempting to enable all disabled privileges before calling Install on Server

MSI (c) (58:50) [13:13:00:010]:End dialog not enabled

MSI (c) (58:50) [13:13:00:010]:Original package ==> C:\Documents and

Settings\Administrator\Desktop\EXCHANGESERVER.msi

MSI (c) (58:50) [13:13:00:010]:Package we're running from ==>

C:\DOCUME~1\ADMINI~1 \LOCALS~1\Temp\2\1d700e29.msi

MSI (c) (58:50) [13:13:00:041]:APPCOMPAT:looking for appcompat database entry with ProductCode '{24B2C164-DE66-44FE-B468-A46D9D5E6B31}'.

MSI (c) (58:50) [13:13:00:041]:APPCOMPAT:no matching ProductCode found in

database.

MSI (c) (58:50) [13:13:00:041]:MSCOREE not loaded loading copy from system32

MSI (c) (58:50) [13:13:00:041]:Opening existing patch

'C:\WINDOWS\Installer\5c321.msp'.

MSI (c) (58:50) [13:13:00:041]:Note:1: 2203 2: C:\WINDOWS\Installer\5c321.msp 3: -2147287038

MSI (c) (58:50) [13:13:00:041]:Couldn't find local patch

'C:\WINDOWS\Installer\5c321.msp'.Looking for it at its source.

MSI (c) (58:50) [13:13:00:041]:Resolving Patch source.

MSI (c) (58:50) [13:13:00:041]:User policy value 'SearchOrder' is 'nmu'

MSI (c) (58:50) [13:13:00:041]:SOURCEMGMT:Media enabled only if package is

safe.

MSI (c) (58:50) [13:13:00:041]:SOURCEMGMT:Looking for sourcelist for product {09679EB4-B32D-4F10-88C9-34299B366C5B}

MSI (c) (58:50) [13:13:00:041]:SOURCEMGMT:Adding

{09679EB4-B32D-4F10-88C9-34299B366C5B}; to potential sourcelist list

(pcode;disk;relpath).

MSI (c) (58:50) [13:13:00:041]:SOURCEMGMT:Now checking product

{09679EB4-B32D-4F10-88C9-34299B366C5B}

MSI (c) (58:50) [13:13:00:041]:SOURCEMGMT:Media is enabled for product.

MSI (c) (58:50) [13:13:00:041]:SOURCEMGMT:Attempting to use LastUsedSource from source list.

MSI (c) (58:50) [13:13:00:041]:SOURCEMGMT:Processing net source list.

MSI (c) (58:50) [13:13:00:041]:Note:1: 1402 2: UNKNOWN\Net 3: 2

MSI (c) (58:50) [13:13:00:041]:Note: 1: 1706 2: -2147483647 3:

Exchange2007-KB935490-x64-EN.MSP

MSI (c) (58:50) [13:13:00:041]:SOURCEMGMT:Processing media source list.

MSI (c) (58:50) [13:13:00:056]:SOURCEMGMT:Resolved source to:

'Exchange2007-KB935490-x64-EN.MSP'

MSI (c) (58:50) [13:13:00:056]:Note:1: 1314 2: Exchange2007-KB935490-x64-EN.MSP

MSI (c) (58:50) [13:13:00:056]:Unable to create a temp copy of patch

'Exchange2007-KB935490-x64-EN.MSP'.

This patch package could not be opened.Verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer patch package.

C:\Documents and Settings\Administrator\Desktop\EXCHANGESERVER.msi

MSI (c) (58:50) [13:13:00:056]:Note: 1: 1708

MSI (c) (58:50) [13:13:00:056]:Note: 1: 2729

MSI (c) (58:50) [13:13:00:056]:Product:Microsoft Exchange Server -- Installation failed.

在这种情况下,Exchange 2007 SP1 的更新汇总 4 无法安装,因为缺少以前更新汇总安装中的 .msp 文件。具体地说,缺少 Exchange 2007 SP1 更新汇总 2 中的 .msp 文件。

通过检查日志文件条目(如以下条目),可以确定此问题。

MSI (c) (58:50) [13:13:00:041]:Couldn't find local patch 'C:\WINDOWS\Installer\5c321.msp'.Looking for it at its source.

此条目指示 Windows Installer 尝试查找 5c321.msp。由于 Windows Installer 无法找到该文件,因此,Windows Installer 尝试通过其源条目进行查找。

MSI (c) (58:50) [13:13:00:041]:SOURCEMGMT:Looking for sourcelist for product {09679EB4-B32D-4F10-88C9-34299B366C5B}

此条目指示缺少的 .msp 文件的源为 GUID {09679EB4-B32D-4F10-88C9-34299B366C5B}。日志文件中的后续条目会将产品 GUID 解析为特定包名称。

MSI (c) (58:50) [13:13:00:041]:Note:1: 1706 2: -2147483647 3: Exchange2007-KB935490-x64-EN.MSP MSI (c) (58:50) [13:13:00:041]:SOURCEMGMT:Processing media source list.MSI (c) (58:50) [13:13:00:056]:SOURCEMGMT:Resolved source to:'Exchange2007-KB935490-x64-EN.MSP'MSI (c) (58:50) [13:13:00:056]:Note:1: 1314 2: Exchange2007-KB935490-x64-EN.MSP

此条目指示受影响的包为 Exchange2007-KB935490-x64-EN.MSP。以下条目显示 Windows Installer 无法创建修补程序的临时副本。

MSI (c) (58:50) [13:13:00:056]:Unable to create a temp copy of patch 'Exchange2007-KB935490-x64-EN.MSP'.This patch package could not be opened.Verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer patch package.

B935490 表示 Exchange 2007 SP1 的更新汇总 2。在这种情况下,Windows Installer 尝试查找以前的更新汇总,即使您正在安装 Exchange 2007 SP1 的更新汇总 4。

此问题发生的原因为:即使更新汇总包包含对 Microsoft Exchange 代码的累积更新,Windows Installer 也执行以下操作:

  • 检查以前安装的更新汇总包

  • 查找以前安装的任何更新汇总包的 .msi 文件

Windows Installer 使用以前安装的文件创建一个完整的安装集供当前更新汇总使用。如果 Windows Installer 确定已安装以前的更新汇总,但找不到相应的 .msp 文件,则当前更新汇总安装将会失败。

若要解决此问题,请复制日志文件中指定的更新汇总文件,然后将该文件重命名为日志文件中引用的相同名称。在此示例中,复制 Exchange 2007 SP1 更新汇总 2 文件,再将其重命名为 5c321.msp,然后,将重命名的文件复制到 C:\Windows\Installer 目录中。

在此错误中,请注意有关 Windows Installer 文件的以下信息:

  • 不应修改或删除 C:\Windows\Installer 目录的内容。

  • Windows Installer 将根据产品名称和 GUID 跟踪所有修补程序。此外,Windows Installer 还将在 C:\Windows\Installer 目录中保留这些安装文件的副本。这些文件将使用随机的十六进制文件名进行重命名。文件名是唯一的,并且在注册表中引用。因此,您无法在多个服务器之间复制 C:\Windows\Installer 目录的内容。

    注册表包含有关已在 Microsoft Exchange 基础产品上安装的修补程序的信息。这些注册表项指向 C:\Windows\Installer 目录以及安装程序源文件原始位置中的 .msp 和 .msi 文件。例如,Microsoft Exchange 基础产品具有以下注册表子项:HKEY_CLASSES_ROOT\Installer\Products\ 461C2B4266EDEF444B864AD6D9E5B613。此子项下显示的修补程序子项包含对所有已安装更新汇总的引用。同时在以下子项下引用这些更新汇总:HKEY_CLASSES_ROOT\Installer\Patches

    HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Patches

note注意:
提供这些注册表项供您参考。我们建议您不要修改或删除这些注册表项。

示例 4:注册表或文件系统损坏

注册表或文件系统损坏(尤其是 Windows Installer 组件的注册表或文件系统损坏)可能会使得难以解决更新汇总安装问题。虽然这种情况很少发生,但注册表或文件系统损坏问题将需要您重建服务器。在这种情况下,您必须使用 /recoverserver 选项重新安装操作系统并执行新的 Microsoft Exchange 安装,然后安装相应的更新汇总。

示例 5:误报

虽然 Windows Installer 详细日志记录可能会帮助您解决遇到的安装错误问题,但是记录的一些错误消息并不指示安装中存在问题。

Windows Installer 详细日志记录通常会记录以下错误。但是,此错误并不指示更新汇总安装中存在问题。相反,生成此错误仅是因为启用了详细日志记录。

SI (c) (E8:E4) [13:22:15:847]:Note:1: 2262 2: Error 3: -2147287038

DEBUG:Error 2826:Control BottomLine on dialog ErrorDlg extends beyond the boundaries of the dialog to the right by 5 pixels

The installer has encountered an unexpected error installing this package.This may indicate a problem with this package.The error code is 2826. The arguments are:ErrorDlg, BottomLine, to the right

详细日志记录功能生成的常见错误情况字符串是 MSI 日志文件中可能会出现的另一种误报错误。这些错误情况显示在靠近日志文件结尾的“Property”部分。例如,MSI 日志文件中可能会显示以下条目。

Property(C):msgRequiresProc = The version of this file is not compatible with the version of Exchange Server 2007 that you're running.Check your computer to see whether you need an x64 (64-bit) or x86 (32-bit) version of this file.

Property(C):msgINTERIMUPDATEDETECTED = Unable to install because a previous Interim Update for Exchange Server 2007 has been installed.Please use Add/Remove Programs to uninstall the Interim Update before running this setup again.

Property(C):msgInterimIncorrectRollup = Installation cannot continue.The [Wizard] has determined that this Interim Update is incompatible with the current Exchange Server 2007 configuration.

Property(C):msgUninstallTargetRollupBeforeInterim = Uninstall cannot continue.The [Wizard] has determined that an Interim Update has been installed.This Update Rollup cannot be uninstalled until the Interim Update has been uninstalled.

Property(C):msgOlderInstallOnNewerRollupIncorrectRollup = Installation cannot continue.The [Wizard] has determined that this Update Rollup has been superseded by the currently installed Update Rollup.Installation of this Update Rollup is unnecessary.

这些错误情况将显示一些在 .msp 包中公开,以及可由 Windows Installer 引擎 Msiexec.exe 使用的属性。这些错误并不指示安装问题。我们建议您关注日志文件中的“Return value 3”字符串,以解决所遇到的安装问题。有关解决安装问题的其他帮助,请联系 Microsoft 客户支持服务 (CSS)。