Re: [WiX-users] Running SQLScript element as System instead of logged in User

2011-03-26 Thread Rob Mensching
Neverheard of this sort of requirement. I believe you'll have to redefine the custom action yourself. Probably a good bit of work... but I've never tried. On Thu, Mar 24, 2011 at 10:52 PM, Syama Rajendraprasad < syama...@microsoft.com> wrote: > Hi > > The SQLScripts are run when executing Execute

Re: [WiX-users] Running SQLScript element as System instead of logged in User

2011-03-24 Thread Syama Rajendraprasad
Hi The SQLScripts are run when executing ExecuteSQLStrings Custom Action. I would like to know if there is any way of overriding this CustomAction to run as No Impersonate. Thanks Syama From: Syama Rajendraprasad Sent: Friday, March 25, 2011 10:33 AM To: wix-users@lists.sourceforge.net Cc: Mad

[WiX-users] Running SQLScript element as System instead of logged in User

2011-03-24 Thread Syama Rajendraprasad
Hi I am trying to run a SQLScript as part of my msi and I want it to run as SYSTEM and not the logged in User. When I install my msi, I see that the Script is run under the logged in user. How to force the script to be run under LocalSystem? Here is my code: