I was just thinking about this: What's the best practice for a custom action
that has a problem? 

 * Catch all exceptions and return ActionResult.Failure
 * Allow the exception to be thrown?

Maybe ActionResult.Failure should be used for non-exception failed states?
Such as the user entered something invalid into the UI? Although I guess you
could throw an exception there too...



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-Should-I-return-ActionResult-Failure-or-thrown-an-exception-tp7598405.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to