Install tools script gets timed out when installing visualstudio2019-workload-vctools
on slower internet connection
#4525
Labels
visualstudio2019-workload-vctools
on slower internet connection
#4525
Version
v23.5.0
Platform
Subsystem
No response
What steps will reproduce the bug?
Example steps to reproduce:
visualstudio2019-workload-vctools
isn't already installed) and check the option to automatically install the necessary tools during the installationHow often does it reproduce? Is there a required condition?
visualstudio2019-workload-vctools
not already installed (if it is already installed, then the installation won't take more than 45 minutes)What is the expected behavior? Why is that the expected behavior?
The
visualstudio2019-workload-vctools
installation doesn't automatically abort if it was running for 45 minutes.What do you see instead?
The
visualstudio2019-workload-vctools
installation failed. Although when I check CPU usage in Task Manager and/or network activity, this is still installing/downloading? Not sure. A little off-topic here (or maybe not?), pressing the ENTER key when the “Type ENTER to exit:” message is present doesn't work – it just enters a new line, but doesn't close the PowerShell window. (Yet another sign that this is still installing?)Screenshots:
(you can ignore the last two error messages about not being able to start another instance – I was trying to get a screenshot of Visual Studio Installer – sometimes when I opened it, I would see there that the installation of Visual Studio Build Tools 2019 failed with an option to Retry or Uninstall/Remove (there was also a button to show error details, but if I remember correctly, it showed nothing), but I couldn't reproduce it now; now – after I closed PowerShell window – I only saw that installation was paused with an option to Resume)
Copy-paste of all text in the PowerShell window: log.txt
chocolatey.log file: chocolatey.log
Additional information
Changing
choco upgrade -y python visualstudio2019-workload-vctools;
tochoco upgrade -y python visualstudio2019-workload-vctools --execution-timeout=0;
in the install_tools.bat script “fixes” the issue.The text was updated successfully, but these errors were encountered: