Hi Users,

I am running into a bit of an issue while attempting to hook a C++ dll
custom action into my installer. From all my research and debugging it
appears that I have things setup properly. I have some tracing (message
boxes) to indicate when DLLMain is entered/exited as well as my CA function.
The dll is being loaded as can be seen by my tracing, but my CA function is
not being called. Verbose logging is not telling me much, other than a 1603,
and the typical "Return value 3" error.

I followed the tutorial here:
http://www.wixwiki.com/index.php?title=Simple_Custom_Action_Dll

Depends shows that the function is being exported properly as I see the
exported function/ordinal.

Some other things to mention:

- I am using the __stdcall convention
- To be safe, the dll is statically linked to the runtime (even though the
runtime is installed on the target)
- The CA dll is being create via VS 2008 and the WiX version is 3.0.5419.
- CustomAction element is setting the Id, BinaryKey, and
DllEntry=MyCAFunction
- Custom element is being sequenced: Before=InstallFinalize
- Viewing the MSI via Orca, everything seems to be in order
- Same issue on 32 and 64 bit versions of Windows 7

Thanks!
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to