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 ♦♦
accept rate: 98%

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


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.


answered 06 Sep '11, 05:53

Jake's gravatar image

Jake ♦♦
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



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



Asked: 06 Sep '11, 05:52

Seen: 1,796 times

Last updated: 06 Sep '11, 05:55