4.1 Adding a New Update Service

This adding a new update service example shows a sequence of messages used to register a new update service with the update agent.

The client calls the IUpdateServiceManager2::AddService2 (opnum 18) (section 3.44.5.4) method on the server, passing in a string that uniquely identifies the update service to be added, as well as a location of the authorization cabinet file for the update service. The server responds with an IUpdateService instance representing the added service.

Message sequence diagram for adding an update service

Figure 3: Message sequence diagram for adding an update service