About Software Updates Deployments
Software updates are delivered to client computers in Configuration Manager by creating software update deployments. It is a multistep process to create software update deployments by using the Configuration Manager SDK interfaces. A basic approach to deploying software updates, by using the Configuration Manager SDK interfaces, is outlined below.
For more information about software updates, see Deploy and manage software updates.
Note
Deleting updates or update bundles is not supported by the Configuration Manager SDK.
Select which software updates to install.
This can be something such as running a query to identify which updates should be installed.
For information about queries that use criteria, such as selecting software updates for a specific knowledge base article, or selecting software updates that are a specific severity level, see How to Enumerate Updates Matching a Specific Criteria.
Obtain the configuration item identification (CI_ID) values.
The CI_ID value identifies the software updates information across several classes. For the purposes of using the Configuration Manager SDK interfaces, the CI_ID value is vital.
The CI_ID value is a property of several classes and can be readily identified by using the SMS_SoftwareUpdate class.
For more information about a number of queries that include the CI_ID, see How to Enumerate Updates Matching a Specific Criteria.
Download the software update content.
Software update content must be downloaded manually. To identify which contents must be downloaded, query the SMS_CIToContent class and obtain the list of ContentID
properties that match the specific language criteria. After you have the list of ContentID
properties, you can obtain the associated download URL and the related properties for the content files from the SMS_CIContentFiles class by using the ContentID
properties you obtained earlier.
Create a software updates deployment package.
The software updates deployment package holds the software updates content. For information about creating a deployment package, see How to Create a Deployment Package.
Add update content to the software updates package.
After a software updates deployment package has been created, software updates contents can be added to the package by using the AddUpdateContent method in the SMS_SoftwareUpdatesPackage class. For information about adding software updates content to a deployment package, see How to Add Updates to a Deployment Package.
Create a software updates deployment to distribute the software updates.
Distribute software updates by creating a software updates deployment. For information about the process for creating a software updates deployment, see How to Configure and Deploy Updates.
See Also
How to Enumerate Updates Matching a Specific Criteria
How to Create an Update List
How to Create a Deployment Package
How to Add Updates to a Deployment Package
How to Delete Updates from a Deployment Package
How to Configure and Deploy Updates