安装Visual Studio 2010,安装将停止在Visual Studio 2010先决条件x64
我有:Windows 7 Ultimate x64
我尝试手动安装它也失败了
消息显示安装失败,错误日志显示:
[08/22/12,12:31:29] 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
[08/22/12,12:31:31] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 64bit Prerequisites (x64) is not installed.
[08/22/12,12:31:31] VS70pgui: [2] DepCheck indicates Microsoft Visual F# 2.0 Runtime was not attempted to be installed.
[08/22/12,12:31:31] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Macro Tools was not attempted to be installed.
[08/22/12,12:31:31] VS70pgui: [2] DepCheck indicates TFS Object Model (x64) was not attempted to be installed.
[08/22/12,12:31:31] VS70pgui: [2] DepCheck indicates .NET Framework 4 Multi-Targeting Pack was not attempted to be installed.
[08/22/12,12:31:31] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Ultimate - ENU was not attempted to be installed.
[08/22/12,12:31:31] VS70pgui: [2] DepCheck indicates Microsoft Web Deployment Tool (x64) was not attempted to be installed.
[08/22/12,12:31:31] VS70pgui: [2] DepCheck indicates Microsoft ASP.NET MVC 2 - Visual Studio 2010 Tools was not attempted to be installed.
[08/22/12,12:31:31] VS70pgui: [2] DepCheck indicates Microsoft ASP.NET MVC 2 was not attempted to be installed.
[08/22/12,12:31:31] VS70pgui: [2] DepCheck indicates Microsoft Silverlight was not attempted to be installed.
.....
....
...
答案 0 :(得分:2)
错误1603是一个非常通用的安装错误,遗憾的是它没有提供太多信息。
但是仍然与权限相关。
Microsoft's knowledge base提供了有关错误1603的以下可能原因:
如果满足以下任一条件,您可能会收到此错误消息:
- 您尝试安装Windows Installer程序包的文件夹已加密。
- 包含您尝试安装Windows Installer程序包的文件夹的驱动器将作为替代驱动器进行访问。
- SYSTEM帐户对您尝试安装Windows Installer程序包的文件夹没有完全控制权限。您会注意到该错误消息,因为Windows Installer服务使用SYSTEM帐户来安装软件。
Another article提供了其他可能的失败原因,以及修复此错误的演练。
答案 1 :(得分:1)
在遇到这个问题困难了好几个小时后,我记得过去遇到同样的问题。这两次问题都发生了,因为我之前已经成功安装了Visual Studio 2010(或Visual Studio 2010 Express),同时我已经在我尝试安装它的同一台PC上卸载了它。这意味着当我卸载它并尝试再次安装时,我遇到了安装问题。
然后我在安装日志中看到错误2908。我用Google搜索并发现了这个:
http://www.add-in-express.com/creating-addins-blog/2007/11/12/windows-installer-error-2908/
问题是,当我卸载VS2010时,某些注册表项无法清除,因此安装程序认为这些组件已经安装。上面文章中的人在注册表中找到了此条目并将其删除。之后他又能够再次安装VS2010。
关于我的问题,我没有找到有问题的条目,所以我不得不从头开始重新安装Windows 7,然后在我的新操作系统上成功安装VS2010。
不幸的是,每个PC都无法以相同的方式检测到问题,因此没有具体的解决方案。无论如何,它与Windows注册表有关,所以如果有人发现更多内容,请添加评论以帮助其他人。
顺便提一下,我注意到许多人在安装VS2010时遇到了问题
答案 2 :(得分:0)