VS2010安装中遇到的错误

背景

用win7 64位系统安装VS2010遇到一个错误,网上查了各种资料也没有找到这种解决办法,后来自己找到了解决办法,分享一下,让他人少走一些弯路。

错误信息

安装过程中遇到如下错误:

[08/26/13,21:44:18] Microsoft Visual Studio 2010 64 位系统必备(x64): [2] Error: Installation failed for component Microsoft Visual Studio 2010 64 位系统必备(x64). MSI returned error code 1603
[08/26/13,21:44:23] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 64 位系统必备(x64) is not installed.
[08/26/13,21:44:23] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Macro Tools was not attempted to be installed.
[08/26/13,21:44:23] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Macro Tools CHS 语言包 was not attempted to be installed.
[08/26/13,21:44:24] VS70pgui: [2] DepCheck indicates TFS 对象模型(x64) was not attempted to be installed.
[08/26/13,21:44:24] VS70pgui: [2] DepCheck indicates .NET Framework 4 Multi-Targeting Pack was not attempted to be installed.
[08/26/13,21:44:25] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Ultimate - CHS was not attempted to be installed.
[08/26/13,21:44:25] VS70pgui: [2] DepCheck indicates Microsoft Web 部署工具(x64) was not attempted to be installed.
[08/26/13,21:44:26] VS70pgui: [2] DepCheck indicates Microsoft ASP.NET MVC 2 - Visual Studio 2010 工具 was not attempted to be installed.
[08/26/13,21:44:26] VS70pgui: [2] DepCheck indicates Microsoft ASP.NET MVC 2 - Visual Studio 2010 工具语言包 - 简体中文 was not attempted to be installed.
[08/26/13,21:44:26] VS70pgui: [2] DepCheck indicates Microsoft ASP.NET MVC 2 was not attempted to be installed.
[08/26/13,21:44:26] VS70pgui: [2] DepCheck indicates Microsoft ASP.NET MVC 2 语言包 - 简体中文 was not attempted to be installed.
[08/26/13,21:44:26] VS70pgui: [2] DepCheck indicates Microsoft Silverlight was not attempted to be installed.
[08/26/13,21:44:27] VS70pgui: [2] DepCheck indicates Microsoft Silverlight 3 SDK was not attempted to be installed.
[08/26/13,21:44:27] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Tools for Office Runtime (x64) was not attempted to be installed.
[08/26/13,21:44:27] VS70pgui: [2] DepCheck indicates Dotfuscator 软件服务 - 社区版 was not attempted to be installed.
[08/26/13,21:44:27] VS70pgui: [2] DepCheck indicates 用于 Visual Studio 2010 的 Crystal Reports 模板 was not attempted to be installed.
[08/26/13,21:44:28] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Tools for Office Runtime (x64)语言包 - CHS was not attempted to be installed.
[08/26/13,21:44:28] VS70pgui: [2] DepCheck indicates Dotfuscator 软件服务 - 社区版语言包 was not attempted to be installed.
[08/26/13,21:44:28] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 SP2 (x86)简体中文 was not attempted to be installed.
[08/26/13,21:44:28] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 SP2 (x64)简体中文 was not attempted to be installed.
[08/26/13,21:44:29] VS70pgui: [2] DepCheck indicates Visual Studio 2010 Tools for SQL Server Compact 3.5 SP2 简体中文 was not attempted to be installed.
[08/26/13,21:44:29] VS70pgui: [2] DepCheck indicates Microsoft Sync Framework Runtime 1.0 版(x64) CHS was not attempted to be installed.
[08/26/13,21:44:29] VS70pgui: [2] DepCheck indicates Microsoft Sync Services for ADO.NET 2.0 版(x64) CHS was not attempted to be installed.
[08/26/13,21:44:29] VS70pgui: [2] DepCheck indicates Microsoft Sync Framework Services 1.0 版(x64) CHS was not attempted to be installed.
[08/26/13,21:44:30] VS70pgui: [2] DepCheck indicates Microsoft Sync Framework SDK 1.0 版(x64) CHS was not attempted to be installed.
[08/26/13,21:44:30] VS70pgui: [2] DepCheck indicates VC 10.0 Designtime (x64) was not attempted to be installed.
[08/26/13,21:44:30] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 性能收集工具(x64) was not attempted to be installed.
[08/26/13,21:44:31] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 IntelliTrace (x64) was not attempted to be installed.
[08/26/13,21:44:31] VS70pgui: [2] DepCheck indicates Microsoft SQL 发布向导 1.4 was not attempted to be installed.
[08/26/13,21:44:31] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 系统 CLR 类型 was not attempted to be installed.
[08/26/13,21:44:31] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 系统 CLR 类型(x64) was not attempted to be installed.
[08/26/13,21:44:31] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 管理对象 was not attempted to be installed.
[08/26/13,21:44:32] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 管理对象(x64) was not attempted to be installed.
[08/26/13,21:44:32] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 Express Service Pack 1 (x64) was not attempted to be installed.
[08/26/13,21:44:32] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 数据层应用程序框架 was not attempted to be installed.
[08/26/13,21:44:33] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 数据层应用程序项目 was not attempted to be installed.
[08/26/13,21:44:33] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Transact-SQL 语言服务 was not attempted to be installed.
[08/26/13,21:44:34] VS70pgui: [2] DepCheck indicates Microsoft SharePoint 开发人员工具 was not attempted to be installed.
[08/26/13,21:44:34] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 ADO.NET Entity Framework Tools was not attempted to be installed.
[08/26/13,21:44:34] VS70pgui: [2] DepCheck indicates Microsoft Help 查看器 1.0 x64 was not attempted to be installed.
[08/26/13,21:44:34] VS70pgui: [2] DepCheck indicates Microsoft Help 查看器 1.0 语言包 x64 was not attempted to be installed.
[08/26/13,21:51:59] Microsoft Visual Studio 2010 64 位系统必备(x64): [2] Error: Installation failed for component Microsoft Visual Studio 2010 64 位系统必备(x64). MSI returned error code 1603
[08/26/13,21:52:04] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 64 位系统必备(x64) is not installed.
[08/26/13,21:52:04] VS70pgui: [2] DepCheck indicates Microsoft Visual F# 2.0 Runtime was not attempted to be installed.
[08/26/13,21:52:04] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Macro Tools was not attempted to be installed.
[08/26/13,21:52:04] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Macro Tools CHS 语言包 was not attempted to be installed.
[08/26/13,21:52:04] VS70pgui: [2] DepCheck indicates TFS 对象模型(x64) was not attempted to be installed.
[08/26/13,21:52:05] VS70pgui: [2] DepCheck indicates .NET Framework 4 Multi-Targeting Pack was not attempted to be installed.
[08/26/13,21:52:05] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Ultimate - CHS was not attempted to be installed.
[08/26/13,21:52:06] VS70pgui: [2] DepCheck indicates Microsoft Web 部署工具(x64) was not attempted to be installed.
[08/26/13,21:52:06] VS70pgui: [2] DepCheck indicates Microsoft ASP.NET MVC 2 - Visual Studio 2010 工具 was not attempted to be installed.
[08/26/13,21:52:06] VS70pgui: [2] DepCheck indicates Microsoft ASP.NET MVC 2 - Visual Studio 2010 工具语言包 - 简体中文 was not attempted to be installed.
[08/26/13,21:52:06] VS70pgui: [2] DepCheck indicates Microsoft ASP.NET MVC 2 was not attempted to be installed.
[08/26/13,21:52:06] VS70pgui: [2] DepCheck indicates Microsoft ASP.NET MVC 2 语言包 - 简体中文 was not attempted to be installed.
[08/26/13,21:52:07] VS70pgui: [2] DepCheck indicates Microsoft Silverlight was not attempted to be installed.
[08/26/13,21:52:07] VS70pgui: [2] DepCheck indicates Microsoft Silverlight 3 SDK was not attempted to be installed.
[08/26/13,21:52:07] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Tools for Office Runtime (x64) was not attempted to be installed.
[08/26/13,21:52:08] VS70pgui: [2] DepCheck indicates Microsoft Office 开发人员工具(x64) was not attempted to be installed.
[08/26/13,21:52:08] VS70pgui: [2] DepCheck indicates Microsoft Office 开发人员工具(x64)语言包 - 简体中文 was not attempted to be installed.
[08/26/13,21:52:08] VS70pgui: [2] DepCheck indicates Dotfuscator 软件服务 - 社区版 was not attempted to be installed.
[08/26/13,21:52:08] VS70pgui: [2] DepCheck indicates 用于 Visual Studio 2010 的 Crystal Reports 模板 was not attempted to be installed.
[08/26/13,21:52:09] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Tools for Office Runtime (x64)语言包 - CHS was not attempted to be installed.
[08/26/13,21:52:09] VS70pgui: [2] DepCheck indicates Dotfuscator 软件服务 - 社区版语言包 was not attempted to be installed.
[08/26/13,21:52:09] VS70pgui: [2] DepCheck indicates Microsoft Visual F# 2.0 Runtime 语言包 - CHS was not attempted to be installed.
[08/26/13,21:52:09] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 SP2 (x86)简体中文 was not attempted to be installed.
[08/26/13,21:52:09] VS70pgui: [2] DepCheck indicates Microsoft SQL Server Compact 3.5 SP2 (x64)简体中文 was not attempted to be installed.
[08/26/13,21:52:10] VS70pgui: [2] DepCheck indicates Visual Studio 2010 Tools for SQL Server Compact 3.5 SP2 简体中文 was not attempted to be installed.
[08/26/13,21:52:10] VS70pgui: [2] DepCheck indicates Microsoft Sync Framework Runtime 1.0 版(x64) CHS was not attempted to be installed.
[08/26/13,21:52:10] VS70pgui: [2] DepCheck indicates Microsoft Sync Services for ADO.NET 2.0 版(x64) CHS was not attempted to be installed.
[08/26/13,21:52:10] VS70pgui: [2] DepCheck indicates Microsoft Sync Framework Services 1.0 版(x64) CHS was not attempted to be installed.
[08/26/13,21:52:11] VS70pgui: [2] DepCheck indicates Microsoft Sync Framework SDK 1.0 版(x64) CHS was not attempted to be installed.
[08/26/13,21:52:11] VS70pgui: [2] DepCheck indicates VC 10.0 Designtime (x64) was not attempted to be installed.
[08/26/13,21:52:11] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 性能收集工具(x64) was not attempted to be installed.
[08/26/13,21:52:12] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 IntelliTrace (x64) was not attempted to be installed.
[08/26/13,21:52:12] VS70pgui: [2] DepCheck indicates Microsoft SQL 发布向导 1.4 was not attempted to be installed.
[08/26/13,21:52:12] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 系统 CLR 类型 was not attempted to be installed.
[08/26/13,21:52:12] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 系统 CLR 类型(x64) was not attempted to be installed.
[08/26/13,21:52:12] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 管理对象 was not attempted to be installed.
[08/26/13,21:52:13] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 管理对象(x64) was not attempted to be installed.
[08/26/13,21:52:13] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 Express Service Pack 1 (x64) was not attempted to be installed.
[08/26/13,21:52:13] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 数据层应用程序框架 was not attempted to be installed.
[08/26/13,21:52:13] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 数据层应用程序项目 was not attempted to be installed.
[08/26/13,21:52:14] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Transact-SQL 语言服务 was not attempted to be installed.
[08/26/13,21:52:14] VS70pgui: [2] DepCheck indicates Microsoft SharePoint 开发人员工具 was not attempted to be installed.
[08/26/13,21:52:14] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 ADO.NET Entity Framework Tools was not attempted to be installed.
[08/26/13,21:52:14] VS70pgui: [2] DepCheck indicates Microsoft Help 查看器 1.0 x64 was not attempted to be installed.
[08/26/13,21:52:14] VS70pgui: [2] DepCheck indicates Microsoft Help 查看器 1.0 语言包 x64 was not attempted to be installed.

Microsoft Visual Studio 2010 64 位系统必备(x64)安装不上去,导致安装无法继续。网上查阅各种资料之后,尝试了各种解决办法都无法解决问题。

于是只能自己动手丰衣足食,自己分析错误文件,发觉安装Microsoft Visual Studio 2010 64 位系统必备(x64)的时候报错,如下:

[08/26/13,21:42:50] Microsoft Visual Studio 2010 64 位系统必备(x64): (MsiRetryHelper) calling EnableMsiLog() function now.
[08/26/13,21:42:50] Microsoft Visual Studio 2010 64 位系统必备(x64): Enabling MSI log file: C:\Users\ADMINI~1\AppData\Local\Temp\dd_PreReq_AMD64_MSI6026.txt
[08/26/13,21:42:50] BWaitForMSI(): Verifying we're the only installation currently in progress.
[08/26/13,21:42:50] BWaitForMSI(): Ready to proceed with installation. Continuing...
[08/26/13,21:42:51] Microsoft Visual Studio 2010 64 位系统必备(x64): (MsiRetryHelper) calling MsiInstallProduct() now.
[08/26/13,21:42:57] Microsoft Visual Studio 2010 64 位系统必备(x64): MSI Record result detail: 错误 1406。未能将值 写入注册表项 \Software\Classes\CLSID\{3FF9B9E8-85C4-4d99-95B0-345D0742F34C}。 请确认您有足够的权限访问该注册表项,或者与支持人员联系。
[08/26/13,21:42:57] Microsoft Visual Studio 2010 64 位系统必备(x64): MSI Record result detail error code: 1406

由错误信息分析得知,当前用户没有修改注册表的权限,导致安装失败。

解决办法

打开注册表,找到Software项,修改这一项的权限,修改截图如下:

VS2010安装中遇到的错误

VS2010安装中遇到的错误

上一篇:读书共享 Primer Plus C-part 9


下一篇:第一章.C语言简介