Chained Package Behavior
A chained package can either be skipped or run as part of the main setup in the following modes:
- install
- uninstall
- maintenance
The chained package conditions are evaluated for install first, then for uninstall. Both conditions are evaluated in this order when the parent setup runs in install, uninstall and maintenance modes.
When these condition fields are left empty, then the chained package will run in the same mode as its parent setup.
A chained package's run mode depends on three factors:
- parent setup run mode
- install condition
- uninstall condition
The following tables combine these three factors to clarify how the CP (chained package) will behave:
To read the table start from the top left cell then choose a column and a row based on how the conditions you have set in the Chained Packages get resolved.
When the parent package is installed and | CP install condition resolves to TRUE | CP install condition resolves to FALSE | CP install condition field is EMPTY |
---|---|---|---|
CP uninstall condition resolves to TRUE | => CP will be installed | => CP will be uninstalled | => CP will be installed |
CP uninstall condition resolves to FALSE | => CP will be installed | => CP will be skipped | => CP will be installed |
CP uninstall condition field is EMPTY | => CP will be installed | => CP will be skipped | => CP will be installed |
When the parent package is uninstalled and | CP install condition resolves to TRUE | CP install condition resolves to FALSE | CP install condition field is EMPTY |
---|---|---|---|
CP uninstall condition resolves to TRUE | => CP will be installed | => CP will be uninstalled | => CP will be uninstalled |
CP uninstall condition resolves to FALSE | => CP will be installed | => CP will be skipped | => CP will be skipped |
CP uninstall condition field is EMPTY | => CP will be installed | => CP will be uninstalled | => CP will be uninstalled |
When the parent package runs in maintenance mode and | CP install condition resolves to TRUE | CP install condition resolves to FALSE | CP install condition field is EMPTY |
---|---|---|---|
CP uninstall condition resolves to TRUE | => CP will be installed | => CP will be uninstalled | => CP will be uninstalled |
CP uninstall condition resolves to FALSE | => CP will be installed | => CP will run in maintenance mode | => CP will run in maintenance mode |
CP uninstall condition field is EMPTY | => CP will be installed | => CP will run in maintenance mode | => CP will run in maintenance mode |