I have multiple .CA.DLL files in my installer so I'm not sure what that problem 
is.  As for the 16 entry points per DLL, I think I recall someone writing that 
they were able to alter the source to SfxCA ( EntryPoints.def and EntryPoints.h 
) to get around that limitation.  
 
Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me



----- Original Message ----
From: "Wang, Miaohsi" <miaohsi.w...@invensys.com>
To: "wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net>
Sent: Wed, November 3, 2010 2:56:39 PM
Subject: [WiX-users] Custom action entrypoints

Hello,

I created a second custom action dll because of the max 16 entrypoint limit. I 
included the two CA dll's in my WiX install project as shown below:

    <Binary Id="CustomActions1.dll" 
SourceFile=".\CustomActions\CustomActions1\bin\Release\CustomActions1.CA.dll" />
    <Binary Id="CustomActions2.dll" 
SourceFile=".\CustomActions\CustomActions2\bin\Release\CustomActions2.CA.dll" />

My problem is that it seems that the CA's in the second dll do not get 
recognized by MSI. For instance, CA "RestoreINSTALLDIR" below gets executed 
while CA "Create_imr14cmd" does not, and the install rolls back.

    <CustomAction Id="RestoreINSTALLDIR" BinaryKey="CustomActions1.dll" 
DllEntry="RestoreINSTALLDIR" Execute="immediate" Return="check" />
    <CustomAction Id="Create_imr14cmd" BinaryKey="CustomActions2.dll" 
DllEntry="Create_imr14cmd" Execute="deferred" Return="check" />

When the second CA (Create_imr14cmd) is included in the CustomActions1.dll, it 
works fine. Once it is moved to the second dll, it does not get executed 
anymore 
and the install fails.

Please let me know if you know how to lift the max 16 limit or if you know how 
to get the CA's in the second dll executed. Thank you so much for your help.

Regards,
Miaohsi


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. 
This e-mail is confidential and may well also be legally privileged. If you 
have 
received it in error, you are on notice of its status. Please notify the sender 
immediately by reply e-mail and then delete this message from your system. 
Please do not copy it or use it for any purposes, or disclose its contents to 
any other person. This email comes from a division of the Invensys Group, owned 
by Invensys plc, which is a company registered in England and Wales with its 
registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW 
(Registered 
number 166023). For a list of European legal entities within the Invensys 
Group, 
please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).

------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.  Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



      

------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to