...
The DynamicInstallerRequirementValidator is an implicit data validator for checking a set of conditions on each panel change.
| Code Block | ||||
|---|---|---|---|---|
| ||||
<dynamicinstallerrequirements>
<installerrequirement severity="error"
condition="this.condition.must.not.happen"
messageid="this.condition.must.not.happen.translation.id"/>
<installerrequirement severity="error"
condition="this.condition.may.happen"
messageid="this.condition.may.happen.translation.id"/>
...
</dynamicinstallerrequirements> |
If a condition applies, a messagebox is shown with the appropriate content from translation. Depending on the value of severity attribute the installation might be continued or is aborted:
- "error"
The messagebox is shown and the installation aborts. - "warning"
The messagebox is shown and the installation can continue after the OK button is pressed.
<installerrequirement> - Attributes
| Attribute | Description | Default | Required |
|---|---|---|---|
severity | The severity the validator should apply in case of the condition gets true. Possible values: "warning" | "error" | none | yes |
condition | A valid condition ID defined within the <conditions/> element. | none | yes |
messageid | A valid message ID from the appropriate translation file. If it can't be foundm the mentioned ID itself is displayed instead of the translated text. | none | yes |
It applies just in case there are defined Dynamic Installer Requirements on the top level of the installation specification. See the documentation there.