N1 Service Provisioning System 4.1 Reference Guide

The dependantCleanup Block Element

The <dependantCleanup> element is a child of the <uninstallSteps> element, and specifies a set of steps to be executed in order to remove components that currently depend on the calling component. It has no attributes, and may include any number of steps that are permitted within the scope of the containing uninstall block. When included, it causes the check for dependant components to be deferred until after the contents of the block have been executed. If there are still dependant components after the block has been executed, then the uninstall fails and the component remains installed. If there are no dependant components remaining, then the uninstall proceeds with the remaining steps.


Note –

If no <dependantCleanup> block is included in an uninstall block, then the block fails immediately if dependant components exist.


The <dependantCleanup> block is often used in conjunction with the <allDependants> targeter to bulk uninstall dependant components.