我使用以下XML来安装https://docs.microsoft.com/en-us/windows/client-management/mdm/enterprisedesktopappmanagement-csp
中提到的应用程序 <Exec>
<CmdID>6</CmdID>
<Item>
<Target>
<LocURI>./Device/Vendor/MSFT/EnterpriseDesktopAppManagement/MSI/%7B7D71CF20-A776-41C3-8707-BB1AE5F28A02%7D/DownloadInstall</LocURI>
</Target>
<Meta>
<Format xmlns="syncml:metinf">xml</Format>
<Type xmlns="syncml:metinf">text/plain</Type>
</Meta>
<Data>
<MsiInstallJob id="{9BD4F7CD-880A-40B5-B74C-1BEECB51E596}">
<Product Version="6.7.9">
<Download>
<ContentURLList>
<ContentURL>https://www.hass.de/files/nodes/story/45/npp.6.7.9.installer.msi</ContentURL>
</ContentURLList>
</Download>
<Enforcement>
<CommandLine>/quiet</CommandLine>
<TimeOut>5</TimeOut>
<RetryCount>3</RetryCount>
<RetryInterval>5</RetryInterval>
</Enforcement>
</Product>
</MsiInstallJob>
</Data>
</Item>
</Exec>
SyncML状态返回500状态
在数据标签内转义<,>,“之后,状态仍为500。
<Exec>
<CmdID>1</CmdID>
<Item>
<Target>
<LocURI>./User/Vendor/MSFT/EnterpriseDesktopAppManagement/MSI/%7B7D71CF20-A776-41C3-8707-BB1AE5F28A02%7D/DownloadInstall</LocURI>
</Target>
<Meta>
<Format xmlns="syncml:metinf">xml</Format>
<Type xmlns="syncml:metinf">text/plain</Type>
</Meta>
<Data><MsiInstallJob id="%7B9BD4F7CD-880A-40B5-B74C-1BEECB51E596%7D">
<Product Version="6.7.9">
<Download>
<ContentURLList>
<ContentURL>https://www.hass.de/files/nodes/story/45/npp.6.7.9.installer.msi
</ContentURL>
</ContentURLList>
</Download>
<Enforcement>
<CommandLine>/quiet</CommandLine>
<TimeOut>5</TimeOut>
<RetryCount>3</RetryCount>
<RetryInterval>5</RetryInterval>
</Enforcement>
</Product>
</MsiInstallJob>
</Data>
</Item>
我的问题是要使XML生效,需要对XML进行哪些修改?由于参数无效,事件查看器给出了错误的描述。