Can I customize the error message shown when showMessageOnError is enabled?

asked 13 Sep '11, 07:11

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%


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>
link

answered 13 Sep '11, 07:12

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×44
×2

Asked: 13 Sep '11, 07:11

Seen: 1,120 times

Last updated: 13 Sep '11, 07:12