Tuesday, February 27, 2018

Automatic Uninstall of Packages


A common method of application deployment is to configure a collection to query an AD group and treat the members as members of the collection.

Logically if a resource is no longer in a group then the software should be removed.  This allows the AD group to be an accurate indicator of the number of installations.

In SCCM, installation deployments override uninstall deployments.  This fact can be used to easily make an uninstall configuration arrangement which can be incorporated into the standard for the setup of the original deployment configuration.  Of course, it can also be be applied retrospectively if necessary.

The install deployment is deployed to the install collection.  Any collection membership method can be used.  The uninstall deployment is deployed to the uninstall collection.  The uninstall collection members is set to a very wide collection such as All Workstations but it also includes an exclude of the install collection.