Hello @Matheus Moreira Kuskowski ,
I suggest you firstly check the permission and network limitations on your machine.
About the permission limitation, try to run the setup file as administrator again, see if the Visual Studio starts to install. If this machine is managed by your company, try to contact your administrator or IT department to confirm the permission limitation(some custom rules, antivirus software, group policy and different accounts…).
About the network limitation, try to open a web browser, type and access https://aka.ms/vs/17/release/channel
, see if you can successfully access that URL and download the VisualStudio.17.Release.chman
file. If you fail to access that URL, try to contact your administrator or IT department to confirm the network limitation(proxy, antivirus software…).
Try to open Windows Settings > Windows Update > update Windows OS, make sure that all patches have been installed and there’s no Windows Update error.
Please also try to reinstall VS Installer manually. Rename this Installer
folder(C:\Program Files (x86)\Microsoft Visual Studio\Installer
) to Installer_backup
, download a new bootstrapper file(setup file of VS 2022), run the new setup file as administrator to reinstall Visual Studio Installer, see if this error disappears.
Maybe a workaround, try to follow the steps here: Use the command line to create a local layout to create a layout and install VS offline. You may also need to check the IDs of the workloads and the components that you want. The example command line to create a layout is like vs_community.exe --layout c:\localVSlayout --add XXXXXXX --add XXXXXXX --includeRecommended --includeOptional --lang en-US
.
Feel free to let us know the results:)
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.