When attempting to install Visual Studio 2022 (same issue when attempting to install Visual Studio 2019), once the installation gets to a certain point it reports the following:
"Sorry, something went wrong" Couldn't install Microsoft.VisualCpp.Redist.14
Here is the log:
Something went wrong with the install.
You can troubleshoot the package failures by:
- Search for solutions using the search URL below for each package failure
- Modify your selections for the affected workloads or components and then retry the installation
- Remove the product from your machine and then install again
================================================================================ Package 'Microsoft.VisualCpp.Redist.14,version=14.34.31931,chip=x86' failed to install. Search URL
Now, I don't think the above is your issue, but of course it is one of the first things one will do when having downloaded a file.
In fact, for zip files you REALLY have to pay attention to above. For example, if I share some code - and in that zip file some .dll's? they do NOT work unless you un-block before you un-zip. (or un-block each file after un-zipping).
So, the above is quite much a basic skill set you will have when dealing with any downloaded file(s). As I stated, this un-likely is your issue, but since the basic sill set in downloading a file and un-blocking seemed confusing to you, the above basic skill set is quite much part of a survival guide if you going to use the internet and download a file.
CodePudding user response:
The offending issue was the following folder: C:\ProgramData\Package Cache
It appears that somehow, this folder was changed from a folder to some sort of symbolic shortcut that was not accessible. It was semi-greyed out with a small arrow icon on the folder icon indicating it was a shortcut. Clicking on it resulted in the error "System is unable to resolve the file". Again, this is a FOLDER, not a FILE.
Anyways, I deleted the "shortcut" and recreated C:\ProgramData\Package Cache as a normal folder and now everything is installing fine.