安装失败:Visual Studio 2010 Pro安装

时间:2012-05-15 16:40:56

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

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

错误:

enter image description here

查看错误日志:

[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.

REF LINKS 1. MSDN 2. BLOG(尝试过)

还在MSDN论坛中提问。

除了重新安装操作系统之外,我是否有更好的解决方案解决此问题?

7 个答案:

答案 0 :(得分:7)

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

我们走了,

错误表明VS2010在安装Microsoft Visual Studio 2010 64bit先决条件(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

注意:通过这样做我被欺骗的安装程序&安装进展顺利。

更多详情HERE

答案 1 :(得分:3)

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

找到解决方案

如果未解决,请尝试在VisualStudio Setup & Installation论坛中发布。希望它有所帮助

答案 2 :(得分:0)

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

答案 3 :(得分:0)

今天遇到同样的问题并通过重新安装.NET frameworks 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 :(得分:0)

问题在于你下载的软件,它没有完全下载,这就是为什么会出现这个错误, 我也经历过同样的事情,但我通过重新下载软件解决了这个问题,

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

答案 5 :(得分:0)

您可能缺少machine.config文件。

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

答案 6 :(得分:0)

我在Windows 8.1计算机上安装visual studio 2010专业版时遇到了类似的问题。 我尝试从本地目录安装Visual Studio,但这失败了。 虽然DVD中的所有文件看起来与本地目录中的文件完全相同,但我再次重新复制了所有文件,这次我成功安装了。

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