[wix-users] Get invoker (sender) inside Custom Action

Reuss, Matthias matthias.mr.reuss at sivantos.com
Thu May 17 04:54:38 PDT 2018

Hi Ven,

Make the button clicks set  a property before invoking your CA, then the CA can query this property's value.

Alternative: Use 2 CAs.

-----Ursprüngliche Nachricht-----
Von: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] Im Auftrag von Ven H via wix-users
Gesendet: Donnerstag, 17. Mai 2018 08:50
An: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Ven H <venh.123 at gmail.com>
Betreff: [wix-users] Get invoker (sender) inside Custom Action

I have a custom action, which is being called on 2 different button clicks.
Within the custom action, I would like to find out which button's click event triggered that custom action, similar to the event handlers in .Net where the sender argument will tell us which button was clicked. Is it possible? Please advise.

WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list