...
The DynamicInstallerRequirementValidator is an implicit data validator for checking a set of conditions on each panel change (forward only, not backward).
Note |
---|
Therefore it is not required to add a |
This validator applies just in case there are defined Dynamic Installer Requirements on the top level of the installation specification.
Code Block | ||||
---|---|---|---|---|
| ||||
<dynamicinstallerrequirements> <installerrequirement severity="errorERROR" condition="this.condition.must.notbe.happenvalid" messageid="this.condition.must.notbe.happenvalid.translation.id"/> <installerrequirement severity="errorWARNING" condition="this.condition.should.maybe.happenvalid" messageid="this.condition.should.maybe.happenvalid.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:
...
one of the conditions is false, this is counted as an error or warning respectively.
<installerrequirement> - Attributes
Attribute | Description | Default | Required |
---|---|---|---|
severity | The severity the validator should apply in case of the condition gets |
false. 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 |
found the mentioned ID itself is displayed instead of the translated text. | none | yes |