vs2012安装失败

来源:互联网 发布:lte无线网络优化 编辑:程序博客网 时间:2024/05/01 07:13

提示大概是说:

.net framework 4.5 无法安装


解决方案:

手动安装.net framework 4.5

这里,安装包其实是不用另外下载的,在安装光盘中可以找到,具体路径:

G:\packages\dotNetFramework\dotNetFx45_Full_x86_x64.exe


当然在网上可以找到跟高版本的frameworkk,离线版4.5.2地址:

http://www.microsoft.com/en-us/download/details.aspx?id=42642


离线版的就不说了,下载的时候会卡住,太坑


手动安装也会出问题:

错误码:hresult0xc8000222

解决方案:

方法一:

net stop WuAuServ

2. Click Start, Run, type: %windir% and press Enter.
3. In the opened folder, rename the folder SoftwareDistribution to SDold.
4. Click Start, Run, type: cmd and press Enter.

Please run the following command in the opened window.

net start WuAuServ

方法二:

也可以暴力一些,找到占用SoftwareDistribution的进程,然后直接终止进程

任务管理器->性能->资源监视器->cup->关联的句柄->搜索的句柄中输入文件夹名回车

参考:

1.http://blog.galois21.com/archives/1425

2.http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_update/fresh-windows-7-installation-windows-update-error/16a05548-6f6c-4d86-b5cb-f8abae5afe58


0 0