VS2010安装失败 解决方案
//Author:AllenRobin http://gisrsman.cnblogs.com
装了一晚上VS2010竟然没成功,可以算是是阴沟里翻船了。
记录下来,以备后用。
一、安装过程
安装环境:win7旗舰 64位
安装包:vs2010 professional
错误日志:
[06/07/15,00:18:46] Microsoft 应用程序错误报告: [2] CMsiComponent::Install() expects the setup file for Microsoft 应用程序错误报告, but the file failed verification.
[06/07/15,00:18:46] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147467259.
[06/07/15,00:18:46] VS70pgui: [2] DepCheck indicates Microsoft 应用程序错误报告 is not installed.
[06/07/15,00:18:46] VS70pgui: [2] DepCheck indicates VC 9.0 Runtime (x86) was not attempted to be installed.
[06/07/15,00:18:46] VS70pgui: [2] DepCheck indicates VC 10.0 Runtime (x86) was not attempted to be installed.
[06/07/15,00:18:46] VS70pgui: [2] DepCheck indicates VC 10.0 Runtime (x64) was not attempted to be installed.
[06/07/15,00:18:46] VS70pgui: [2] DepCheck indicates Microsoft .NET Framework 4 was not attempted to be installed.
二、解决方案
尝试1 许多人是这样解决的
开始----- 运行------- cmd ----- 键入net stop WuAuServ回车(停止windows update服务)
2.开始----- 运行----键入%windir%回车(打开系统目录)
3.将SoftwareDistribution文件夹重命名为SDold
4.开始----- 运行------- cmd ----- 键入net start WuAuServ回车
但是我的错误依旧
尝试2 直到看到一些地方说安装包问题,例如下文。
解决问题:在win7旗舰版上装VS2010旗舰版始终错误(提示:microsoft 应用程序错误报告安装失败)
虽然很怀疑,但是还是重新下了一个,竟然成功了。
无语。