Power Outage During Visual Studio Upgrade Results In Missing Package

  • Thread starter Thread starter Thull_Dev
  • Start date Start date
T

Thull_Dev

Guest
During the latest update to Visual Studio 2019 (version 16.5.0) I experienced a power outage which caused my desktop PC to lose power. When power returned I booted back up and the setup resumed but ran into an error part way through which indicated that a package was missing but didn't cause the setup to fail, only finish with a warning. I have tried repairing and also uninstalling and reinstalling VS 2019, but they all encounter the same issue.

The dialog reads: "The feature you are trying to use is on a network resource that is unavailable. Click OK to try again or enter an alternate path to a folder containing the installation package 'vc_runtimeMinimum_x64.msi' in the box below." and the path that is prefilled in the browse field is "C:\ProgramData\Package Cache\{7DC387B8-E6A2-480C-8EF9-A6E51AE81C19}v14.24.28127\packages\vcRuntimeMinimum_amd64\".

After searching around I found a forum thread indicating that I should just uninstall the Visual C++ 2019 Runtime and reinstall it. I found that I there were two versions of the Visual C++ 2019 Runtime installed, version 14.24.28127 and version 14.25.28508. The later version (14.25) was able to uninstall via the built-in Add/Remove Programs interface, but version 14.24 which was mentioned in the error during VS setup had problems uninstalling relating to the missing file, so I ended up removing it using CCleaner so I could proceed with the VC Redistributable installation. Once I got the setup to run however, I appeared to get the same error/dialog I received during the Visual Studio setup except that this time it prevented setup from completing.

I think maybe finding version 14.24.28127 of the C++ Redistributable would resolve this issue, but I've scoured the internet and cannot find that specific version, only finding an older version and the most recent. It's a long shot but maybe someone from Microsoft could post a link here? Or perhaps someone who hasn't taken the most recent update could zip the C:/ProgramData/Package Cache/{7DC387B8-E6A2-480C-8EF9-A6E51AE81C19}v14.24.28127/... folder, but that seems like an even bigger stretch.

The only other thing I could think of is that perhaps someone knows of a registry solution to stop the Redistributable from searching for the old version and just proceed with setting up the new version. When I cancel out of the above dialog during the Redistributable setup the resulting message says "The older version of the Microsoft Visual C++ 2019 X64 Minimum Runtime - 14.24.28508 cannot be removed." so maybe just removing something that CCleaner missed would keep this setup from looking for an older version and just allow it finish? Otherwise I may be looking at a OS wipe to get back in working order.

Any knowledgeable advice would be very much appreciated. Thank you.

Continue reading...
 
Back
Top