Visual Studio 2017 Installer is "Unable to download installation files" - visual-studio

I've just finished talking to the "Microsoft Support Chat" and he told me to post this here (i can't post it on the developercommunity forums because i need to click a button in the installer which isn't there at that stage).
When I'm trying to run the VS Enterprise 2017 installer (or any other edition) the installer cancels with the error message: "Unable to download installation files. Check your internet connection and try again."
What I tried so far:
Running as Administrator
Downloading the installer with a different browser
Using the --layout option to download files first (same error message, no files downloaded)
Installing the certificates
Using the --update option before running the installer regularly
Running the Windows 10 Windows Update Troubleshooter (couldn't identify the problem)
Disabling Bitdefender Antivirus
Multiple Reboots/Re-Downloads
One more thing that might be helpful is that quite a while back when i was installing "Cyber Ghost VPN" on the same machine i had trouble connecting using that application because a windows service that should've been active wasn't running.
Also I would've included the Logs from running the vscollect tool but i can't seem to figure out how to attach a file here. Do i have to upload it somewhere else and include the link or is there a way i can just attach the file here?

It could be a certificate issue, maybe your time and region are not set correctly, so the certificate is in a different date than the server. I followed this three spets a couple weeks ago and it worked.
Install the certificates, usually in "certificates" folder,(inside Layout folder).
Right-click each one to install it with administrator rigths.
3.Run the installation file.

Related

SQL Server Management Studio set-up exe does not launch

Attempting to launch the SQL Server Management Studio set-up exe leads to an icon briefly appearing in the taskbar, before disappearing without any further screen showing up. The task manager does not show any running instance for the installer either.
I have tried various versions of the SSMS installer executables posted on Microsoft's official documentation for SSMS, including version 18.8, 18.7.1, and 17.9.1.
Also tried updating the .NET framework, as suggested here (Why the SSMS-setup-ENU for version 17.8.1 isn't running?), but the latest version is already showed as having been installed.
I did a soft and hard reboot both, without success.
Confused as to how to proceed and install the software now. Any help would be appreciated.

Oracle Developer Tools for Visual Studio 2017 installation failed to start

I'm trying to install the Oracle Developer Tools for Visual Studio 2017 on my computer for Visual Studio 2017 v15.9.5.
I'm using Windows 10 and the version of the universal installer I'm using is 18.3.
Once I download the zip file and unzip all the contents, I then run the 'setup.exe' executable.
Once I run it, it asks for admin privileges and I give them to the installation.
Immediately after that, a console window blinks on the screen and nothing else happens. No other UI shows up and I'm not asked any questions or provided any error messages.
I have restarted my machine and attempted to install with no success.
Any assistance for getting the setup running would be greatly appreciated.
I found the issue.
I was running the executable in a directory so far down the directory tree that all the paths the executable was using were greater than 260 characters in length, which Windows has an issue with.

Visual Studio unable to download installation files

I simply wish to install Visual Studio 2017 to compile a project.
Trying to install via the installer obtained from Microsoft fails after being unable to obtain the .opc file from aka.ms (found that after checking logs in %Temp%)
Moved to a full install version with all files and .opc file present. Installer still attempts to download from the web. Fails saying it is unable to download.
Tried running installed with --layout pointing toward the location of the offline files, same error.
Installed certificates from the certificates folder both in Personal and Trusted Root stores, no difference.
Tried starting CNG Key Isolation service, fails with error 1053
Microsoft support transferred me three times before saying the problem is on their end, so how, if one were to have no internet connection and evidently has all files required for install available, install this, if the installer stubbornly attempts to download from the web?
Is there a KB I am missing or some procedure I have to follow with the full installers?
In my case it is the network firewall blocking the downloading because the downloading involve not only main Microsoft visual studio site which is allowed in our network but also some url like https://aka.ms which is blocked by our firewall.the error is listed in c:\users\myusername\appdata\local\temp\dd_bootstrapper_xxx.log
It appears from what you have submitted you are attempting to download a offline copy of Visual Studio. It also appears that you are attempting to run the file originally downloaded to create the bootstrapper for the installation.
You want to instead launch the setup executable which is actually in the layout folder.
Hope this helps. ^^
Appears the cause for this was the service disclosure debug, disabling the debug, binding all services back into the svchost and after rebooting the service is working again. I have been able to install VS now.

VSTO solution using ClickOnce via IIS 6 fails to download manifest

I have an Office solution for Word 2007 that I publish using ClickOnce. When I publish it to a local directory, I can install the .vsto file and everything works. When I publish it to our web server, though, I cannot install it. The error I get is:
Downloading file:///C:/DOCUME~1/Dave/LOCALS~1/Temp/Application Files/MyApp_1_0_0_0/MyApp.dll.manifest did not succeed.
I have been Googling for most of the day, and have already tried the following:
Added the correct MIME types to IIS 6 config (as described here and here on MSDN).
Created a test certificate, imported it into my trusted root authorities, and signed the app with it.
Published the solution to a network share and tried installing from there. It worked fine.
Tried accessing the MyApp.dll.manifest file directly from the web URL. The browser is able to find the file just fine.
What am I missing? Thanks.
Make sure that Windows Installer 3.1 is installed on the end-users PC. If it's not, you may want to add it as a prerequisite to your application.
Also, you may want to check and see if the application is installed from the Windows Add/Remove Programs screen. If it is in the list, you may need to uninstall the application, first. I know, you're probably thinking 'But the application hasn't been installed yet.'
Quite a few application that are published via ClickOnce. ClickOnce works great most of the time, but every now and then I see users who run into hiccups similar to yours when they try to initially install the application. The best solution is to usually uninstall all prerequisites, reboot, manually re-install the prerequisites (not from the ClickOnce setup.exe file) and then launch the application.
Some of those steps may not be necessary but it tends to fix the problem nearly every single time.

VS2005 Setup and Deployment - MSI Installer on reboot

I built a VS 2005 Setup and Deployment project and i'm able to install the setup without any problems. But, if I reboot my computer, the setup utility is being run again, asking me to install the software again (It already exists). I have not run into this problem before, any help would be greatly apperciated.
Thanks!
Check the Event Log, it will show what missing component/file/whatever is causing the installer to run.
Try enabling Windows Installer Logging and looking at the log files to see what might be failing.
Validate your resulting MSI using Orca, it's available as part of the Windows Installer 4.5 SDK (look for orca.msi in the TOOLS folder)

Resources