[wix-users] CA not getting executed elevated even though added between InstallInitialize and InstallFinalize
rob at firegiant.com
Tue Nov 27 20:43:21 PST 2018
Not an answer but maybe an answer: why not use CloseApps instead?
Short replies here. Complete answers over there: http://www.firegiant.com/
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of manish duggal via wix-users
Sent: Tuesday, November 27, 2018 8:25 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: manish duggal <duggal_sunny at yahoo.com>
Subject: [wix-users] CA not getting executed elevated even though added between InstallInitialize and InstallFinalize
We have a CustomAction to invoke "TaskKill" and kill the relevant process. The CustomAction is listed as <Property Id='RestartProcess2' Value='TO_BE_OVERRIDDEN' /> <SetProperty Id='RestartProcess2' Value='"taskkill.exe" /F /IM <MyProcess>.exe' Before='RestartProcess' Sequence='execute' /> <CustomAction Id='RestartProcess2' BinaryKey='WixCA' DllEntry='CAQuietExec64' Execute='deferred' Return='ignore' Impersonate='no'/> And the CA is invoked in the WIX as <Custom Action='RestartProcess2' Before='StopServices'></Custom> We are generating the MSP with this change and installing over the product. However, I see "access denied" error for this action even though it is expected to run elevated. What could be the issue? Why it is not running elevated?
More information about the wix-users