Add a condition of '1' to each Publish directive, and see if that helps. The
WiX help links to the MSDN pages for Windows Installer for a reason. From
the ControlEvent Table you will find the following statement:

Condition
A conditional statement that determines whether the installer activates the
event in the Event column. The installer triggers the event if the
conditional statement in the Condition field evaluates to True. Therefore
put a 1 in this column to ensure that the installer triggers the event. The
installer does not trigger the event if the Condition field contains a
statement that evaluates to False. The installer does not trigger an event
with a blank in the Condition field unless no other events of the control
evaluate to True. If none of the Condition fields for the control named in
the Control_ field evaluate to True, the installer triggers the one event
having a blank Condition field, and if more than one Condition field is
blank it triggers the one event of these with the largest value in the
Ordering field. See Conditional Statement Syntax.

Which should explain the behavior and the solution. 

hope this helps,
bill



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Problems-executing-two-custom-actions-with-same-button-click-tp7580803p7580857.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to