Issue Description:

Installation of VC++ 2005/2008 fail with 0x80070005 Assembly Error:Access is denied issue

MSI (s) (54:80) [13:56:14:694]: Assembly Error:Access is denied.

MSI (s) (54:80) [13:56:14:694]: Note: 1: 1935 2: {97F81AF1-0E47-DC99-A01F-C8B3B9A1E18E} 3: 0x80070005 4: IAssemblyCache 5: CreateAssemblyCacheItem 6: Microsoft.VC80.ATL,type="win32",version="8.0.50727.4053",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86"

Root Cause:

When we search for ‘value 3’ in the VC++ 2005 error log it gives the below error message

MSI (s) (54:80) [13:56:14:694]: Executing op: AssemblyCopy(SourceName=b3t3z6j5.7ag|x86_Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_473666fd.manifest,SourceCabKey=ul_manifest.97F81AF1_0E47_DC99_FF1F_C8B3B9A1E18E,DestName=x86_Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_473666fd.manifest,Attributes=16384,FileSize=466,PerTick=32768,,VerifyMedia=1,ElevateFlags=4,,,,ComponentId={97F81AF1-0E47-DC99-A01F-C8B3B9A1E18E},IsManifest=1,,,AssemblyMode=0,)

MSI (s) (54:80) [13:56:14:694]: Assembly Error:Access is denied.

MSI (s) (54:80) [13:56:14:694]: Note: 1: 1935 2: {97F81AF1-0E47-DC99-A01F-C8B3B9A1E18E} 3: 0x80070005 4: IAssemblyCache 5: CreateAssemblyCacheItem 6: Microsoft.VC80.ATL,type="win32",version="8.0.50727.4053",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86"

Which means the ‘System’ account installing the VC++ MSI isn’t having access on the Assemblycache folder. A procmon log should show the folder which is “C:\Windows\Winsxs\Installtemp” folder

Resolution:

1. Give “Full Control” to the “System” account on “C:\Windows\Winsxs\Installtemp”

2. After this the installation of VC++ 2005 should be successful on the machine

Content By : Sarat Chandra