About delivering multiple software resources and tasks
You can deliver multiple software resources and tasks with a single Managed Software Delivery policy. When Managed Software Delivery evaluates compliance for a group of software, only the software that is out of compliance is downloaded and installed. You can add any client tasks to the execution queue to perform custom operations before, during, or after the software remediation process. A client task is one that is defined in Notification Server and is intended to run on a client computer.
For example, you can create a single Managed Software Delivery policy that performs the following actions:
Run a task that uses a script to set a registry key on the managed computer.
Determine whether the software resource or its dependencies are already installed.
Install the software and any of its dependencies that are not already installed.
Run a task that performs a restart.
Install an additional software resource into a virtual layer because it is known to conflict with other software that might be on the managed computer.
Run every week to determine whether the registry key is still correct and the software is still installed.
Reset the registry key to the correct value if necessary.
Reinstall any software that the compliance check determines is broken or not present.
The default settings for Managed Software Delivery determine what happens if the policy fails. Initially, this setting is the same for each software resource and task that the policy contains. You can edit the policy to override this setting for each software resource and task. For example, if a critical execution in the sequence fails, you can abort the remaining items in the sequence. Conversely, if a less-critical execution fails, you might decide to run the subsequent tasks anyway.