Hi,

 

I am running a CAQuietExec deferred task as shown below. 

When executed , my command fails with Access Denied error. I can see that
the user executing my command is SYSTEM. 

I need to execute my command under user credentials. Changing Impersonate to
yes doesn't help as the task is no longer elevated.

 

How can I execute deferred task with elevated privileges under user's
running the installer credentials?

 

  <CustomAction Id="CA_Config"

                Execute="deferred"

                Impersonate="no"

                BinaryKey="WixCA"

                DllEntry="CAQuietExec"

                Return='ignore' />

 

 

Thank you, 

 

Martin Kulov

 

Microsoft Regional Director

VS ALM MVP, MCT, INETA Speaker

 

http://www.kulov.net

Phone: (+359) 88 821 3255

 

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to