title: Wix: How to get the return status of a custom action and use it as a condition to run certain event/show dialog
body: <p>May i know how to get the return status of a custom action (that is running a command line) and use it as a condition to run certain event/show dialog? For example, in a dialog, when i click on the next button, it runs a custom action. Then, if the custom action run suceessfully, go to the next dialog. Otherwise, show the dialog with error message. Does anyone have any idea or example codes that i can refer to?</p>
  
  <p>Thanks a lot.</p>