10

尝试在 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论坛上也问过问题。

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

4

7 回答 7

7

经过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 25541 failed to open xml file C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG\machine.config, system error -2147024786

在指示的路径中查找 machine.config ,但我找不到machine.config

C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG

所以我将 machine.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

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

更多细节在这里

于 2012-05-16T16:25:25.110 回答
2

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

如果它没有解决,请尝试在VisualStudio 设置和安装论坛中发布它。希望能帮助到你

于 2012-05-15T16:46:34.610 回答
0

今天有同样的问题,并通过重新安装 .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

于 2013-08-31T18:50:17.680 回答
0

问题是你下载的软件,它没有完全下载,这就是为什么这个错误,我也遇到过同样的问题,但我通过重新下载软件解决了,

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

于 2014-02-04T05:23:22.237 回答
0

您可能缺少 machine.config 文件。

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

于 2014-03-19T12:41:57.593 回答
0

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

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

于 2014-07-17T23:42:10.340 回答
-1

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

于 2012-11-06T00:35:24.290 回答