Share via


VS2012 install error 0x80070005: Failed to secure cache path

Question

Thursday, November 1, 2012 8:26 PM

Hello,

I'm getting following errors from VS2012 Desktop Express Web Installer.

[0FB0:22B0][2012-11-02T04:30:55]: Creating a system restore point.
[0FB0:22B0][2012-11-02T04:31:03]: Created a system restore point.
[0FB0:22B0][2012-11-02T04:31:09]: Error 0x80070005: Failed to secure cache path: C:\ProgramData\Package Cache\
[0FB0:22B0][2012-11-02T04:31:09]: Error 0x80070005: Failed to secure cache directory: C:\ProgramData\Package Cache\
[0FB0:22B0][2012-11-02T04:31:09]: Error 0x80070005: Failed to create completed cache path for bundle.
[0FB0:22B0][2012-11-02T04:31:09]: Error 0x80070005: Failed to cache bundle from path: R:\Temp\868dab5c-534f-4dcf-aca6-9af6b52b3633}\be\wdexpress_full.exe
[0FB0:22B0][2012-11-02T04:31:09]: Error 0x80070005: Failed to begin registration session.
[2530:2738][2012-11-02T04:31:09]: Error 0x80070005: Failed to begin registration session in per-machine process.
[2530:2738][2012-11-02T04:31:09]: Error 0x80070005: Failed to register bundle.

I also tried ISO installer because I thought reason is WebInstaller, but same error occurred.

My environment:
Win7 Pro
VS2010 has been installed

Thanks,

All replies (5)

Friday, November 2, 2012 5:47 AM âś…Answered | 3 votes

Hi unarist,

Thanks for your post.

Please Check the ACLs of "%ProgramData%\Package Cache" and make sure,

1. The directory is writable by Administrators
2. The directory is writable by SYSTEM
3. Directory permissions are inherited on child objects
4. The directory is owned by Administrators

The error means you meet some permission error, add Administrators group to acl and granted them full control may help on your issue. I recommend you have a try.

Regards,

Barry Wang [MSFT]
MSDN Community Support | Feedback to us


Friday, November 2, 2012 2:15 PM

Thanks Barry,

"Everyone" has already Modify rights, so I added Full control rights for Administrator.

Here is current ACLs of "Package Cache" directory.

Everyone: Modify
SYSTEM: Full control
Administrator: Full control

However, same error still occurs...


Wednesday, November 7, 2012 9:24 AM

Hi unarist,

Have you also run as administrator?

Please check this thread:

http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/f9f6307b-f5b4-4ab0-851e-941d38e06a0f

Can you also make sure AV software has been disabled?

BTW, I recommend you give ISO installer a try.

If you have any updates, feel free to let me know.

Regards,

Barry Wang [MSFT]
MSDN Community Support | Feedback to us


Wednesday, November 7, 2012 11:01 AM

Hi Barry,

So...I found my mistake.

When I trying edit ACLs of "Package Cache", I granted full control to Administrator, not Administrator"s".

I granted to Administrator"s" again, then installation started successfully.

Thank you Barry. I'm very happy to be using new VisualStudio!


Thursday, November 8, 2012 1:30 AM

Glad to hear your issue has been fixed.

Regards,

Barry Wang [MSFT]
MSDN Community Support | Feedback to us