I either table drive the custom action (usually) or if that doesn't really make sense, I reference the properties in the custom action indirectly (using properties set to properties).
-- John Merryweather Cooper Senior Software Engineer | Integration Development Group | Enterprise Notification Service Jack Henry & Associates, Inc.® | Lenexa, KS 66214 | Ext: 431050 |jocoo...@jackhenry.com -----Original Message----- From: Griesshammer, Christoph (GE Healthcare) [mailto:christoph.griessham...@ge.com] Sent: Tuesday, June 9, 2015 9:40 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Action Reuse The e-mail below is from an external source. Please do not open attachments or click links from an unknown or suspicious origin. This is probably more of a coding-style question, but what's the best approach to reusing C# (or other) custom actions that use properties? Is it better to have a separate method for each declaration of the custom action that access properties specific to that declaration and use a common method to do the actual work, or is it better to use the same custom action declaration, and use WiX scheduling to set the properties then run the custom action, then set the properties again, and run the custom action again, etc? Or is there something else? Christoph Griesshammer GE Healthcare IT Software Engineer E: christoph.griessham...@ge.com<mailto:christoph.griessham...@ge.com> http://www.gehealthcare.com<http://www.gehealthcare.com/> 116 Huntington Ave Boston, MA, USA 02116-5744 GE Imagination at Work ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users