First, let's look at the specific hints for the error, as shown in:
This error was the first time I encountered a Visual Studio experience that I had installed for so many years. It's disgusting. Installation failed yesterday, resulting in subsequent installation of other software delays. The current online solution is scarce, and 95% of all are wrong. I am here to give you a slightly more reliable solution. Specifically, click on the "here" to view the installation log, and in accordance with the order of time, turn to the last critical error information, my computer appears on the specific error related information as follows:
[1b18:1bc0][2016-07-10t09:38:31]: Mux:free Disk Space before install:systemdrive c \ 71529586688 bytes Appdrive e:\ 256964112384 bytes
[111c:1a20][2016-07-10t09:38:32]: Creating a System restore point.
[111c:1a20][2016-07-10t09:38:37]: Created a System restore point.
[111c:1a20][2016-07-10t09:38:37]: Caching bundle from: ' c:\users\dell\appdata\local\temp\{ 2175bf99-cf46-4968-8761-a7f59d172c9a}\.be\vs_ultimate.exe ' to: ' C:\ProgramData\Package cache\{ 2175bf99-cf46-4968-8761-a7f59d172c9a}\vs_ultimate.exe '
[111c:1a20][2016-07-10t09:38:37]: Error 0x80070005: Failed to write tag xml to file: \ C Programdata\regid.1991-06.com.microsoft\regid.1991-06.com.microsoft Microsoft Visual Studio Ultimate 2012.swidtag
[111c:1a20][2016-07-10t09:38:37]: Error 0x80070005:failed to write software tags.
[111c:1a20][2016-07-10t09:38:37]: Error 0x80070005:failed to begin registration session.
[1b18:1bc0][2016-07-10t09:38:37]: Error 0x80070005:failed to begin registration session in Per-machine process.
[1b18:1bc0][2016-07-10t09:38:37]: Error 0x80070005:failed to register bundle.
[1b18:1bc0][2016-07-10t09:38:37]: mux:apply complete:disk Space used in bytes for installation:maxappdrive:0 Ma xsysdrive:341262336 appdrive:0 sysdrive:10555392
[1b18:1bc0][2016-07-10t09:38:37]: Mux:free Disk Space after install:systemdrive \ c 71519420416 bytes Appdrive e:\ 256964112384 bytes
[1b18:1bc0][2016-07-10t09:38:37]: Mux:set result:return code=-2147024891 (0x80070005), Error message=, Result deta Il=, Vital=true, Package Action=install, package id=apply Failure
[1b18:1bc0][2016-07-10t09:38:37]: Mux:go to Finished page.
[1b18:1bc0][2016-07-10t09:38:37]: Apply complete, result:0x80070005, Restart:none, BA requested Restart:no
It can be found that this is the cause of the write failure due to file system permissions. Therefore, the specific solution is to modify the individual user's permissions to the folder, or delete the folder (which is what I do), the result is to reinstall Visual Studio, Success ~
Enlightenment:
Later, encounter similar problems, when there is obviously no solution on the Internet, or the solution is basically wrong, then you have to carefully analyze the cause of the error . Instead of a fly that has no head, it's a lot of wasted time, and it complicates the problem.
"Visual Studio 2012 installation engine denied access" error resolution