Can I customize the error message shown when <showErrorMessage> is enabled?
| Author: BitRock Support Date: February 12, 2008 08:09 Tags: |
Actions
Customization Error Handling |
Yes, you can add the <customErrorMessage> tag inside the action to customize the error message. Please see the example below.
<runProgram>
<program>${installdir}/run/excutable</program>
<progressText>Text to be shown in the progress bar</progressText>
<programArguments>arg1 arg2</programArguments>
<abortOnError>0</abortOnError>
<showMessageOnError>1</showMessageOnError>
<customErrorMessage>Message that will susbtitute the system error message</customErrorMessage>
</runProgram>
|