I suspect that some combination of security, control, and/or infrastructure 
issues precluded them from leaving one of their sandbox processes remaining 
after their service is shut down.


-------- Original Message --------
Subject: RE: [WiX-users] How to quietly execute CA with admin privileges 
asyncronously?
From: Alain Forget <afor...@cmu.edu>
To: 'Blair Murri' <os...@live.com>
CC:

Hm, quite right. I wonder why they needed that limitation. Oh well, hopefully 
it won't be difficult to wrapping my code into an exe. Thanks, Blair!

Alain

-----Original Message-----
From: Blair Murri [mailto:os...@live.com]
Sent: July 3, 2013 05:08
To: afor...@cmu.edu
Subject: RE: [WiX-users] How to quietly execute CA with admin privileges 
asyncronously?

According to http://msdn.microsoft.com/library/windows/desktop/aa368071.aspx 
only EXE custom actions can be asynchronous/nowait.


> From: afor...@cmu.edu
> To: wix-users@lists.sourceforge.net
> Date: Tue, 2 Jul 2013 18:24:23 -0400
> Subject: [WiX-users] How to quietly execute CA with admin privileges 
> asyncronously?
>
> The only way I have found thus far to quietly run a CustomAction with admin 
> privileges given to the installer is using this (taken from 
> http://wix.sourceforge.net/manual-wix3/qtexec.htm):
>
> <CustomAction Id="QtExecDeferredExampleWithProperty_Cmd" 
> Property="QtExecDeferredExampleWithProperty"
> Value="&quot;[#MyExecutable.exe]&quot;" Execute="immediate"/>
> <CustomAction Id="QtExecDeferredExampleWithProperty" BinaryKey="WixCA" 
> DllEntry="CAQuietExec"
> Execute="deferred" Return="check" Impersonate="no"/> .
> .
> .
> <InstallExecuteSequence>
> <Custom Action="QtExecDeferredExampleWithProperty_Cmd"
> After="CostFinalize"/> <Custom
> Action="QtExecDeferredExampleWithProperty"
> After="TheActionYouWantItAfter"/> </InstallExecuteSequence>
>
> However, I want to run such a CA asynchronously, but setting 
> Return="asyncNoWait" returns a candle/light error requiring the ExeCommand 
> argument be set, and if I do that, then it complains further:
>
> C:\MyClientPackage_v1.0.0.wxs(553) : error CNDL0023 : The 
> CustomAction/@DllEntry attribute cannot coexist with a previously specified 
> attribute on this element. The CustomAction element may only have one of the 
> following target attributes specified at a time: DllEntry, Error, ExeCommand, 
> JScriptCall, Script, Value, or VBScriptCall.
>
> So this doesn't seem to be able to work. Any ideas how else we can quietly 
> execute CA with admin privileges asynchronously?
>
> Alain
>
>
> ----------------------------------------------------------------------
> -------- This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to