Re: [WiX-users] Running a custom action with elevated privileges

2011-02-22 Thread Jeff Wisgo
servers (which are what call you).I think the MSI SDK lists > the priveleges removed somewhere... > > On Tue, Feb 22, 2011 at 6:13 AM, Jeff Wisgo wrote: > > > Phil, > > > > I checked and you are correct, the msiexec.exe that is the parent process > > is > &g

Re: [WiX-users] Running a custom action with elevated privileges

2011-02-22 Thread Jeff Wisgo
se. I forget where this is documented, but that code > (and therefore your custom action) is running with a limited list of rights > (something that started on MSI 4.0) that does not include the one required > to terminate processes. > > Phil Wilson > > -Original Message

Re: [WiX-users] Running a custom action with elevated privileges

2011-02-20 Thread Jeff Wisgo
Umesh, Thanks for responding to my question. I am using OpenProcess(PROCESS_TERMINATE, ...). When I execute the same exact code from a system account with elevated privileges using PSEXEC, it works, so I know there is something wrong with the privileges when my code runs as a Custom Action. I als

[WiX-users] Running a custom action with elevated privileges

2011-02-18 Thread Jeff Wisgo
Hello wix users, I am new to the list and have a question to ask for the experts out there. I tried this on a few forums but haven't been making much progress. --- In my custom action I am trying to kill a process, but OpenProcess(PROCESS_TERMINATE,...) always fails with ERROR_ACCESS_DENIED. I u