The change to the next panel during the installation can be controlled using validators.

This can be achieved by a nested definition in the panel definition in the installer descriptor:

<panels>
    ...
    <panel classname="TargetPanel">
      <validator classname="com.izforge.izpack.installer.validator.ConditionValidator"/>
    </panel>
    ...
</panels>

 Built-in validators or user-defined data validators can be used.

There can be any number of validators nested in a <panel> definition. All of the validators with a condition that evaluates to true, must validate successfully to allow a final success.

A <validator> tag takes the following attributes:

AttributeDescriptionValuesRequired
className

Fully qualified classname of an Validator implementation.

This can be a built-in validator or one from additional libraries in the <jar> tag.

Stringyes
conditionCondition for applying this validator. If this condition evaluates false, the according validator is ignoredStringno