[wix-users] Can two CA's be run at the same time?
henderso at opentext.com
Fri Aug 28 07:40:26 PDT 2015
Thanks for the reply Kashif, but I think you missed the intent of my question.
I realize that there's a Return="async*" to force asynchronous execution, but I was thinking more of the actions marked Execute="firstSequence" or Execute="deferred". Since they may be "scheduled" in the InstallUISequence and/or InstallExecuteSequence at the same point, are these ever run asynchronously? (I felt that the Execute="immediate" actions are safely synchronous.)
The point is: unless I specifically use the Return="async*", can I be assured that no more than one of my CA entries is running at any given time?
Thanks again for the help.
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Kashif Md.
Sent: Friday, August 28, 2015 10:23 AM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Can two CA's be run at the same time?
Yes, try asynchronous CA
On Aug 28, 2015 7:37 PM, "Lewis Henderson" <henderso at opentext.com> wrote:
> Hi Everyone,
> I have a implementation question for you. Can two (or more) Custom
> Actions be running at the same time? Are they ever dispatched in a
> multi-threaded fashion? There's a reason for this question. I have a
> CA written that uses some global storage, and if more than one of its
> CA entries are run at the same time, that global usage may collide.
> So, I am considering expanding this global use. Is that OK, or should
> I eliminate it entirely?
> Thanks for the help.
> OpenText, Inc.
> WiX Toolset Users Mailing List provided by FireGiant
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users