I would like that the installer would just warn the user instead aborting the installation.

asked 06 Sep '11, 05:52

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%


If you do not want the autodetection action to exit after throwing an error, you can just add:

<abortOnError>0</abortOnError>

inside the <autodetectJava> action tag. If you want to throw your own custom message, you can also add a <customErrorMessage> tag. Alternatively, you can add a <showMessageOnError>0</showMessageOnError> so it will fail silently and then, later in the installer you can show a specific installation page or issue a custom <showWarning> action based on the presence of the environment java_version.

link

answered 06 Sep '11, 05:53

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:

×41
×40
×13
×2
×1

Asked: 06 Sep '11, 05:52

Seen: 1,796 times

Last updated: 06 Sep '11, 05:55