FwUpdate Configuration Service Provider Examples for OMA DM

Send Feedback

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.

Note   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.

        <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>

See Also

FwUpdate Configuration Service Provider

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.