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

Answered

Comments

1 comment

  • Avatar
    Jake

    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>
    

Please sign in to leave a comment.