[WiX-users] Set error code from Custom Action

2010-10-04 Thread Adriana Cass
Hi, I have a custom action created in C#. How can i return my specific error code back to installer when my custom action fails? [CustomAction] public static ActionResult MyCA(Session session) { try { //code } catch(Ex

[WiX-users] Set error code from Custom Action

2010-10-04 Thread Adriana Cass
Hi, I have a custom action created in C#. How can i return my specific error code back to installer when my custom action fails? [CustomAction] public static ActionResult MyCA(Session session) { try { //code }