Forum Discussion

Anonymous's avatar
Anonymous
11 years ago
Solved

Can't install the game - VC++ / Access denied problem (5)

Hello,

I'm getting the follow error : Error: The VC++ runtime redistributable package was not installed successfully. Setup cannot continue. (5)

I looked for similar problems over this and other forums (eventhough the "5" was always another number) and tried almost everything like reinstalling Origin, uninstalling and reinstalling all microsoft visual c++ versions (2005, 2008 and 2010), running as administrator (anyway I removed all Windows user verification), and granting all permissions in the temp folder (I even granted all permissions to all users on my C: drive, in case...).

Though, I then tried installing VC 2013 using the folder in the Sims 4 CD I have, and runned vcredist_x64.exe trying to see if this particular version was needed. (Also tried the x86 one, but I'm running on Windows 7 x64 anyway)

I now get the following error trying to install this particular version of VC (others all went fine) : 0x80070005 - Acess denied

Here's the log :

Spoiler
[1074:0FB4][2014-09-03T20:05:18]i001: Burn v3.7.2002.0, Windows v6.1 (Build 7601: Service Pack 1), path: E:\vc2013\redist\vcredist_x64.exe, cmdline: '-burn.unelevated BurnPipe.{DAD9ADAF-5E5F-43F8-B7C7-4330394BDF56} {0A1C2104-A3FA-47E2-A21C-672AEF657650} 2828'
[1074:0FB4][2014-09-03T20:05:20]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Zwyk\AppData\Local\Temp\dd_vcredist_amd64_20140903200520.log'
[1074:0FB4][2014-09-03T20:05:20]i000: Setting string variable 'WixBundleOriginalSource' to value 'E:\vc2013\redist\vcredist_x64.exe'
[1074:0FB4][2014-09-03T20:05:20]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.21005'
[1074:0FB4][2014-09-03T20:05:20]i100: Detect begin, 2 packages
[1074:0FB4][2014-09-03T20:05:20]i101: Detected package: vcRuntimeMinimum_x64, state: Absent, cached: None
[1074:0FB4][2014-09-03T20:05:20]i101: Detected package: vcRuntimeAdditional_x64, state: Absent, cached: None
[1074:0FB4][2014-09-03T20:05:20]i052: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[1074:0FB4][2014-09-03T20:05:20]i199: Detect complete, result: 0x0
[1074:0FB4][2014-09-03T20:05:23]i200: Plan begin, 2 packages, action: Install
[1074:0FB4][2014-09-03T20:05:23]i052: Condition 'VersionNT64' evaluates to true.
[1074:0FB4][2014-09-03T20:05:23]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x64' to value 'C:\Users\Zwyk\AppData\Local\Temp\dd_vcredist_amd64_20140903200520_0_vcRuntimeMinimum_x64_rollback.log'
[1074:0FB4][2014-09-03T20:05:23]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\Zwyk\AppData\Local\Temp\dd_vcredist_amd64_20140903200520_0_vcRuntimeMinimum_x64.log'
[1074:0FB4][2014-09-03T20:05:23]i052: Condition 'VersionNT64' evaluates to true.
[1074:0FB4][2014-09-03T20:05:23]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x64' to value 'C:\Users\Zwyk\AppData\Local\Temp\dd_vcredist_amd64_20140903200520_1_vcRuntimeAdditional_x64_rollback.log'
[1074:0FB4][2014-09-03T20:05:23]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\Zwyk\AppData\Local\Temp\dd_vcredist_amd64_20140903200520_1_vcRuntimeAdditional_x64.log'
[1074:0FB4][2014-09-03T20:05:23]i201: Planned package: vcRuntimeMinimum_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[1074:0FB4][2014-09-03T20:05:23]i201: Planned package: vcRuntimeAdditional_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[1074:0FB4][2014-09-03T20:05:23]i299: Plan complete, result: 0x0
[1074:0FB4][2014-09-03T20:05:23]i300: Apply begin
[0B0C:09A4][2014-09-03T20:05:23]i360: Creating a system restore point.
[0B0C:09A4][2014-09-03T20:05:26]i361: Created a system restore point.
[0B0C:09A4][2014-09-03T20:05:32]e000: Error 0x80070005: Failed to secure cache path: C:\ProgramData\Package Cache\
[0B0C:09A4][2014-09-03T20:05:32]e000: Error 0x80070005: Failed to secure cache directory: C:\ProgramData\Package Cache\
[0B0C:09A4][2014-09-03T20:05:32]e000: Error 0x80070005: Failed to create completed cache path for bundle.
[0B0C:09A4][2014-09-03T20:05:32]e000: Error 0x80070005: Failed to cache bundle from path: C:\Users\Zwyk\AppData\Local\Temp\{7f51bdb9-ee21-49ee-94d6-90afc321780e}\.be\vcredist_x64.exe
[0B0C:09A4][2014-09-03T20:05:32]e000: Error 0x80070005: Failed to begin registration session.
[1074:0FB4][2014-09-03T20:05:32]e000: Error 0x80070005: Failed to begin registration session in per-machine process.
[1074:0FB4][2014-09-03T20:05:32]e000: Error 0x80070005: Failed to register bundle.
[1074:0FB4][2014-09-03T20:05:33]i399: Apply complete, result: 0x80070005, restart: None, ba requested restart:  No

I don't get how an access denied is possible since I have granted all access to my account and even all others (well, there's just my account anyway).

As I said I'm already running it with all rights and as administrator.

Does anybody have an idea ? I'll provide any further needed information you'd ask.

Thanks !

  • Anonymous's avatar
    Anonymous
    11 years ago

    Alright I fixed the problem by granting full access to "everyone" on the "C:\ProgramData\Package Cache" folder.

4 Replies

  • Anonymous's avatar
    Anonymous
    11 years ago

    i have exactly the same problem.

    tried so many things already, just cant make it work ☹️

  • Anonymous's avatar
    Anonymous
    11 years ago

    Alright I fixed the problem by granting full access to "everyone" on the "C:\ProgramData\Package Cache" folder.

  • Anonymous's avatar
    Anonymous
    11 years ago

    I am also having trouble with this. 

    I can't even find my PrgramData file to change permissions to "everyone" - I have a Windows 7 system, so perhaps it's in a different place or under a different file name? 

    Cannot uninstall redistributables, but apparently they are up to date anyways (new versions won't install as files are already on PC).

    Could someone please help? 😕mileysad: