Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Error: Sorry, something went wrong - The install operation failed

I am trying to modify my Visual Studio by adding Python development and Node.js Development, but it keeps saying "Sorry, something went wrong - The install operation failed" and it doesn't download and install these features.

Same happens when I'm trying to uninstall already installed elements like .NET desktop development or when I'm trying to uninstall Visual Studio or repair it.

I have tried multiple solutions, but all of them didn't work unfortunately.

Can anyone help me please? I would really appreciate it.

Thank you.

like image 898
Tasos_Noutsis Avatar asked Dec 06 '25 15:12

Tasos_Noutsis


2 Answers

The installer downloaded a vs_setup_boostrapper.exe to %temp%\vs\setup<random> directory. If you run that file manually, then it will get past the roadblock and popup a dialog that tells you you're missing a required --productid parameter. Ignore that, exit, and then kill any setup.exe processes still running. (For me the vs installer locks up when it fails, and always has two setup.exe processes that must be killed.) At this point you can just run the vs installer normally, and it will work correctly.

like image 135
JustinMichel Avatar answered Dec 08 '25 17:12

JustinMichel


download the latest version https://visualstudio.microsoft.com/downloads/

of same visual studio installer and install (only installer). thats it. enter image description here

like image 27
Uttam Ughareja Avatar answered Dec 08 '25 17:12

Uttam Ughareja