Here is my experience:
It custom action is an Installer class, any exception unhandled will trigger
rollback. 
Define the try catch blocks and add a try catch block in the top level.  If
I think the exception is critical and rollback need to be triggered, then
throw the exception from the installer class. If I think the exception
doesn't matter and installation need to continue, just consume the exception
silently. Then rollback will not be triggered.

If custom action is an excecutable, any non zero reurn value will trigger
rollback.
Similarly, define the try catch blocks and return the appropiate value as
you need.

Best regards,

Jennifer Zhao

-- 
View this message in context: 
http://www.nabble.com/Trap-which-error-causes-rollback-within-CA-tp15150216p15178427.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to