Share a mounting solutions Vs2015 failure, error system can not find the path specified

Transfer: https://blog.csdn.net/a827443469/article/details/78619561
when ready take the time to review the day before yesterday, c ++, the way to write something, open the VS2015, preparation of new projects dumbfounded, I did not c ++ components are installed before doing Unity are related, in order to save space on the installation of a c #

Then is unloading heavy equipment, but found how are not installed on the system prompt can not find the path specified

Follow-up online to find a variety of solutions, including the use of TotalUninstaller tool, but inoffensive or error

And later downloaded VS2017, VS2012 and so on, are not installed on the wall can not find solutions

I intend to give up hope for the community to find their own solution ideas:

Find the path specified, in the end what path I through log information being given, to locate a VC_redist.x86.exe installation file, try to run, it really is a problem, then look found that the exe is running will be a path to the disk inside the system: write (C \ ProgramData \ Package cache) cache, I find that folder, find the folder exists, but is a shortcut, click on the corresponding prompt real path does not exist

OK, the problem here is quite clear, VS2015 will cache files written in C installation: \ ProgramData \ Package Cache, this folder in the case of VS before you never installed, it should not exist but before I installed, there is a shortcut to the installation program will judge before writing this path is not, not in creating, apparently it was detected that a shortcut to failure, so did not go to create, and then appeared the time to write cache write not go in, they start to display errors

The problem is clear, the next is a specific solution

The first: Package Cache delete a shortcut (if I guess right, then), you can get

The second: Rename the shortcut, and then create a new folder, renamed Package Cache, it can be had
Here Insert Picture Description
I use is the second solution, a bit stupid, so I will never know the true Package Cache where the shortcut should be directed. . .

The first way is to think back, but it has been installed to half the QAQ, I'm going back to reuse this shortcut, position it to the system tray inside a temp directory. . .

VS cache files
Here Insert Picture Description
last: TotalUninstaller tool or a good use, if we can add delete Package Cache instructions better. . .

Guess you like

Origin blog.csdn.net/QIJINGBO123/article/details/88813770