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 :
[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 !
- Anonymous11 years ago
Alright I fixed the problem by granting full access to "everyone" on the "C:\ProgramData\Package Cache" folder.