安装失败:Visual Studio 2010专业版安装

11

尝试在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. 博客(已尝试)

我还在MSDN论坛上提出了问题。

除了重新安装操作系统外,我有没有更好的解决这个问题的方法?


如果我的回答有帮助,请给我评分。 - uday
7个回答

7
两天的辛苦努力终于有了解决方案.....呼!!!!
下面开始:
由于错误提示,VS2010在安装Microsoft Visual Studio 2010 64位先决条件(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

注意:通过这种方式,我欺骗了安装程序,安装顺利完成。

更多详情请点击此处


2

0

0

你可能缺少 machine.config 文件。

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


0

问题出在你下载的软件上,它没有完全下载完成,这就是为什么会出现那个错误。我也遇到过同样的问题,但我通过重新下载软件来解决它。

在下载后,请检查下载的大小和网站上所述的大小是否相同,如果不相同,则表示未完全下载,请再次下载并安装。


0

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

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


-1

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


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接