Access Denied - 0x8007005 During Installation

Hi, I’m trying to install the server on a Windows 2019 server in Azure. I have installed the latest version of PostGRE, .Net Core 3.1 (latest version), and IIS. We have previously installed the server on Azure servers without issues, but not since standalone installations were by request and most surveys were hosted here.

I right click and run as Administrator, but the first time I get an Unknown application popup. Hitting “More info” shows the publisher is missing and I click “Run Anyway.”

The install runs for a few seconds then the install fails with 0x8007005 - Access is denied. I have rebooted the server and re-downloaded the install file and still have the same issue.

Our Windows System admins are also trying to fix things, but they thought it would be a good idea to ask here as well.

The log file that the failure gives me contains the information below:
[099C:22D8][2020-10-19T12:53:05]i001: Burn v3.11.2.4516, Windows v10.0 (Build 17763: Service Pack 0), path: C:\windows\Temp{523BE75C-FCB8-4A91-B587-187BDBD3E203}.cr\SurveySolutions.20.9.2.29435.exe
[099C:22D8][2020-10-19T12:53:05]i000: Initializing string variable ‘WindowsDotNetHosting311InstallDir’ to value ‘[ProgramFiles64Folder]dotnet\host\fxr\3.1.7’
[099C:22D8][2020-10-19T12:53:05]i009: Command Line: ‘-burn.clean.room=C:\Users\User\Downloads\SurveySolutions.20.9.2.29435.exe -burn.filehandle.attached=620 -burn.filehandle.self=616’
[099C:22D8][2020-10-19T12:53:05]i000: Setting string variable ‘WixBundleOriginalSource’ to value ‘C:\Users\User\Downloads\SurveySolutions.20.9.2.29435.exe’
[099C:22D8][2020-10-19T12:53:05]i000: Setting string variable ‘WixBundleOriginalSourceFolder’ to value ‘C:\Users\User\Downloads’
[099C:22D8][2020-10-19T12:53:05]i000: Setting string variable ‘WixBundleLog’ to value ‘C:\Users\User\AppData\Local\Temp\SurveySolutions_20201019125305.log’
[099C:22D8][2020-10-19T12:53:05]i000: Setting string variable ‘WixBundleName’ to value ‘SurveySolutions’
[099C:22D8][2020-10-19T12:53:05]i000: Setting string variable ‘WixBundleManufacturer’ to value ‘The World Bank’
[099C:0E84][2020-10-19T12:53:05]i000: Setting numeric variable ‘WixStdBALanguageId’ to value 1033
[099C:0E84][2020-10-19T12:53:05]i000: Setting version variable ‘WixBundleFileVersion’ to value ‘20.9.2.29435’
[099C:22D8][2020-10-19T12:53:06]i100: Detect begin, 3 packages
[099C:22D8][2020-10-19T12:53:06]i000: Product or related product not found: {0C543B8A-9023-4486-89C9-421D875F5AFA}
[099C:22D8][2020-10-19T12:53:06]i000: Setting numeric variable ‘OldProductInstalled’ to value 2
[099C:22D8][2020-10-19T12:53:06]i000: Setting numeric variable ‘WindowsDotNetHosting311Installed’ to value 0
[099C:22D8][2020-10-19T12:53:06]i052: Condition ‘WindowsDotNetHosting311Installed’ evaluates to false.
[099C:22D8][2020-10-19T12:53:06]i101: Detected package: IIS_Manage, state: Absent, cached: None
[099C:22D8][2020-10-19T12:53:06]i101: Detected package: dotnet_hosting_3.1.7_win.exe, state: Absent, cached: Complete
[099C:22D8][2020-10-19T12:53:06]i101: Detected package: SurveySolutionsPackage, state: Absent, cached: Complete
[099C:22D8][2020-10-19T12:53:06]i052: Condition ‘(VersionNT64 >= v6.3)’ evaluates to true.
[099C:22D8][2020-10-19T12:53:06]i052: Condition ‘(OldProductInstalled = 2)’ evaluates to true.
[099C:22D8][2020-10-19T12:53:06]i199: Detect complete, result: 0x0
[099C:0E84][2020-10-19T12:53:23]i000: Setting numeric variable ‘EulaAcceptCheckbox’ to value 0
[099C:22D8][2020-10-19T12:53:23]i200: Plan begin, 3 packages, action: Install
[099C:22D8][2020-10-19T12:53:23]w321: Skipping dependency registration on package with no dependency providers: IIS_Manage
[099C:22D8][2020-10-19T12:53:23]i000: Setting string variable ‘WixBundleLog_IIS_Manage’ to value ‘C:\Users\User\AppData\Local\Temp\SurveySolutions_20201019125305_000_IIS_Manage.log’
[099C:22D8][2020-10-19T12:53:23]i000: Setting string variable ‘WixBundleRollbackLog_IIS_Manage’ to value ‘C:\Users\User\AppData\Local\Temp\SurveySolutions_20201019125305_000_IIS_Manage_rollback.log’
[099C:22D8][2020-10-19T12:53:23]w321: Skipping dependency registration on package with no dependency providers: dotnet_hosting_3.1.7_win.exe
[099C:22D8][2020-10-19T12:53:23]i000: Setting string variable ‘WindowsDotNetHosting311Log’ to value ‘C:\Users\User\AppData\Local\Temp\SurveySolutions_20201019125305_001_dotnet_hosting_3.1.7_win.exe.log’
[099C:22D8][2020-10-19T12:53:23]i052: Condition ‘VersionNT64’ evaluates to true.
[099C:22D8][2020-10-19T12:53:23]i000: Setting string variable ‘WixBundleRollbackLog_SurveySolutionsPackage’ to value ‘C:\Users\User\AppData\Local\Temp\SurveySolutions_20201019125305_002_SurveySolutionsPackage_rollback.log’
[099C:22D8][2020-10-19T12:53:23]i000: Setting string variable ‘WixBundleLog_SurveySolutionsPackage’ to value ‘C:\Users\User\AppData\Local\Temp\SurveySolutions_20201019125305_002_SurveySolutionsPackage.log’
[099C:22D8][2020-10-19T12:53:23]i201: Planned package: IIS_Manage, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None
[099C:22D8][2020-10-19T12:53:23]i201: Planned package: dotnet_hosting_3.1.7_win.exe, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: No, uncache: No, dependency: None
[099C:22D8][2020-10-19T12:53:23]i201: Planned package: SurveySolutionsPackage, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[099C:22D8][2020-10-19T12:53:23]i299: Plan complete, result: 0x0
[099C:22D8][2020-10-19T12:53:23]i300: Apply begin
[099C:22D8][2020-10-19T12:53:23]i010: Launching elevated engine process.
[099C:22D8][2020-10-19T12:53:24]i011: Launched elevated engine process.
[099C:22D8][2020-10-19T12:53:24]i012: Connected to elevated engine.
[068C:1670][2020-10-19T12:53:24]i358: Pausing automatic updates.
[068C:1670][2020-10-19T12:53:24]i359: Paused automatic updates.
[068C:1670][2020-10-19T12:53:24]i360: Creating a system restore point.
[068C:1670][2020-10-19T12:53:24]i362: System restore disabled, system restore point not created.
[068C:1670][2020-10-19T12:53:24]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{a7730b77-426e-4533-a17d-4efa66abd5b4}, options: 0x7, disable resume: No
[068C:1670][2020-10-19T12:53:24]i000: Caching bundle from: ‘C:\windows\Temp{C42C3BE6-7859-4874-A3A3-B8DE23B12EE9}.be\SurveySolutions.20.09.2.29435.exe’ to: ‘C:\ProgramData\Package Cache{a7730b77-426e-4533-a17d-4efa66abd5b4}\SurveySolutions.20.09.2.29435.exe’
[068C:1670][2020-10-19T12:53:24]i320: Registering bundle dependency provider: {a7730b77-426e-4533-a17d-4efa66abd5b4}, version: 20.9.2.29435
[068C:1670][2020-10-19T12:53:24]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{a7730b77-426e-4533-a17d-4efa66abd5b4}, resume: Active, restart initiated: No, disable resume: No
[068C:1354][2020-10-19T12:53:25]i305: Verified acquired payload: IIS_Manage at path: C:\ProgramData\Package Cache.unverified\IIS_Manage, moving to: C:\ProgramData\Package Cache\774F340B85465B4B476ABC35B50F8FDCC975C541\prepare.iis.bat.
[068C:1354][2020-10-19T12:53:27]i304: Verified existing payload: dotnet_hosting_3.1.7_win.exe at path: C:\ProgramData\Package Cache\A1835679F13E27EF274801A3CC370BA4625240B2\dotnet-hosting-3.1.7-win.exe.
[068C:1354][2020-10-19T12:53:37]i304: Verified existing payload: SurveySolutionsPackage at path: C:\ProgramData\Package Cache{488005ED-563A-4B18-AD1A-712CAA9B5B9B}v20.09.2.29435\SurveySolutions.msi.
[068C:1670][2020-10-19T12:53:37]i301: Applying execute package: IIS_Manage, action: Install, path: C:\ProgramData\Package Cache\774F340B85465B4B476ABC35B50F8FDCC975C541\prepare.iis.bat, arguments: ‘“C:\ProgramData\Package Cache\774F340B85465B4B476ABC35B50F8FDCC975C541\prepare.iis.bat”’
[068C:1670][2020-10-19T12:53:37]e000: Error 0x80070005: Failed to CreateProcess on path: C:\ProgramData\Package Cache\774F340B85465B4B476ABC35B50F8FDCC975C541\prepare.iis.bat
[068C:1670][2020-10-19T12:53:37]e000: Error 0x80070005: Failed to execute EXE package.
[099C:22D8][2020-10-19T12:53:37]e000: Error 0x80070005: Failed to configure per-machine EXE package.
[099C:22D8][2020-10-19T12:53:37]i319: Applied execute package: IIS_Manage, result: 0x80070005, restart: None
[099C:22D8][2020-10-19T12:53:37]e000: Error 0x80070005: Failed to execute EXE package.
[068C:1670][2020-10-19T12:53:37]i351: Removing cached package: IIS_Manage, from path: C:\ProgramData\Package Cache\774F340B85465B4B476ABC35B50F8FDCC975C541
[068C:1670][2020-10-19T12:53:37]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{a7730b77-426e-4533-a17d-4efa66abd5b4}, resume: None, restart: None, disable resume: No
[068C:1670][2020-10-19T12:53:37]i330: Removed bundle dependency provider: {a7730b77-426e-4533-a17d-4efa66abd5b4}
[068C:1670][2020-10-19T12:53:37]i352: Removing cached bundle: {a7730b77-426e-4533-a17d-4efa66abd5b4}, from path: C:\ProgramData\Package Cache{a7730b77-426e-4533-a17d-4efa66abd5b4}
[068C:1670][2020-10-19T12:53:37]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{a7730b77-426e-4533-a17d-4efa66abd5b4}, resume: None, restart initiated: No, disable resume: No
[099C:22D8][2020-10-19T12:53:37]i399: Apply complete, result: 0x80070005, restart: None, ba requested restart: No

Do you have an an antivirus or anti-malware software that runs on the server that could interfere installation process?

Could you also 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

Sorry for the delay, but it is now working. It was our Anti-Virus software blocking something the installer was trying to do. Thanks for your help!

1 Like