Did you call WcaGlobalInitialize() in your DllMain()?

/********************************************************************
 WcaGlobalInitialize() - initializes the Wca library, should be
                         called once per custom action Dll during
                         DllMain on DLL_PROCESS_ATTACH

********************************************************************/


On Wed, Jun 23, 2010 at 8:46 AM, Fangren <tim.kr...@shavlik.com> wrote:

>
> Hoping someone can shed some light on WcaInitialize.
>
> I have a WiX based installer that works on hundreds of different machines,
> but on a couple it appears that WcaInitialize is failing.  The log entry
> after WcaInitialize is not written to the logs even with verbose logging.
> What conditions can cause this call to fail?  I've been unable to dig up
> documentation on what this call does exactly or expected return values.
>
> Code example:
>
> HRESULT hr = ::WcaInitialize(install, "MyCA");
> if (FAILED(hr))
> {
>        return ERROR_INSTALL_FAILURE;
> }
>
> ::WcaLog(LOGMSG_STANDARD, "Working on MyCA");
>
> Thanks,
>
> Tim
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/What-can-cause-WcaInitialize-to-fail-tp5213865p5213865.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to