Partager via


Update Package Information Example

4/8/2010

The XML code in the following example is processed by the FwUpdate Configuration Service Provider which will update information about a package. It Creates a subtree for the package information under the FwUpdate node. It inserts information into the PkgURL and PkgName nodes of the subtree. It then downloads the package and updates it with the specified information.

Code Example

<Add>
    <CmdID>7002</CmdID>
    <Item>
        <Target>
            <LocURI>./FwUpdate/{Pkg}/DownloadAndUpdate/PkgURL</LocURI>
        </Target>
        <Data>https://mytest/testabc.cab</Data>
    </Item>
</Add>
 
<Add>
    <CmdID>7003</CmdID>
    <Item>
        <Target>
            <LocURI>./FwUpdate/{Pkg}/PkgName</LocURI>
        </Target>
        <Data>My Package Test Update</Data>
    </Item>
</Add>
 
<Exec>
    <CmdID>7004</CmdID>
    <Item>
        <Target>
            <LocURI>./FwUpdate/{Pkg}/DownloadAndUpdate</LocURI>
        </Target>
    </Item>
</Exec>

Remarks

One provisioning XML file typically contains configuration information for multiple Configuration Service Providers. To use this example, you must replace the values as appropriate, and add the node as a child of the SyncBody node in an OMA DM provisioning file. For more information about the syntax of the provisioning file, see OMA DM Provisioning Files.

See Also

Reference

FwUpdate Configuration Service Provider

Other Resources

FwUpdate Configuration Service Provider Examples for OMA DM