【问题标题】:Setup Failed: Visual Studio 2010 Pro installation安装失败:Visual Studio 2010 Pro 安装
【发布时间】:2012-05-15 16:40:56
【问题描述】:

尝试在 Windows 7(64 位)上安装 VS2010Pro,我还检查了所有系统要求。

错误:

查看错误日志:

[05/15/12,10:48:22] Microsoft Visual Studio 2010 64bit Prerequisites (x64): [2] Error: Installation failed for component Microsoft Visual Studio 2010 64bit Prerequisites (x64). MSI returned error code 1603
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 64bit Prerequisites (x64) is not installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft Visual F# 2.0 Runtime was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates TFS Object Model (x64) was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates .NET Framework 4 Multi-Targeting Pack was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Professional - ENU was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft Web Deployment Tool (x64) was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft ASP.NET MVC 2 - Visual Studio 2010 Tools was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft ASP.NET MVC 2 was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft Silverlight 3 SDK was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Tools for Office Runtime (x64) was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft Office Developer Tools (x64) was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Dotfuscator Software Services - Community Edition was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Crystal Reports templates for Visual Studio 2010 was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 SP2 (x64) ENU was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Visual Studio 2010 Tools for SQL Server Compact 3.5 SP2 ENU was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft Sync Framework Runtime v1.0 (x64) ENU was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft Sync Services for ADO.NET v2.0 (x64) ENU was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft Sync Framework Services v1.0 (x64) ENU was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft Sync Framework SDK v1.0 (x64) ENU was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates VC 10.0 Designtime (x64) was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft SQL Publishing Wizard 1.4 was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft SQL Server System CLR Types was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Management Objects was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Management Objects (x64) was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 Express Service Pack 1 (x64) was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Data-Tier Application Framework was not attempted to be installed.
[05/15/12,10:48:22] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Data-Tier Application Project was not attempted to be installed.

参考链接 1.MSDN 2.BLOG(已尝试)

也曾在MSDN论坛提问。

除了重新安装操作系统,我还有什么更好的解决这个问题的解决方案吗?

【问题讨论】:

  • 如果有帮助,请评价我的回答。

标签: visual-studio visual-studio-2010 installation


【解决方案1】:

经过2天的工作,解决方案终于来了.....呸!!!!!

我们来了,

由于错误表明 VS2010 在安装 Microsoft Visual Studio 2010 64bit Prerequisites (x64) 时卡住

Error: Installation failed for component Microsoft Visual Studio 2010 64bit Prerequisites (x64). MSI returned error code 1603

于是我搜索了对应的目录,手动运行了.exe

VS2010Pro\adminpoint\WCU\64bitPrereq\x64

运行 VS_Prerequisites_x64_enu 又得到一个 ERROR

error 25541 failed to open xml file C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG\machine.config, system error -2147024786

在指定路径中查找 machine.config,但在

中找不到 ma​​chine.config
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG

所以我将 ma​​chine.config.default 复制到桌面并将其重命名为 machine.config 并将其添加到 C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG 然后运行VS_Prerequisites_x64_enu & 然后是 VS2010 安装程序。

VS_Prerequisites_x64_enu ---> (finally) VS2010 installer

注意:通过这样做,我欺骗了安装程序,安装顺利。

更多详情HERE

【讨论】:

    【解决方案2】:

    错误代码1603:可以在这个msdn链接http://social.msdn.microsoft.com/Forums/eu/vssetup/thread/3f07772c-4187-4be7-a390-d775f8eb5a50找到解决方案

    如果没有解决,请尝试在VisualStudio Setup & Installation 论坛发帖。希望对你有帮助

    【讨论】:

      【解决方案3】:

      今天遇到了同样的问题并通过重新安装 .NET 框架 4.5 和 4.0 解决了它

      http://www.microsoft.com/en-us/download/details.aspx?id=30653

      http://www.microsoft.com/en-us/download/details.aspx?id=17851

      【讨论】:

        【解决方案4】:

        问题在于您下载的软件,它没有完全下载,这就是错误的原因, 我也遇到了同样的情况,但我通过重新下载软件解决了,

        下载后检查下载的大小和网站上提到的大小是否一致,如果不是没有完全下载,重新下载安装

        【讨论】:

          【解决方案5】:

          您可能缺少 machine.config 文件。

          位置:C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG

          【讨论】:

            【解决方案6】:

            我在 Windows 8.1 机器上安装 Visual Studio 2010 Professional 时遇到了类似的问题。 我尝试从本地目录安装 Visual Studio,但失败了。 尽管 DVD 中的所有文件看起来都与本地目录中的完全相同,但我再次重新复制了所有文件,这次安装成功。

            我还按照here 找到的这些步骤进行安装,无需输入产品密钥和您的自定义设置。并在安装过程中添加 SP1。 它没有解决问题,但我安装了无人值守的软件。

            【讨论】:

              【解决方案7】:

              我下载了一个损坏的图像并得到了相同的结果。我的建议是单独运行组件的安装程序;损坏的设置应立即失败。

              【讨论】:

                猜你喜欢
                • 1970-01-01
                • 1970-01-01
                • 2011-03-02
                • 2015-10-28
                • 1970-01-01
                • 1970-01-01
                • 2017-03-07
                • 2014-01-13
                相关资源
                最近更新 更多