Share via


Failed to download file 9 times during setup of additional features

Question

Monday, January 21, 2019 4:20 PM

I am trying to add mobile development features to my instance of Visual Studio Professional 2017.  It gets to about 3% complete then stops with an error stating setup has tried and failed 9 times to download a file at https://go.microsoft.com/fwlink/?linkid=853808.  When I try this link directly in a browser, it starts to download something named platform-tools_r25.0.5-windows.zip.  Edge reports that this download is from dl.google.com.  

The download fails in Chrome and in Edge but it succeeds if I download it in Internet Explorer.  In Chrome, I get varying file sizes downloaded from 900KB to 1072KB.  In Edge the download status stays at 0 bytes and never times out or changes.  In Internet Explorer I can download the file just fine.

The question is, how do I integrate this manually downloaded file into Visual Studio to avoid the error I am getting?  Or how do I get the Visual Studio installer to properly download the file?

Thanks.

All replies (3)

Tuesday, January 22, 2019 4:49 AM ✅Answered

Hi Dale2K9,

Welcome to the MSDN forum.

In general, we strongly recommend members to setting IE as a default browser before installation. so could you setting IE as default temporarily for a better installation?

which mobile development workload you installed? .NET, Javascript or C++? Which VS version you run? 2017 or else?

And based on your description, you can put this .zip into C:\Program Files (x86)\Microsoft Visual Studio\2017\XXXX\Common7.

According to your second reply, you have uninstalled VS, please reboot your PC then navigate to %programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe". If so, launch it from an admin command prompt with a -full param: InstallCleanup.exe –full.

If not, please manually delete:

  • "%programfiles(x86)%\Microsoft Visual Studio\Installer” folder
  • %ProgramData%\Microsoft\VisualStudio to delete the ‘Packages’ folder and ‘Setup’ folder

Then install all pending hotfixes in Windows Updates and disable anti-virus software, clean-up %temp% folder and keep a stability internet connection, run exe as admin.

If this issue still persists. I need your help to collect installation log. Please use  the Microsoft Visual Studio and .NET Framework Log Collection Tool 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. I will help you to analysis the cause of issue.

Looking forwards your reply.

Br

May

MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]


Monday, January 21, 2019 6:32 PM

Well, I couldn't get past this and couldn't cancel the install. The installer refused to shut down, saying there was an install in progress. It did give me the option to uninstall so I did that.

Now I tried reinstalling.  To keep from having a broken install, I chose the option to download all packages before installing.  It downloaded 11.34 GB of 12.98 GB and says 86% downloaded.  It's been stuck at 11.34 GB and 86% for over an hour now. The download rate changes plus and minus around 200KB per second as though it's actually downloading stuff; it even jumps to 10MB per second once in a while - but still hung at 11.34 GB and 86%.

So I tried to add features and ended up with a hung/broken Visual Studio installation, removed that and now don't have a Visual Studio installation and can't do any development work.

I've captured logs using connect.exe but not sure I should just post them here.


Tuesday, January 22, 2019 8:29 PM

After the clean install, all features of Visual Studio appear to be working.  Thanks for the help.

Dale