Visual Studio 2013 shell installation error (isolated) with error 997: I / O overlap operation in progress

I am trying to install Visual Studio 2013 Express for desktop on a Windows 7 Pro machine. I have downloaded the ISO file and I am running it locally.

I run the installer and get an error when some preconditions are not set (C ++ runtime for one). I downloaded all the prerequisites, but when I try to install the Visual Studio 2013 shell (isolated), I get the following error message:

Fatal installation error.

However, when checking the log file, the following error is detected:

Package failed (vs_isoshellcore): Error message identifier: 997 ErrorMessage: Overlapped I / O operation in progress.

common problems and workarounds do not seem to mention this problem, and a google search for this message cannot produce any results.

Searches for the operation "Overlapped I / O". returns more results, the most relevant of which are:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/6d993437-e737-4611-b6bf-c43f1dc4c00d/vs2013-express-for-web-installation-issue?forum=vssetup

https://community.serif.com/forum/other-products/14966/error-message-overlapped-io-operation-in-progress-when-installing-serif-software

and

http://www.edugeek.net/forums/windows-7/140586-possible-issue-kb2918614-causing-overlapped-io-operation-progress-errors.html

the last two indicate KB2918614 , which is the culprit. However, uninstalling this update and rebooting the machine did not resolve the issue.

I tried to run the installer as a regular user and as an administrator and get the same result.

I also tried to run the web installer, and although it seems to be better at finding and installing the necessary components and dependencies, it also fails with the same error.

I tried to disable my Anti-Virus if it interfered with the installer, but it failed with the exact same error.

What else can I do?

+8
visual-studio-2013 windows-installer failed-installation
source share
4 answers

I had the same problem when installing the .NET Framework v4.5.2 update. I also tried the same thing that you described (uninstalling, repairing, and trying to reinstall the .NET Framework).

Here's what worked for me - note that this is a workaround, but nothing else worked:

  • I left KB2918614 installed using the Windows update process (I previously uninstalled and hid it from updates - I disabled it and then installed it again). This hotfix has known issues that cause 997 ErrorMessage: Overlapped I / O operation error.
  • Request and install hotfix KB3000988, which supposedly fixes the problems caused by KB2918614.
  • Perform registry changes as specified in KB2918614 :

    • Under the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer NoUACforHashMissing create a DWORD NoUACforHashMissing and set the value to 1 . (Create a key if it does not exist).
    • Also under the same key add DWORD SecureRepairPolicy and set the value to 2 .

Registry screen-dump

  1. Create a whitelist for trusted applications (including future updates), for digital subscription and do not contain malicious code. The hashing problem caused by KB2918614 is excluded for applications that have an entry here. To do this, create the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer\SecureRepairWhitelist and for each trusted application create a string value under the product identifier of this application.

Registry screen-dump

One way to find this is to look in the C:\Windows\Installer folder during installation and copy the GUID from the SourceHash{xxxxGUIDxxxx} file SourceHash{xxxxGUIDxxxx} .

Windows Installer folder in Explorer

  1. Retry the installation after the whitelist because the Visual Studio 2013 shell program was released by Microsoft, so you must sign it.

Powershell script to list recently created GUIDs to install

The following command can be run from the Powershell console in the Windows Installer directory to get a list of installation GUIDs that were recently created by the installed program. If the installed program does not work, run this command and add each of the GUIDs listed in the output to the registry using the steps described above.

 PS C:\Windows\Installer> Get-ChildItem -Filter *Hash* | ? {$_.CreationTime -gt (Get-Date).AddDays(-1) } | Sort-Object LastWriteTime Directory: C:\Windows\Installer Mode LastWriteTime Length Name ---- ------------- ------ ---- -a--- 2016-10-06 10:11 AM 20480 SourceHash{C8511A82-E9FD-4B6D-B1B2-378589D2B48A} -a--- 2016-10-06 11:04 AM 20480 SourceHash{D45C3EC4-282E-4798-98C7-E7BF2362F04E} 

The following answer may also be useful: https://stackoverflow.com/a/464829/

+3
source share

Remove these 3 updates: KB2918614, KB3000988, KB3008627

+1
source share

Finally! I managed to fix this problem by removing all updates for 04-05 months (security, Windows, fixes), now I can install MS Visual Studio 2013, as well as Autodesk 3D max. I also disabled Windows updates.

0
source share

As stated here , it’s much easier to rename the C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 before installing. It forces Windows to recover these files and allows the Windows installer to do its job.

In my particular case, I was able to install the .NET Framework 4.6.1. However, after restarting the computer, an error occurred while trying to install SQL Server Express 2014 . It seems that this renaming operation should be performed before every installation that includes the Windows installer if a restart occurs at that time.

0
source share

All Articles