question

MikeStark-8789 avatar image
0 Votes"
MikeStark-8789 asked MikeStark-8789 commented

Visual Studio 2015 Professional - Installation fails with various errors

I am trying to install Visual Studio 2015 Professional on some new build servers running Windows Server 2016. I have tried various methods of installation, all of which fail.



My first preference would be automatically install via the chocolatey package https://community.chocolatey.org/packages/VisualStudio2015Professional, which downloads the vs_professional.exe and runs it with the arguments /Quiet /NoRestart. This fails with exit code -2147205120, which seems to indicate that a restart is required - but it continues to give this exit code even when restarting right before the installation. Chocolatey log: 100293-chocolatey.log



When I try to install this package manually on the build server, I get a generic MSI error 1603. Examining the log reveals many failed downloads of required packages, e.g. (from 100361-vs.log)

[16E4:1878][2021-05-27T09:41:33]w343: Prompt for source of package: VSSetupUtility_Start_vs_professional, payload: VSSetupUtility_Start_vs_professional, path: C:\Users\Administrator\AppData\Local\Temp\chocolatey\VisualStudio2015Professional\2015.03.03\packages\vs_professional\VSSetupUtility.exe
[16E4:16D8][2021-05-27T09:41:33]i000: MUX: Vital packages to be installed: 20
[16E4:16D8][2021-05-27T09:41:33]i000: MUX: Total packages to be installed: 148
[16E4:1878][2021-05-27T09:41:33]i000: MUX: Next Source: Web, Attempted: 1, Limit:3
[16E4:1878][2021-05-27T09:41:33]i000: MUX: Source retrieved: Web
[16E4:1878][2021-05-27T09:41:33]i000: MUX: Package:VSSetupUtility_Start_vs_professional, PayloadId:VSSetupUtility_Start_vs_professional Url: bits://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409, Attempting count: 1
[16E4:1878][2021-05-27T09:41:33]i000: MUX: Existing last unconfirmed source: Web
[16E4:1878][2021-05-27T09:41:33]i338: Acquiring package: VSSetupUtility_Start_vs_professional, payload: VSSetupUtility_Start_vs_professional, download from: bits://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409
[16E4:1878][2021-05-27T09:41:34]e000: Error 0x80190194: Failed to download BITS job.
[16E4:1878][2021-05-27T09:41:34]e000: Error 0x80190194: Failed attempt to download URL: 'bits://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409' to: 'C:\Users\Administrator\AppData\Local\Temp\chocolatey{1ef6a030-1244-4d01-95f3-299c0e3a3362}\VSSetupUtility_Start_vs_professional'
[16E4:1878][2021-05-27T09:41:34]i000: MUX: Set Result: Return Code=-2145844844 (0x80190194), Error Message=, Result Detail=, Vital=False, Package Action=Download_Bits, Package Id=VSSetupUtility_Start_vs_professional
[16E4:1878][2021-05-27T09:41:34]w343: Prompt for source of package: VSSetupUtility_Start_vs_professional, payload: VSSetupUtility_Start_vs_professional, path: C:\Users\Administrator\AppData\Local\Temp\chocolatey\VisualStudio2015Professional\2015.03.03\packages\vs_professional\VSSetupUtility.exe
[16E4:1878][2021-05-27T09:41:34]i000: MUX: Next Source: Web, Attempted: 2, Limit:3
[16E4:1878][2021-05-27T09:41:34]i000: MUX: Source retrieved: Web
[16E4:1878][2021-05-27T09:41:34]i000: MUX: Sleep for 3 seconds before retrying
[16E4:1878][2021-05-27T09:41:37]i000: MUX: Package:VSSetupUtility_Start_vs_professional, PayloadId:VSSetupUtility_Start_vs_professional Url: http://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409, Attempting count: 2
[16E4:1878][2021-05-27T09:41:37]i000: MUX: Skipping as it is the same as last unconfirmed source: Web
[16E4:1878][2021-05-27T09:41:37]i338: Acquiring package: VSSetupUtility_Start_vs_professional, payload: VSSetupUtility_Start_vs_professional, download from: http://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409
[16E4:1878][2021-05-27T09:41:37]e000: Error 0x80072f07: Failed to send request to URL: http://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409, trying to process HTTP status code anyway.
[16E4:1878][2021-05-27T09:41:37]e000: Error 0x80072f76: Failed to get redirect url: http://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409
[16E4:1878][2021-05-27T09:41:37]e000: Error 0x80072f76: Failed to send request to URL: http://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409
[16E4:1878][2021-05-27T09:41:37]e000: Error 0x80072f76: Failed to connect to URL: http://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409
[16E4:1878][2021-05-27T09:41:37]e000: Error 0x80072f76: Failed to get size and time for URL: http://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409
[16E4:1878][2021-05-27T09:41:37]e000: Error 0x80072f76: Failed attempt to download URL: 'http://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409' to: 'C:\Users\Administrator\AppData\Local\Temp\chocolatey{1ef6a030-1244-4d01-95f3-299c0e3a3362}\VSSetupUtility_Start_vs_professional'
[16E4:1878][2021-05-27T09:41:37]w343: Prompt for source of package: VSSetupUtility_Start_vs_professional, payload: VSSetupUtility_Start_vs_professional, path: C:\Users\Administrator\AppData\Local\Temp\chocolatey\VisualStudio2015Professional\2015.03.03\packages\vs_professional\VSSetupUtility.exe
[16E4:1878][2021-05-27T09:41:37]i000: MUX: Next Source: Web, Attempted: 3, Limit:3
[16E4:1878][2021-05-27T09:41:37]i000: MUX: Source retrieved: Web
[16E4:1878][2021-05-27T09:41:37]i000: MUX: Sleep for 3 seconds before retrying
[16E4:1878][2021-05-27T09:41:40]i000: MUX: Package:VSSetupUtility_Start_vs_professional, PayloadId:VSSetupUtility_Start_vs_professional Url: bits://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409, Attempting count: 3
[16E4:1878][2021-05-27T09:41:40]i000: MUX: Skipping as it is the same as last unconfirmed source: Web
[16E4:1878][2021-05-27T09:41:40]i338: Acquiring package: VSSetupUtility_Start_vs_professional, payload: VSSetupUtility_Start_vs_professional, download from: bits://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409
[16E4:1878][2021-05-27T09:41:40]e000: Error 0x80190194: Failed to download BITS job.
[16E4:1878][2021-05-27T09:41:40]e000: Error 0x80190194: Failed attempt to download URL: 'bits://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409' to: 'C:\Users\Administrator\AppData\Local\Temp\chocolatey{1ef6a030-1244-4d01-95f3-299c0e3a3362}\VSSetupUtility_Start_vs_professional'
[16E4:1878][2021-05-27T09:41:40]w343: Prompt for source of package: VSSetupUtility_Start_vs_professional, payload: VSSetupUtility_Start_vs_professional, path: C:\Users\Administrator\AppData\Local\Temp\chocolatey\VisualStudio2015Professional\2015.03.03\packages\vs_professional\VSSetupUtility.exe
[16E4:1878][2021-05-27T09:41:40]i000: MUX: Next Source: Web, Attempted: 3, Limit:3
[16E4:1878][2021-05-27T09:41:40]i000: MUX: Source retrieved: Web
[16E4:1878][2021-05-27T09:41:40]i000: MUX: Sleep for 3 seconds before retrying
[16E4:1878][2021-05-27T09:41:43]i000: MUX: Package:VSSetupUtility_Start_vs_professional, PayloadId:VSSetupUtility_Start_vs_professional Url: http://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409, Attempting count: 4
[16E4:1878][2021-05-27T09:41:43]i000: MUX: Skipping as it is the same as last unconfirmed source: Web
[16E4:1878][2021-05-27T09:41:43]i338: Acquiring package: VSSetupUtility_Start_vs_professional, payload: VSSetupUtility_Start_vs_professional, download from: http://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409
[16E4:1878][2021-05-27T09:41:43]e000: Error 0x80072f07: Failed to send request to URL: http://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409, trying to process HTTP status code anyway.
[16E4:1878][2021-05-27T09:41:43]e000: Error 0x80072f76: Failed to get redirect url: http://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409
[16E4:1878][2021-05-27T09:41:43]e000: Error 0x80072f76: Failed to send request to URL: http://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409
[16E4:1878][2021-05-27T09:41:43]e000: Error 0x80072f76: Failed to connect to URL: http://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409
[16E4:1878][2021-05-27T09:41:43]e000: Error 0x80072f76: Failed to get size and time for URL: http://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409
[16E4:1878][2021-05-27T09:41:43]e000: Error 0x80072f76: Failed attempt to download URL: 'http://go.microsoft.com/fwlink/?LinkId=562662&clcid=0x409' to: 'C:\Users\Administrator\AppData\Local\Temp\chocolatey{1ef6a030-1244-4d01-95f3-299c0e3a3362}\VSSetupUtility_Start_vs_professional'
[16E4:1878][2021-05-27T09:41:43]i000: MUX: Acquire Failed. Retry acquiring after sleeping for 3 seconds, Retry Count: 1 of 3
[16E4:1878][2021-05-27T09:41:46]w343: Prompt for source of package: VSSetupUtility_Start_vs_professional, payload: VSSetupUtility_Start_vs_professional, path: C:\Users\Administrator\AppData\Local\Temp\chocolatey\VisualStudio2015Professional\2015.03.03\packages\vs_professional\VSSetupUtility.exe
[16E4:1878][2021-05-27T09:41:46]i000: MUX: Source retrieved:
[16E4:1878][2021-05-27T09:41:46]e000: MUX: No new source is provided.
[16E4:1878][2021-05-27T09:41:46]i000: MUX: Set Result: Return Code=-2145844844 (0x80190194), Error Message=, Result Detail=No new source, Vital=False, Package Action=Download_Bits, Package Id=VSSetupUtility_Start_vs_professional
[16E4:1878][2021-05-27T09:41:46]e054: Failed to resolve source for file: C:\Users\Administrator\AppData\Local\Temp\chocolatey\VisualStudio2015Professional\2015.03.03\packages\vs_professional\VSSetupUtility.exe, error: 0x80070002.
[16E4:1878][2021-05-27T09:41:46]e000: Error 0x80070002: Failed while prompting for source (original path 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\VisualStudio2015Professional\2015.03.03\packages\vs_professional\VSSetupUtility.exe').
[16E4:1878][2021-05-27T09:41:46]e313: Failed to acquire payload: VSSetupUtility_Start_vs_professional to working path: C:\Users\Administrator\AppData\Local\Temp\chocolatey{1ef6a030-1244-4d01-95f3-299c0e3a3362}\VSSetupUtility_Start_vs_professional, error: 0x80070002.
[16E4:1878][2021-05-27T09:41:46]w350: Applied non-vital package: VSSetupUtility_Start_vs_professional, encountered error: 0x80070002. Continuing...
[16E4:16D8][2021-05-27T09:41:46]w309: Skipping apply of package: VSSetupUtility_Start_vs_professional due to cache error: 0x80070002. Continuing...



I have also tried creating an offline installer by mounting the VS2015-with-Update-3 ISO on my local machine and running vs_professional.exe /layout %USERPROFILE%\Downloads\VS2015, but this also fails to download some of the required packages. The displayed error message is "Burn layout exit code for product 'VSU_14.0.25420' is '1603'". I cannot attach the dd_vs_professional_20210527095817.log as it is too big, but the relevant section is:

[49EC:2338][2021-05-27T10:03:16]i000: SI: Starting burn layout for product 'VSU_14.0.25420'. Command line: 'C:\Users\mstark\Downloads\VS2015\OfflineCache\installers\VSU_14.0.25420\en\0\vsupdate_kb3022398.exe /quiet /layout "C:\Users\mstark\Downloads\VS2015\OfflineCache\installers\VSU_14.0.25420\en\0"'
[49EC:2338][2021-05-27T10:04:43]i000: SI: Burn layout exit code for product 'VSU_14.0.25420' is '1603'
[49EC:2338][2021-05-27T10:04:43]e000: SI: The download for the /Layout operation failed with the following reason(s): Burn layout for 'VSU_14.0.25420' failed with exit code '1603'..
[49EC:2338][2021-05-27T10:04:43]i000: MUX: Some operations failed, see the detailed error messages for more information:
[49EC:2338][2021-05-27T10:04:43]e000: MUX: The download for the /Layout operation failed with the following reason(s): Burn layout for 'VSU_14.0.25420' failed with exit code '1603'..
[49EC:2338][2021-05-27T10:04:43]i000: MUX: Set Result: Return Code=1603 (0x643), Error Message=The download for the /Layout operation failed with the following reason(s): Burn layout for 'VSU_14.0.25420' failed with exit code '1603'.., Result Detail=The download for the /Layout operation failed with the following reason(s): Burn layout for 'VSU_14.0.25420' failed with exit code '1603'.., Vital=False, Package Action=DownloadThirdParty, Package Id=VSSecondaryInstaller_box



Is there a supported way to install Visual Studio 2015 with Update 3 on a new machine?


vs-setup
vs.log (1.6 MiB)
chocolatey.log (1019.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JoyceYin-MSFT avatar image
0 Votes"
JoyceYin-MSFT answered MikeStark-8789 commented

Hi, welcome to Microsoft Q&A forum. Microsoft no longer uses Secure Hash Algorithm (SHA)-1 to authenticate updates due to the weaknesses in the algorithm. VS2015 and older version's web installers are currently impacted. On April 26, 2021, Visual Studio 2015 and older web installer files were removed from the Microsoft Download Center. These products can only be installed from ISO images available at https://my.visualstudio.com/downloads.
Refer to this document: https://docs.microsoft.com/en-us/lifecycle/announcements/sha-1-signed-content-retired

Please download ISO image for visual studio 2015 with update 3 from Microsoft download page, and install VS from it directly. (In the download page, select “DVD” in the “EXE” drop-down box, and it can download ISO image for older version. The ISO file includes most of packages from the downloading process, but it still need internet connection during the installation.)


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This is what I'm trying in the third example above: I've downloaded the Visual Studio 2015 Professional with Update 3 ISO (en_visual_studio_professional_2015_with_update_3_x86_x64_dvd_8923272.iso) and am trying to create an offline installer with the /layout option (as mentioned in this MSDN article). Is this option no longer supported?

I will attempt to use the ISO to install VS2015 on the build VM directly.


0 Votes 0 ·

To create offline installer for visual studio, we need to download visual studio web installer(vs_enterprise.exe, vs_professional.exe, or vs_community.exe) firstly, and then run "<executable name> /layout". Due to web installers for VS 2015 and old version are no longer available, we can't create an offline installer for them any more. (note: mounting the VS2015-with-Update-3 ISO and running vs_professional.exe /layout also doesn't work.)

VS 2015, and earlier versions of VS is only available via the iso installers, please install VS 2015 from it directly.

0 Votes 0 ·

Hi, @MikeStark-8789 . Are you able to use the ISO to install VS2015 on the build VM directly? Please let me know if you hit into any blockers in this way. We will still be here to help you solve this issue. Thank you for your understanding.

0 Votes 0 ·

I think I should be able to install via the ISO. I am still working on an automated process to do so, but was able to install via the ISO directly in testing, so I believe this approach will work.

0 Votes 0 ·