问题
So, I'm trying to install Visual Studio 2015 Update 3 on my new Windows 10 laptop, but I can't get it to install to save my life. When I tried installing it via the original installation ISO, it keeps telling me the package failed. If I use the standalone update file it tells me the setup is blocked and that it requires a member of the Visual Studio 2015 family to be present (which, by all rights, should already be installed).
Here's a link to the log file, if it helps... https://drive.google.com/file/d/0ByXn28otvziTdGRwamVjaTZ2RlU/view?usp=sharing
回答1:
Found out how to fix it.
- Shift-right click on the folder where the standalone update is stored.
- Click "Open command window here."
- Type "vs14-kb3165756.exe /uninstall" without the quotes.
- Click "repair."
- Watch as the update finally manages to work.
回答2:
Complementing TheDoctor's answer, what worked for me was:
- I had to "open the file location" of CMD
- Create shortcut of it on my Desktop and "Run as Administrator"
- Found the path where the vs14-kb3165756.exe was saved (in my case was in Downloads folder)
- Typed vs14-kb3165756.exe /uninstall
- Clicked "repair"
- And then miraculously the thing works! Thanks TheDoctor for the solution!
来源:https://stackoverflow.com/questions/40213152/visual-studio-2015-update-3-kb3165756-setup-blocked