[wix-users] How to troubleshoot AccessDenied outcome of a CustomAction

Hoover, Jacob Jacob.Hoover at greenheck.com
Tue Jan 2 11:35:58 PST 2018

winerror.h -2147287035
Access Denied.

I would use procmon and look for what is failing with access is denied. Better yet, I would avoid scripted CA's as they are fragile as compared to a native CA.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of manish duggal via wix-users
Sent: Tuesday, January 2, 2018 1:05 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: manish duggal <duggal_sunny at yahoo.com>
Subject: [wix-users] How to troubleshoot AccessDenied outcome of a CustomAction

We are having a CA with Return=Check and Impersonate=No properties. The CA actually invokes a PowerShell script to check installation status and install certain Windows Features. We are encountering failures in few runs with CustomAction outcome as -2147287035. We have tried looking in PowerShell and looks like script action were completed. Still, CustomAction outcome was failure with mentioned error code.
Is there a way to diagnose/troubleshoot as why CustomAction output is throwing failure? Please let me know if any more details needed on this scenario. ThxManish

WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list