Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Aggregate Condition Types

There are several aggregate conditions, which logically combine or alter one ore more conditions:

Nesting Aggregate Conditions

For convenience, it is possible to define nested aggregate conditions.

Example:

Example of nested aggregate conditions
<conditions>
	<condition type="exists" id="Update">
        <file>${INSTALL_PATH}/some_path</file>
    </condition>
    <condition type="not" id="Install">
        <condition type="ref" refid="Update" />
    </condition>
    <condition type="and" id="linuxInstallOrUpdate">
      <condition type="ref" refid="izpack.linuxinstall" />
      <condition type="or" id="installOrUpdate">
        <condition type="ref" refid="Install" />
        <condition type="ref" refid="Update" />
      </condition>
    </condition>
</conditions>
  • No labels