That log entry simply says that the custom action ran and returned a status
of success.

The fact that the custom action is in a merge module shouldn't affect its
operation unless it is either reading or writing database tables from the
merge module, in which case it should have been written to know how to query
those (since most objects in merge modules get the merge module's guid
appended to their identifiers).

If you didn't write the merge module, you will need to get support from
whomever it was that did write it. If you did, you should consider
reimplementing it in WiX using DTF (since you mention it being managed
code). You can search these archives for some of the limitations and
problems associated with merge modules.

If you wrote the merge module and it must remain a merge module, several of
us could possibly help if you could provide more details as to what that
custom action is attempting to do.

-----Original Message-----
From: Adrian Faciu [mailto:adrian.fa...@iqstorm.com] 
Sent: Monday, November 23, 2009 4:46 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom Action from Merge Module

Hi and thanks for reading this,
 
I have a Merge Module, developed with InstallShiled, which i include in
my WIX project. The merge module has a custom action that calls a
function from a certain C# library, included in the merge module, to add
some entries to the registry. The problem is that in the log i can see
the custom action being executed but i'm pretty sure that the function
is not called since nothing happens.
 
The log sais just that: 
    Action ended 18:02:11:
Run_CustomAction.DDD8E6B5_8ADA_481F_B19D_55E2FFFAE621. Return value 1.
and no other adition info.
 
I found no official info about how to use custom actions from within
merge module.
 
Here's a piece from my code:
<CustomAction Id="Run_CustomAction.DDD8E6B5_8ADA_481F_B19D_55E2FFFAE621"
Property="CustomAction.DDD8E6B5_8ADA_481F_B19D_55E2FFFAE621"
Error="Merge Module Custom Action Failed" Return="check"/>

<InstallExecuteSequence>

    <Custom
Action="Run_CustomAction.DDD8E6B5_8ADA_481F_B19D_55E2FFFAE621"
After="RegisterProduct" Overridable="no"/>

</InstallExecuteSequence>

Where CustomAction is the name of the custom action and
DDD8E6B5_8ADA_481F_B19D_55E2FFFAE621 is the GUID of the merge module
that i'm using.
I really hope that someone could help me since i'm just beginning to
work with WIX.
 
Thanks,
 
Adrian Faciu
<http://www.iqstorm.com/> 
----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to