Re: [WiX-users] Custom Action ALWAYS with admin rights

2013-06-25 Thread Blair Murri
google/bing it) instead. Blair > Date: Tue, 25 Jun 2013 09:25:29 +0200 > From: lukasha...@gmx.at > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Custom Action ALWAYS with admin rights > > On 2013-06-25 5:23, Bob Arnson wrote: > > On 24-Jun-13 14:17, Lukas

Re: [WiX-users] Custom Action ALWAYS with admin rights

2013-06-25 Thread Lukas Haase
On 2013-06-25 5:23, Bob Arnson wrote: > On 24-Jun-13 14:17, Lukas Haase wrote: >> > Custom actions after InstallFinalize cannot run elevated. Thank you. What would be the best place to include this CA and ensure that it runs elevated? Luke ---

Re: [WiX-users] Custom Action ALWAYS with admin rights

2013-06-24 Thread Bob Arnson
On 24-Jun-13 14:17, Lukas Haase wrote: > Custom actions after InstallFinalize cannot run elevated. -- sig://boB http://joyofsetup.com/ -- This SF.net email is sponsored by Windows: Build for Windows Store. http://

Re: [WiX-users] Custom Action ALWAYS with admin rights

2013-06-24 Thread David Connet
Is the CA immediate or deferred? A quick test (printf("%d\n", IsUserAnAdmin());) on my Win7 system shows IsUserAnAdmin (I am) returns false in a normal cmd shell. But if I elevate, then it's true. (This implies your CA is immediate). Dave From: Lukas Haase