Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Community 2015 setup failed

I have installed VS 2015 recently (windows 10), but there were some package failures (detailed later).

When trying to start a new project, I got an error message: "Compiler could not be created". So i uninstalled, repaired the microsoft redistributiables and tried again. Since then I can't install VS at all.

I get the following message:

Roslyn Language Services - x86 : Fatal error during installation.

Visual C++ IDE Debugger Package : Package failed.

Microsoft VisualStudio JavaScript Project System : Package failed.

Microsoft Visual Studio 2015 Update 3 Diagnostic Tools - x86 : Package failed.

Microsoft Visual Studio 2015 Update 3 Diagnostic Tools - ENU : Package failed.

I have already tried to:

  • repair using the VS setup
  • uninstall, including redistributiables, and re-install
  • clear %temp%
  • install from offline installer
  • apply windows troubleshooter (fixed bad components)
  • apply WU
  • delete msvcp140.dll (as some forum suggested)

Nothing worked, and I would be very grateful for any help. Thanks

like image 212
N.C Avatar asked Oct 18 '22 23:10

N.C


1 Answers

I found the following error message from your shared log file “dd_vs_community_20161027000333.log”:

Error 0x80070003: Failed to move verified file to complete payload path: C:\ProgramData\Package Cache{DE064F60-6522-3310-9665-B5E3E78B3638}v14.0.23107\packages\communitycore\Setup\cab8.cab

Error code “0x80070003” means the specified path couldn’t be found, you need to confirm the existing of the specified folder and try to manually move it.

ExecuteError: Package (VC_IDE_Debugger) failed: Error Message Id: 1316 ErrorMessage: The specified account already exists.

I found there have another 3 packages (PerfTools_CORE_x86.msi, PerfTools_RES_enu.msi, vs_RoslynLanguageServices.msi) also have this same issue, you can have a try with the following:

  1. Run the Fixit tool to automatically repair issues including corrupted registry keys that block you from installing or removing programs.

  2. If method 1 not works, take a look at this similar issue and directly use the above 4 package files (VC_IDE.Debugger.msi, PerfTools_CORE_x86.msi, PerfTools_RES_enu.msi, vs_RoslynLanguageServices.msi) from a healthy ISO file of VS community 2015 with update 3 to uninstall then reinstall that components. After that, you can use the ISO file to repair again.

like image 151
Sara Liu - MSFT Avatar answered Oct 26 '22 23:10

Sara Liu - MSFT