Unable to install Visual C++ Build Tools, A setup package is either missing or damaged
Asked Answered
O

3

7

I am trying to install Visual C++ Build Tools. But while installing I keep getting this error during setup A setup package is either missing or damaged

I even tried copying respective package from VS Enterprise edition to the path but it keeps repeating this error. I also tried selecting download package option but no gain.

enter image description here

Outlet answered 8/11, 2016 at 6:44 Comment(5)
To find the root cause of this issue, you need to use aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder, then upload the file to onedrive.live.com and share the link here.Rhombus
Have you installed the VS enterprise 2015 before?Because these components that includes in the Visual C++ Build Tools 2015 are the same as the ones installed by the Visual Studio 2015 Update 2 setup, you cannot install the Visual C++ Build Tools on a machine that already has Visual Studio 2015 installed. For the detail information, see blogs.msdn.microsoft.com/vcblog/2016/03/31/…Rhombus
If you have not install the VS enterprise 2015, make sure windows update is up-to-date, temporarily disable any antivirus software, clean up the %temp% folder and re-run the installer as administrator. If this issue persists, you can collect and share your installation logs. you can go to Control Panel—Programs and Features and right click the VS 2015 item and Change-Modify, then check the option of those components that relates to the Visual C++ Build Tools, like Visual C++, Windows SDK… then install them.Rhombus
@Sara : i have the same problem; in my log (you can find it here: drive.google.com/open?id=0B1XFlitR9p0RRFVBU1lEQUJ3WU0) there's an error about downloading the package (Error 0x80190193: Failed to download BITS job). I manually downloaded the file, using the url in the log, but the installer then give me another error: "Microsoft Build Tools 14.0 (x86) : A certificate chain could not be built to a trusted root authority."Singleaction
@dipanda, I found several error messages in your log and it looks like your issue is not the same with Maven, you can create a new thread with your detail information and the complete installation log (the vslogs.zip), then add tag with visual-studio-2015, installation, I will continue to research your issue. Meanwhile, you can have a try with my preview comments that I mentioned before, and output the result in your new thread.Rhombus
M
28

I think you might have Installed the MS BUILD TOOLS after DOWNLOADING it from the following LINK

http://download.microsoft.com/download/5/F/7/5F7ACAEB-8363-451F-9425-68A90F98B238/visualcppbuildtools_full.exe

I did the same and got the same ERROR

INSTALL using the following LINK

https://www.microsoft.com/en-in/download/confirmation.aspx?id=48159

Marnamarne answered 27/9, 2017 at 12:31 Comment(3)
Thanks! Still working in 21 for people interested!Cymoid
alleluiha it works, thank you very much Sai, you save my time.Rathskeller
Thankyou, this works!Thorny
C
0

In my case using Windows 7 I had accidently disabled some services for better performance. I used:

net start bits
net start msiserver

and it worked

Connolly answered 17/4, 2018 at 6:22 Comment(0)
G
0

After much crawling over the Internet I've managed to find the working link for VS C++ Build Tools here:

Visual C++ Build Tools 2015 Update 3 DVD

I believe some people might still find this link useful for whatever reasons.

Grolier answered 21/5, 2024 at 12:38 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.