[wix-users] Access Denied when invoking a custom action

Steven Ogilvie stogilvie at genetec.com
Fri Apr 1 08:12:25 PDT 2022


You should show the custom action from your .wxs file and perhaps the custom action in the .cs file?

> -----Original Message-----
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of
> Coryat, Jim via wix-users
> Sent: April 1, 2022 11:03 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: Coryat, Jim <Jim.Coryat at softprocorp.com>
> Subject: [wix-users] Access Denied when invoking a custom action
> 
> Hi group,
> 
> Running into an issue and don't understand why.  I created a standard msi
> installer that installs support files and a Visual Studio extension. It uses one
> C# custom action to identify the installed instances of Visual Studio.  Really
> nothing special about the custom action and the code is open source. I
> borrowed the class code from the IsWix installer project.  For the person
> installing, the first time they run it, the installer will complete normally.
> Running it multiple times will cause a dialog to display when the RunDll is
> invoked for the custom action:
> 
> "There was a problem starting <path to dll>"
> Access is denied.
> 
> Walking through the logs shows the custom action being invoked as the
> precursor to the dialog and subsequent failure.
> 
> Has anyone seen this before and what did you do to resolve it?
> 
> Jim Coryat
> ________________________________
> NOTICE: The information contained in this message is proprietary and/or
> confidential and may be privileged. If you are not the intended recipient of
> this communication, you are hereby notified to: (i) delete the message and
> all copies; (ii) do not disclose, distribute or use the message in any manner;
> and (iii) notify the sender immediately.
> 
> 
> 
> __________________________________________________________
> __________
> WiX Toolset Users Mailing List provided by FireGiant
> https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
> firegiant.com%2F&data=04%7C01%7Cstogilvie%40genetec.com%7C7d4
> c19f606ef41dbacca08da13f0c052%7C7ba8d2fb46604a19802e4d015a17e167%7
> C0%7C0%7C637844221986376263%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi
> MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C300
> 0&sdata=UbFZPm4XHLIFvWJb4HtaUI7I9YWhPMSPH4Uh%2FxlB%2F2Q%
> 3D&reserved=0



More information about the wix-users mailing list