VS 2015 Build Tools Web installer has been deprecated and no longer works, as per https://docs.microsoft.com/en-us/lifecycle/announcements/sha-1-signed-content-retired
There's a version available here https://my.visualstudio.com/Downloads?q=visual%20c++%20build%20tools&wt.mc_id=o~msft~vscom~older-downloads
But it's not possible to fetch it and install through automation like
curl -fLO https://download.my.visualstudio.com/pr/mu_visual_cpp_build_tools_2015_update_3_x64_dvd_dfd9a39c.iso && \
powershell $Image = Mount-DiskImage -ImagePath "$env:TEMP\mu_visual_cpp_build_tools_2015_update_3_x64_dvd_dfd9a39c.iso" -NoDriveLetter -PassThru -StorageType ISO ; \
$Vol = Get-Volume -DiskImage $Image ; \
$Drive = Get-WmiObject win32_volume -Filter "Label = '$($Vol.FileSystemLabel)'" -ErrorAction Stop ; \
$Drive.AddMountPoint("$env:TEMP\mount") ;
Because unfortunately the link changes too often/breaks. I also hit a forbidden when running in any other computer that not my own, including a docker environment
Is it ok if I push a copy to of the tool to a public facing file host? (like GitHub)
I need to fetch and install this on a CI system and currently I can't download this tool from anywhere.
There's no text along it that mentions if this is alright or not, but I need to download the VS 2015 Build Tools in a CI pipeline so it would be significantly easier if I could place it in a public facing web host.