I verified that WcaInitialize() is called. This is immediate CA that is the 
target of a control event :

      <Publish Dialog="InstallDirDialog" Control="Next" Event="DoAction" 
Value="CAValidateFolder" Order="2">1</Publish>

Is logging available to such custom actions?
Thanks!

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Tuesday, December 08, 2009 12:05 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Two Custom Action entry points in one C++ Dll and 
WcaLog failure

The WiX toolset has plenty of custom actions that are combined in the same
DLL. Something else is wrong. Did you call WcaIitialize() at the beginning
of each custom action? Is this custom action the target of a control event?

On Mon, Dec 7, 2009 at 3:44 PM, Tony Juricic <tjuri...@tradestation.com>wrote:

> At one point I was thinking that I have too many C++ Custom Action Dlls and
> started using existing Dlls. That is, I added a new entry point for a new CA
> in a Dll that already hosted code for existing CA. That appears to work just
> fine except for one issue: WcaLog() doesn't work - nothing gets output in a
> log!
> I don't know if the fact that I have 2 CA and 2 entry points in this DLL is
> relevant, but this is the only case where WcaLog doesn't work. I am using
> calls like:
>        ::WcaLog(LOGMSG_STANDARD, "Install folder %S created.", Path);
> so there is hardly anything mysterious here that can fail when many similar
> calls in many other CA Dlls  work.
>
>
> TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS:
> TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member
> NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading
> software and subscription company, and TradeStation Europe Limited, a United
> Kingdom, FSA-authorized introducing brokerage firm. None of these companies
> provides trading or investment advice, recommendations or endorsements of
> any kind. The information transmitted is intended only for the person or
> entity to which it is addressed and may contain confidential and/or
> privileged material. Any review, retransmission, dissemination or other use
> of, or taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited. If you received
> this in error, please contact the sender and delete the material from any
> computer.
>
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC


TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) 
of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, 
FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and 
subscription company, and TradeStation Europe Limited, a United Kingdom, 
FSA-authorized introducing brokerage firm. None of these companies provides 
trading or investment advice, recommendations or endorsements of any kind. The 
information transmitted is intended only for the person or entity to which it 
is addressed and may contain confidential and/or privileged material. Any 
review, retransmission, dissemination or other use of, or taking of any action 
in reliance upon, this information by persons or entities other than the 
intended recipient is prohibited. If you received this in error, please contact 
the sender and delete the material from any computer.
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to