You can check for presence of CustomActionData property.  It will be set if
custom action is deferred.

Alex


-----Original Message-----
From: Dov Kleinman [mailto:d...@microsoft.com] 
Sent: Thursday, May 21, 2009 12:55 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to identify the custom action type in run time.

I'd like to write a generic custom action which can be run either immediate
or deferred.  In order to pass arguments to this custom action I need to use
two different approaches since it is a given fact of Windows Installer
behavior. On the caller side (Wix) it is quite clear. I have a problem with
how to identify the mode the CA is currently running. Anybody has an idea?

Thanks,
Dov


----------------------------------------------------------------------------
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals.
Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to