visual-studio - 安装失败 : Visual Studio 2010 Pro installation

标签 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.

引用链接
1. MSDN
2. BLOG (试过)

也曾在 MSDN 中提问论坛。

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

最佳答案

经过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

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

更多详情 HERE

关于visual-studio - 安装失败 : Visual Studio 2010 Pro installation,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10605224/

相关文章:

visual-studio - 如果我切换回 Visual Studio Express,我会感到痛苦吗?

c++ - Visual Studio 未加载符号

c++ - 在 visual studio 中的每个函数中添加一行代码

perl - 如何使基于 Dist::Zilla 的 Perl 模块(或应用程序)安装文件到/etc/?

c# - 使用方法返回元素列表

c++ - 如何使用 natvis Visual Studio C++ 调试器可视化工具对单一类型进行多个列表扩展

c++ - 在抽象基类上使用 __declspec(novtable) 是否会以任何方式影响 RTTI?

visual-studio-2010 - 如何在 Visual Studio 2010 中打开多个项目

Docker 桌面安装程序未启动

go - 有什么方法可以通过 go get 安装可执行文件和库?