Reputation: 173
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.
Upvotes: 17
Views: 13887
Reputation: 1
I met the same problem and finally found that there was an extra space in the path of download cache. The path is even default that I haven't change.enter image description here
Upvotes: 0
Reputation: 1355
download the latest version https://visualstudio.microsoft.com/downloads/
of same visual studio installer and install (only installer). thats it.
Upvotes: 6
Reputation: 621
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.
Upvotes: 34