I faced an identical situation.
New version application has a bootstrapper to upgrade to a higher DotNet
version. Older app crashed as it could not handle the upgrade of dotnet.
I wrote an unmanaged program which stopped older application process and
then launched the installer (with its boot
ng.com]
> Sent: Tuesday, February 22, 2011 7:54 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Running a custom action with elevated privileges
>
> IIRC, Windows Installer purposefully removes the Debug privilege from its
> custom action
?
Phil Wilson
-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: Tuesday, February 22, 2011 7:54 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Running a custom action with elevated privileges
IIRC, Windows Installer
e the one
> required
> > to terminate processes.
> >
> > Phil Wilson
> >
> > -Original Message-
> > From: Jeff Wisgo [mailto:locksl...@gmail.com]
> > Sent: Sunday, February 20, 2011 3:32 PM
> > To: General discussion for Windows Installer XML tools
-
> From: Jeff Wisgo [mailto:locksl...@gmail.com]
> Sent: Sunday, February 20, 2011 3:32 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Running a custom action with elevated privileges
>
> Umesh,
>
> Thanks for responding to my q
, February 20, 2011 3:32 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Running a custom action with elevated privileges
Umesh,
Thanks for responding to my question.
I am using OpenProcess(PROCESS_TERMINATE, ...). When I execute the same
exact code from a syst
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
What access level are you using for OpenProcess() ?
A simple PROCESS_TERMINATE is sufficient. If you are using
PROCESS_ALL_ACCESS it will fail.
I had experienced the same problems and after changing the dwDesiredAccess
param it worked well.
Umesh
--
View this message in context:
http://window
8 matches
Mail list logo