[SOLVED] Microsoft Visual C++ 2012 Redistributable x64 setup failure

Apr 21, 2020
3
1
10
Hi all,

I'm having a very weird issue with my PC. One of the games I about installing needs Microsoft Visual C++ 2012 redistributable x64 in order to run/install correctly.
The problem I am having is that I cannot get it to install. I keep getting the same error message over and over and have tried so many solutions. I'm at my wits end.

*Error Message is as follows:
Setup Failed
One or more issues caused the setup to fail. Please fix the issues and retry setup. For More information see the log file.
0x8007015e - No action was taken as system reboot required. You must start your computer to complete the rollback of the software. *

I don't have this issue with any other version of these redistributable files and it happens whether I am downloading through Origin or directly from the Microsoft Visuals website.

The log file data is:
[0DE4:0E50][2020-04-21T13:31:03]: Burn v3.6.3542.0, Windows v6.3 (Build 9600: Service Pack 0), path: C:\Users\elccr\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\TempState\Downloads\en_visual_cpp_redistributable_for_visual_studio_2012_update_4_x64_3161523 (3).exe, cmdline: ''
[0DE4:0E50][2020-04-21T13:31:03]: Setting string variable 'WixBundleLog' to value 'C:\Users\elccr\AppData\Local\Temp\dd_vcredist_amd64_20200421133103.log'
[0DE4:0E50][2020-04-21T13:31:03]: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\elccr\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\TempState\Downloads\en_visual_cpp_redistributable_for_visual_studio_2012_update_4_x64_3161523 (3).exe'
[0DE4:0E50][2020-04-21T13:31:03]: Could not load or read state file: C:\ProgramData\Package Cache\{ca67548a-5ebe-413a-b50c-4b9ceb6d66c6}\state.rsm, error: 0x80070003.
[0DE4:0E50][2020-04-21T13:31:03]: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.61030'
[0DE4:0E50][2020-04-21T13:31:04]: Detect 2 packages
[0DE4:0E50][2020-04-21T13:31:04]: Detected related bundle: {a1909659-0a08-4554-8af1-2175904903a1}, type: Upgrade, scope: PerMachine, version: 11.0.60610.1, operation: MajorUpgrade
[0DE4:0E50][2020-04-21T13:31:04]: Detected package: vcRuntimeMinimum_x64, state: Present, cached: Complete
[0DE4:0E50][2020-04-21T13:31:04]: Detected package: vcRuntimeAdditional_x64, state: Present, cached: Complete
[0DE4:0E50][2020-04-21T13:31:04]: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[0DE4:0E50][2020-04-21T13:31:04]: Detect complete, result: 0x0
[0DE4:0E50][2020-04-21T13:31:08]: Plan 2 packages, action: Install
[0DE4:0E50][2020-04-21T13:31:08]: Condition 'VersionNT64 AND (VersionNT > v6.2 OR (VersionNT = v6.2 AND (NTProductType = 1)) OR (VersionNT = v6.2 AND NOT (NTProductType = 1)) OR (VersionNT = v6.0 AND NOT (NTProductType = 1)) OR (VersionNT = v6.1 AND (NTProductType = 1)) OR (VersionNT = v6.1 AND NOT (NTProductType = 1)) OR (VersionNT = v6.0 AND (NTProductType = 1)) OR (VersionNT = v5.1) OR (VersionNT = v5.2 AND NOT (NTProductType = 1)) OR (VersionNT = v5.2 AND (NTProductType = 1)))' evaluates to true.
[0DE4:0E50][2020-04-21T13:31:08]: Condition 'VersionNT64 AND (VersionNT > v6.2 OR (VersionNT = v6.2 AND (NTProductType = 1)) OR (VersionNT = v6.2 AND NOT (NTProductType = 1)) OR (VersionNT = v6.0 AND NOT (NTProductType = 1)) OR (VersionNT = v6.1 AND (NTProductType = 1)) OR (VersionNT = v6.1 AND NOT (NTProductType = 1)) OR (VersionNT = v6.0 AND (NTProductType = 1)) OR (VersionNT = v5.1) OR (VersionNT = v5.2 AND NOT (NTProductType = 1)) OR (VersionNT = v5.2 AND (NTProductType = 1)))' evaluates to true.
[0DE4:0E50][2020-04-21T13:31:08]: Planned package: vcRuntimeMinimum_x64, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register
[0DE4:0E50][2020-04-21T13:31:08]: Planned package: vcRuntimeAdditional_x64, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register
[0DE4:0E50][2020-04-21T13:31:08]: Planned related bundle: {a1909659-0a08-4554-8af1-2175904903a1}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None
[0DE4:0E50][2020-04-21T13:31:08]: Plan complete, result: 0x0
[0DE4:0E50][2020-04-21T13:31:08]: Apply begin
[0DE4:0E50][2020-04-21T13:31:09]: Apply complete, result: 0x8007015e, restart: Required, ba requested restart: No

Sorry its long winded. Any help would be appreciated.
 
Solution
The line Could not load or read state file: C:\ProgramData\Package Cache\{ca67548a-5ebe-413a-b50c-4b9ceb6d66c6}\state.rsm, error: 0x80070003 seems to point to the root cause. Something is happening, either that file is not there or something is odd with it. 0x80070003 usually points out to missing files for Wİndows Update. (I couldn't find if it's actually a problem with WU or just VC not being able to find the file, but let's try doing both)

*Can you verify that state.rsm file actually exists in the path this error specifies? In my PC there is the state.rsm and vcredist_x64 installer in the folder. (Note that you'll need to see hidden/system files to access the ProgramData folder, you can do this by searching "File Explorer...
Apr 21, 2020
3
1
10
This is an odd shot but have you tried restarting after you get an error? Maybe uninstall anything that says "Visual C++ 2012" from the Apps section?

Hi, Yes I've tried that a few times, unfortunately it had no effect. I've even uninstalled and reinstalled ALL of the Visual C++ redistributables and this is the only one I cannot get onto the computer no matter what source I use for the download.
 

howtobeironic

Honorable
Jun 16, 2018
396
23
11,115
The line Could not load or read state file: C:\ProgramData\Package Cache\{ca67548a-5ebe-413a-b50c-4b9ceb6d66c6}\state.rsm, error: 0x80070003 seems to point to the root cause. Something is happening, either that file is not there or something is odd with it. 0x80070003 usually points out to missing files for Wİndows Update. (I couldn't find if it's actually a problem with WU or just VC not being able to find the file, but let's try doing both)

*Can you verify that state.rsm file actually exists in the path this error specifies? In my PC there is the state.rsm and vcredist_x64 installer in the folder. (Note that you'll need to see hidden/system files to access the ProgramData folder, you can do this by searching "File Explorer options", then from the "View" tab check "Show hidden files" and uncheck "Hide system files".) If it's not there, maybe try to move the folder to your desktop and reinstall once more.

*Did you disable Windows Update? Is your system up to date? Or do you get frequent errors from it? If the latter applies, can you run the Update Troubleshooter from Settings>Update&Recovery>Troubleshoot>Windows Update?
 
Solution
Apr 21, 2020
3
1
10
The line Could not load or read state file: C:\ProgramData\Package Cache\{ca67548a-5ebe-413a-b50c-4b9ceb6d66c6}\state.rsm, error: 0x80070003 seems to point to the root cause. Something is happening, either that file is not there or something is odd with it. 0x80070003 usually points out to missing files for Wİndows Update. (I couldn't find if it's actually a problem with WU or just VC not being able to find the file, but let's try doing both)

*Can you verify that state.rsm file actually exists in the path this error specifies? In my PC there is the state.rsm and vcredist_x64 installer in the folder. (Note that you'll need to see hidden/system files to access the ProgramData folder, you can do this by searching "File Explorer options", then from the "View" tab check "Show hidden files" and uncheck "Hide system files".) If it's not there, maybe try to move the folder to your desktop and reinstall once more.

*Did you disable Windows Update? Is your system up to date? Or do you get frequent errors from it? If the latter applies, can you run the Update Troubleshooter from Settings>Update&Recovery>Troubleshoot>Windows Update?

Hi, thanks for your reply.
I had a look through the files as suggested and there was an .rsm file missing. In fact when I looked the whole file was missing. Anyway, I found the same file on another PC and I tried it on there and where the VC++ wouldn’t install on the PC with the problem it would on there. As a last ditch effort I tried to move a copy of the working file over to the non working computer but it had no effect, still refused to install. I’m pretty sure that is where the problem was, in the Package Casche.

Finally, after a full 7 days with this problem I decided to reset the PC. I was slightly worried there would be an issue as I have two hard drives but windows re-installed without a problem. I’ve not reinstalled anything that was deleted during the install apart from origin and my graphics card drivers and then re-installed the game. It worked! Kind of wish I just did that to start with but at least its done now.

Thanks for pointing me in the direction of the issue.
 
  • Like
Reactions: howtobeironic