VS2013和VS2015安装时提示“安装包丢失或损坏”的问题

根证书VS2015

Microsoft Root Certificate Authority 2010 2011.cer证书是微软的一个安装证书,可能很多人都遇到过visual studio 2013和2015安装时提示“安装包丢失或损坏”的问题,其实就是缺少了证书的原因,只需要安装microsoftrootcertificate2010.cer和microsoftrootcertificate2011.cer就可以了

解决方案

安装vs2015软件时需要的2个证书文件,可以解决安装包丢失或损坏问题。

microsoftrootcertificate2010.cer

microsoftrootcertificate2011.cer

使用说明

这里以vs2015为例,VC2015证书安装方法

解压出里面两个注册文件【受信任的根证书颁发机构】。右键文件选择安装证书,弹出对话框点击下一步,选择将所有证书放入下列存储,选择【受信任的根证书颁发机构】点击确定下一步直至安装完成,win+ r ,输入 certmgr.msc,在受信任的根证书颁发机构里刷新 ,看是否有"Microsoft Root Certificate Authority 2010" "Microsoft Root Certificate Authority 2011". ,有的话就在vs2015安装下点击重试就可以了

在安装过程中,会陆陆续续提醒这些安装程序找不到,SqlDom_amd64 - TSqlLanguageService - CT/AzureMobileServicesSdkV2.0

- Win10_UniversalCRTSDK - Headers Libraries and sources - WcfDataServices - Win81_SDK - SQLSysClrTypes - SQLSysClrTypes_amd64 - SharedManagementObjects_x86 - SharedManagementObjects_amd64。

以下是解决方法:

Open certification manager (Win+R -> certmgr.msc)

Go to "Trusted Root Certification Authorities" -> "Certificates"

Check for:

"Microsoft Root Certificate Authority"

"Microsoft Root Certificate Authority 2010"

"Microsoft Root Certificate Authority 2011".

You most likely don't have all of them from some reason.

On other PC that is connected to the internet and receiving Microsoft updates:

Check again for these certificates, you most likely see them.

Export them to SST file.

Import the SST file (that contain the 3 certificates) in the first PC.

Install again, now it will work :-)

I believe that this will also fix some Visual Studio 2013 SDKDDKVer.h and related errors.

win+ r ,输入 certmgr.msc,在受信任的根证书颁发机构里面看是不是少这么几项

"Microsoft Root Certificate Authority" "Microsoft Root Certificate Authority 2010" "Microsoft Root Certificate Authority 2011".

如果没有,从有的机器上导出来,导成.export文件,即SST格式。

拷贝到要安装VS2015的机器上,win+ r ,输入 certmgr.msc,在受信任的根证书颁发机构里导入这个文件,就好了。

导入的方法为,选中“证书”---右键“所有任务”---“导入”,后面的就不说了

你可能感兴趣的:(开发工具)