"A Setup Package is either missing or damaged" error while installing Visual Studio 2015 on Windows 10

123,123

Solution 1

This was a problem with Visual Studio's web installer between mid-afternoon PST of Sep 4th through 11:30am on Sep 8th (also PST) which has now been fixed on our end.

Specifically, we were running a clean-up script on past pre-release web-installers for Visual Studio, but the script got too aggressive and deleted vcredist_x86.exe even though the RTM product still needed that particular package. Once we realized the error, we re-published and re-mapped that package so that web installs should now work correctly.

The other workarounds (download the ISO + install vcredist_x86.exe manually) should still be fine answers, but anybody else reading this now shouldn't need to worry about those workarounds.

And last, we're examining our internal policies and procedures to try and avoid this kind of broad mistake in the future.

EricKn, Visual Studio Engineering Manager

Solution 2

Just to say, it's now August 2016, and this problem is still alive and kicking (it wasn't just a problem with one specific build of VS2015).

For me, I ended up having to install VS2015 on a train, and using up my entire mobile phone's 2Gb monthly data allowance, as although it claimed only one package was corrupted, it ended up re-acquiring everything.

Oh, and then it got stuck whilst trying to install the packages. Giving up on the install, and rebooting my laptop actually got it started again.

So, short answer: the VS2015 installer still isn't particularly stable.

Solution 3

I had the same problem with installing VS 2015 Community. In my case the solution was to download the offline installer (ISO image, ~3,7 GB), mount the image and run vs_community.exe with administrative rights.

Solution 4

Run as administrator and just keep clicking download from internet. I had to click it 50 times or so and EVENTUALLY it completes. (5-7 clicks per package)

Solution 5

I may have found the correct walkthrough to get this working.

This is from the page HERE and is not what I came up with myself. Though I did add the VC_redist x86/x64 downloads to the list.

Let me add that I started the update .exe file in run as administrator so you may want to as well.

I got it to work - when it asks you to locate "preparation.exe" or "kb2703187.msp":

1.Open Chrome NOT Internet Explorer - for some @#$*! reason IE doesn't work (at least for me). Though it worked for me in IE11 - Stealthrt

2.Download the file from one (or all) of the links below --> to a "known folder":

preparation.exe --> HERE

kb2703187.msp --> HERE

VC_redist.x64.exe --> HERE

VC_redist.x86.exe --> HERE

Now, go back to the installer and browse to the "known folder" to locate the file you just downloaded

Downloading these files and selecting it in the Please provide a location.. box worked fine for me. I had to reference all 4 files above in order to get it to install.

But I did end up missing some updates: enter image description here

Share:
123,123
Vadim Gremyachev
Author by

Vadim Gremyachev

A few open source projects I'm working on: Microsoft Graph Library for Python Office 365 Library for PHP CSOM API for Node.js I'm available for paid one-on-one assistance via #SOreadytohelp

Updated on September 15, 2021

Comments

  • Vadim Gremyachev
    Vadim Gremyachev over 2 years

    During the installation of Visual Studio 2015 Community on Windows 10 the following error occurred for me:

    A Setup Package is either missing or damaged.

    enter image description here

    Since vcredist_x86.exe and vcredist_x64.exe files correspond to Visual C++ Redistributable Packages for Visual Studio 2013, I provided a location to packages after downloading them (third option on the screenshot). After that the installation went smoothly.

    So the question:

    are Visual C++ Redistributable Packages for Visual Studio 2013 required for installing of Visual Studio 2015, is there any prerequisites for installing of Visual Studio 2015 on Windows 10, may be i'm missing something obvious?