Share via


Visual Studio Core Features - Fatal Error During Installation

Question

Wednesday, September 21, 2016 5:22 PM

I just bought a new HP Laptop and I am trying to install Virtual Studio since I need it for my study. But every time I try to install the software, it gives me an error in the middle of the installation saying "Visual Studio Core Features - Fatal Error During Installation"

I did a simple troubleshooting like, downloading the offline installer and the web installer, removing .Net Frameworks, disabling Anti-virus, disconnecting to the internet but same thing happens. I tried to install the 2013 version but I still get the same error again and again.

I really need this application to be installed on this computer because this is very useful for me but this issue has became very frustrating for me since I searched for an answer regarding the issue all over the web but nothing seems to be working for me. I really need help.

All replies (10)

Friday, September 30, 2016 8:03 AM ✅Answered

Hi Joshua,

I have checked your log file and found the following error message:

>>ExecuteError: Package (vs_professionalcore) failed: Error Message Id: 997 ErrorMessage: Error 997.Overlapped I/O operation is in progress.

Please have a look at this blog and try with the following:

1. Navigate to the Window Update Installed updates, search for KB2918614/ KB3072630/KB3000988/KB3008627. If you find them, uninstall them then restart computer, run the installer as administrator.

2. Renaming C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18
to C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18_old and re-run the VS installer as administrator.

3. Confirm the administrator is the ownership and full control on the C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 folder, if not, took ownership and re-applied permissions as full control on this.

4. Before modify the registry table, please backup it.

  • Enable Whitelisting: Under Key “HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer”, create a DWORD: “SecureRepairPolicy” and set its Value to 2.
  • Add the application to the whitelist: Create a new key “SecureRepairWhitelist” under "HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer” and create StringValues with the product codes (Including flower brackets {}) of the product. For the detail steps, you can also check here and find the product code in the VS installation log file.

Best regards,

Sara

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.


Thursday, September 22, 2016 6:02 AM

Hi Joshua,

Welcome to MSDN forum.

To find the root cause of the fatal error, I need your help to the installation log. Please use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder. Please upload the file to https://onedrive.live.com/ and share the link here.

What’s your OS version? Firstly, you need to confirm the VS 2013 and VS 2015 is supported on your OS version and Windows update is up-to-date.

Since both VS 2013 and 2015 installation were failed, please have a look at the following to troubleshot this issue:

1. Run the VS installer as administrator

2. Choose the default installation at the begin of the VS installation

3. Run the Windows Fixit tool: https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed and run it to automatically repair issues including corrupted registry keys that block you from installing or removing programs.

4. Run the command: sfc /scannow in the elevated command prompt to scan or repair the required system files

5. Confirm the integrity of your ISO file, please use the FCIV.exe tool: http://blogs.msdn.com/b/heaths/archive/2011/03/25/verify-the-iso-checksum-for-visual-studio-2010-service-pack-1-before-installing.aspx  to check the SHA1 value of the ISO, the expected value comes from here: https://www.visualstudio.com/en-us/downloads/visual-studio-2015-iso-sha1-vs.aspx, any discrepancy means the ISO is corrupted.

Best regards,

Sara

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.


Monday, September 26, 2016 7:31 AM

Hello Sara, thank you for helping me. I have already tried installing the app through Administrator mode and it doesn't seem to work. However, I will try to check the integrity of the ISO File and will update you as soon as possible. I will also try the Fixit tool


Wednesday, September 28, 2016 1:04 PM

Hello, I am still unable to install it


Thursday, September 29, 2016 2:08 AM

Hi Joshua,

Thank you for your update.

Please try to perform a complete uninstall of your VS 2015 as below:

1. Run the forcibly uninstall command: executable file /uninstall /force like vs_professional.exe /uninstall /force in the command prompt, for the detail information, please see here: https://blogs.msdn.microsoft.com/heaths/2015/07/17/removing-visual-studio-components-left-behind-after-an-uninstall/

2. Rename or delete folders-

  • C:\Program Files (x86)\Microsoft Visual Studio 14.0
  • C:\Program Files\Microsoft Visual Studio 14.0
  • C:\users\user\Documents\Visual Studio 2015
  • C:\users\user\AppData\Roaming\Microsoft\VisualStudio\14.0
  • C:\users\user\AppData\Local\Microsoft\VisualStudio\14.0
  • C:\users\user\AppData\Local\Microsoft\VSCommon\14.0

3. Go to the registry editor (start >> run >> regedit) and remove/rename the following registries-

  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0
  • HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0
  • HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config

4. Reboot your computer

5. Make sure Windows update is up-to-date, temporarily disable any anti-virus software, clean up the %temp% folder

6. Open the healthy ISO file of VS professional 2015 and run the installer as administrator

If the same issue persists, please collect the VS installation and share it like I said in my last reply.

Best regards,

Sara

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.


Thursday, September 29, 2016 3:31 PM

Hello sarah, I have done all the instructions but I am still unable to install it.

Here is the installation log from Visual studio 2013 with blend

https://www.dropbox.com/s/tlmxj0zy1q7r8d5/dd_vs_ultimate_20160929231141.log?dl=0

Here is also the installtion log from the VS 2013 for Desktop with Update 5

https://www.dropbox.com/s/bgj4yaflnnng2d2/dd_wdexpress_full_20160929232022.log?dl=0

I am trying to different installers so it can't be the installer's error. It should be something from my laptop. I'm going hopeless now :(


Sunday, October 2, 2016 6:22 PM

Hello Sara,

I am very eager to fix this issue but the steps are getting hard to follow for me. However, I have tried installing the vcruntime libraries manually but it doesn't install. Could it be the problem?


Tuesday, October 4, 2016 6:27 AM

Hi Joshua,

>>I am very eager to fix this issue but the steps are getting hard to follow for me.

Could you please tell us the difficult part that you cannot understand or handle?

Since the method 2, 3 is look simply and you can have a try, then re-run the VS installer as administrator to repair. 

If this issue persists, think about it already spent lots of time to troubleshot it and still cannot find the root cause. Maybe you need to consider backup your system and format it, a clean OS condition can help us to excludes the affect factors from your OS, then use a healthy ISO file of VS 2015 and choose the default installation to install.

Best regards,

Sara

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.


Thursday, October 6, 2016 5:42 PM

Hello Sara,

Thank you for helping me throughout my problem. I am now able to install it successfully. I am having trouble doing the step 4 that's why I didn't continued it because I am afraid I might screw everything. But I guess the step 2 and 3 saved my life. I tried to ran the installer after changing the name and adding "_old" in the name, and now it installed successfully.

I really appreciate your effort Sara. However, there are lots of Redistributable, .Net Framework, Targeting Pack, SDK, ASP.Net, and other Visual Studio prerequisites due to installation of different Visual Studio Versions. And because of this installed programs, I think it made my computer run slow and the Visual Studio 2015 as well. I am currently installed with the 2015 version.

Can you tell me what are the only packages or services that's Visual Studio 2015 is using? So that I could remove this useless, old versions.

Below is an attached screenshot of all the Microsoft programs that has been installed by other Visual Studio installers.


Friday, October 7, 2016 5:20 AM

Hi Joshua,

I'm so glad to hear that your issue is solved and thank you for your sharing.

Since you have another issue, please open a new thread for your new question and it will help us to convenient to trace and analysis this issue,thank you for your understanding.

BTW, if you think your reply is helpful, please mark it as answer and it will help other community members who have the same or similar issue to easier search this solution.

Best regards,

Sara

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.