Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

not able to install visual studio 2022 using visual studio installer

I have downloaded visual studio installer from "https://visualstudio.microsoft.com/downloads/" once its downloaded the installer file, when I click on install it says "Getting visual studio installer ready" and nothing happens after that. my internet connection is good and able to browse and download other files.

Tried this solution as well https://learn.microsoft.com/en-us/answers/questions/216897/visual-studio-2019-error-unable-to-download-instal.html and also tried after restarting machine. still having the same problem. you can find the screenshot for more information.

can anyone suggest what could be the issue. thanks

enter image description here

I could find the following log

[5/11/2022, 16:53:28] === Logging started: 2022/05/11 16:53:28 === [5/11/2022, 16:53:28] Executable: C:\Users{username}\Downloads\vs_Community.exe v15.9.28307.1974 [5/11/2022, 16:53:28] --- logging level: standard --- [5/11/2022, 16:53:28] Directory 'C:\Users{username}\AppData\Local\Temp\481074b13093fff3a2' has been selected for file extraction [5/11/2022, 16:53:28] Extracting files to: C:\Users{username}\AppData\Local\Temp\481074b13093fff3a2
[5/11/2022, 16:53:28] Extraction took 265 milliseconds [5/11/2022, 16:53:28] Executing extracted package: 'vs_bootstrapper_d15\vs_setup_bootstrapper.exe ' with commandline ' --env "_SFX_CAB_EXE_PACKAGE:C:\Users{username}\Downloads\vs_Community.exe _SFX_CAB_EXE_ORIGINALWORKINGDIR:C:\Users{username}\Downloads"' [5/11/2022, 16:55:43] The entire Box execution exiting with result code: 0x0 [5/11/2022, 16:55:43] Launched extracted application exiting with result code: 0x138c [5/11/2022, 16:55:43] === Logging stopped: 2022/05/11 16:55:43 ===

like image 998
PMC Karur Avatar asked Feb 04 '26 20:02

PMC Karur


2 Answers

in your host file(C:\Windows\System32\drivers\etc\hosts) insert this line and enjoy

93.184.215.201 download.visualstudio.microsoft.com
like image 177
tapos ghosh Avatar answered Feb 06 '26 14:02

tapos ghosh


There is currently an issue with Microsoft's Installer Backend. Have a look here for the Microsoft ticket.

like image 25
MichelZ Avatar answered Feb 06 '26 14:02

MichelZ