本文介绍了Visual Studio 2015 安装失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在我的 Windows 10 上安装适用于 Windows 10 的 Visual Studio 2015 express,但它失败并且没有安装.

I tried to install Visual studio 2015 express for Windows 10 on my windows 10 but it failed and didn't install.

这是一张图片:

我尝试卸载并再次安装,但没有成功.

I tried uninstalling and installing again but it didn't work.

这是日志文件.

这看起来像导致问题的部分:

This looks like the section causing the issue:

MSI (s) (F4:78) [18:08:41:658]: SECREPAIR: A general error running CryptAcquireContext
MSI (s) (F4:78) [18:08:41:658]: Determining source type
MSI (s) (F4:78) [18:08:41:659]: Source type from package 'winexpress_coremsi.msi': 0
MSI (s) (F4:78) [18:08:41:659]: SECREPAIR: Hash Database: C:\WINDOWS\Installer\SourceHash{4D2824C5-DA58-3442-BB90-F71EA6B07EA9}
MSI (s) (F4:78) [18:08:41:661]: Note: 1: 2262 2: SourceHash 3: -2147287038
MSI (s) (F4:78) [18:08:41:705]: SECREPAIR: New Hash Database creation complete.
MSI (s) (F4:78) [18:08:41:705]: SECREPAIR: Crypt Provider not initialized. Error:0
MSI (s) (F4:78) [18:08:41:714]: SECREPAIR: Crypt Provider not initialized. Error:0
MSI (s) (F4:78) [18:08:41:714]: SECREPAIR: Crypt Provider not initialized. Error:0
MSI (s) (F4:78) [18:08:41:714]: SECREPAIR: Crypt Provider not initialized. Error:0
MSI (s) (F4:78) [18:08:41:714]: SECREPAIR: Crypt Provider not initialized. Error:0
MSI (s) (F4:78) [18:08:41:714]: SECREPAIR: Crypt Provider not initialized. Error:997
MSI (s) (F4:78) [18:08:41:714]: SECUREREPAIR: Failed to CreateContentHash of the file: cab5.cab: for computing its hash. Error: 997
MSI (s) (F4:78) [18:08:41:717]: SECREPAIR: Failed to create hash for the install source files
MSI (s) (F4:78) [18:08:41:717]: SECUREREPAIR: SecureRepair Failed. Error code: 3e5651E05C8
Action start 18:08:41: ProcessComponents.
MSI (s) (F4:78) [18:08:41:722]:
Error 997.Overlapped I/O operation is in progress.

推荐答案

我在 Win 8.1 Pro 上遇到了类似的 Visual Studio 安装失败(用户取消"和重叠 I/O"消息).我最终找到了这个线程:

I had a similar Visual Studio install failure ("User cancelled" and "Overlapped I/O" messages) on Win 8.1 Pro. I eventually found this thread:

http://blogs.msdn.com/b/vsnetsetup/archive/2014/10/27/error-997-overlapped-io-operation-is-in-progress-kb2918614-breaks-windows-installer-service.aspx

在我重命名 C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 文件夹后,VS 安装工作正常.

After I renamed the C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 folder then the VS install worked fine.

这篇关于Visual Studio 2015 安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 11:13