【问题标题】:Setup could not install following component: Microsoft Application Error Reporting [duplicate]安装程序无法安装以下组件:Microsoft 应用程序错误报告 [重复]
【发布时间】:2012-12-10 13:22:19
【问题描述】:

我在我的Windows 7 上运行Microsoft Visual C# 2010 Express Setup。但是由于以下错误,我无法完成设置

我没有任何时候取消安装。我是这台机器的administrator。我还通过引用网站尝试了一些事情 - http://social.msdn.microsoft.com/Forums/en-US/Vsexpressinstall/thread/a8da8e97-e4e2-416a-97f1-636c2dc1d4c1/

任何想法,可能是什么问题?

我的安装日志报如下错误:

[12/10/12,19:14:39] Microsoft 应用程序错误报告:[2] CMsiComponent::Install() 需要 Microsoft 应用程序错误报告的安装文件,但该文件未通过验证。 [12/10/12,19:14:39] setup.exe: [2] ISetupComponent::Pre/Post/Install() 在 ISetupManager::InternalInstallManager() 中失败,HRESULT -2147467259。 [12/10/12,19:14:40] ExpressUI:[2] DepCheck 指示未安装 Microsoft 应用程序错误报告。

【问题讨论】:

  • 您是否尝试过收集安装日志并检查问题所在? blogs.msdn.com/b/heaths/archive/2009/05/20/collect.aspx
  • 嗨@ArtemKoshelev:我检查了dd_error_vcs_xcor_100log 文件,上面写着->[12/10/12,19:14:39] Microsoft Application Error Reporting: [2] CMsiComponent::Install() expects the setup file for Microsoft Application Error Reporting, but the file failed verification. [12/10/12,19:14:39] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147467259. [12/10/12,19:14:40] ExpressUI: [2] DepCheck indicates Microsoft Application Error Reporting is not installed.
  • 嗨@ArtemKoshelev:我从dd_install_vcs_xcor_100 日志文件中得到-> [12/10/12,19:14:29] Microsoft Application Error Reporting: File failed validation: e:\vcsexpress\.\wcu\watson\dw20shared.msi; error = 0x80091007。很久以前,我在其他机器上使用过相同的 iso 文件。会不会是这个原因?
  • 由于尝试从网络符号链接安装而出现此错误,在本地复制文件后它工作正常。花了很长时间才弄清楚问题。

标签: c# visual-studio-2010 visual-studio c#-4.0 visual-studio-express


【解决方案1】:

我检查了你的安装日志,发现下面的错误信息:

[04/25/11,10:00:53] InstallReturnValue:GFN_MID Microsoft 应用程序错误报告,0x641 [04/25/11,10:00:53] Microsoft 应用程序错误报告:ERRORLOG EVENT:错误:组件 Microsoft 应用程序错误报告的安装失败。 MSI 返回错误代码 1601

对于十六进制 0x641 / 十进制 1601 的错误代码,它表示 ERROR_INSTALL_SERVICE_FAILURE,翻译为“无法访问 Windows Installer 服务。如果您在安全模式下运行 Windows,或者 Windows Installer 不正确,则可能会发生这种情况已安装”。

根据报错信息,此问题应该与您的 Windows Installer 服务有关。

您能否通过以下步骤帮助检查 Windows Installer 服务是否设置为手动但未禁用:

单击“开始”菜单,单击“运行”,在“打开”文本框中键入 services.msc,然后单击“确定”。 在服务(本地)列表中,右键单击 Windows Installer,然后单击属性。 如果启动类型下拉列表设置为禁用值,请从启动类型下拉列表中选择手动选项,然后单击确定。 单击文件菜单,然后单击退出。 您可以尝试下载并安装最新的 Windows Installer 4.5 Redistributable

另外,请参阅 Windows 安装程序问题部分中的以下链接,以了解有关修复与服务相关的一些问题的更多信息。

http://support.microsoft.com/kb/2438651 http://support.microsoft.com/kb/315346 此外,我注意到您在安装时有一些可移动设备连接到您的计算机,请在安装过程中将它们删除。

如果有任何更新,请随时告诉我。

【讨论】:

    猜你喜欢
    • 2020-04-07
    • 1970-01-01
    • 2016-09-14
    • 2013-07-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多