[WiX-users] Installing a binary in context of current logged in user

2006-07-21 Thread Bahar Shah
Hi,I need information on how do we install and run any binary in the context of the currenlty logged in user.My problem is since msiexec runs as LocalSystem all my binaries are installed with LocalSystem privieedges. I need to tweak few binaries to run as currently logged in user context.

Re: [WiX-users] Installing a binary in context of current logged in user

2006-07-21 Thread Derek Cicerone
Set the Impersonate attribute to yes for that CustomAction element but then the CA doesnt run as LocalSystem so it doesnt have elevated privileges. Derek From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bahar Shah Sent: Thursday, July 20, 2006 11:56 PM To:

Re: [WiX-users] Installing a binary in context of current logged in user

2006-07-21 Thread Bahar Shah
Thanks.Could you ellaborate a bit more.Do you mean to say that just setting a impersonate attribute to 'yes' the installer would know who the current logged user is and install under that priveldge ?Regards BaharOn 7/21/06, Derek Cicerone [EMAIL PROTECTED] wrote: Set the Impersonate

Re: [WiX-users] Installing a binary in context of current logged in user

2006-07-21 Thread Derek Cicerone
The installer will run that particular custom action as the user, yes. Im afraid to ask, but what action will you be performing as the user? (Im afraid of the answer because doing anything per-user during setup is very dubious since it would likely only work for the user performing the