none
[Windows 10 Pro - final] Unable to Install application using EnterpriseDesktopAppManagement CSP RRS feed

  • Question

  • Here is the partial Syncml I am sending to device to install msi application.

    <Add>
    			<CmdID>1</CmdID>
    			<Item>
    				<Target>
    					<LocURI>./Device/Vendor/MSFT/EnterpriseDesktopAppManagement/MSI/%7B7D71CF20-A776-41C3-8707-BB1AE5F28A02%7D/DownloadInstall</LocURI>
    				</Target>
    			</Item>
    		</Add>
    		<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>

    I am getting 500 as a result of Exec command and application is not installed on machine.

    <Status>
    			<CmdID>2</CmdID>
    			<MsgRef>1</MsgRef>
    			<CmdRef>1</CmdRef>
    			<Cmd>Add</Cmd>
    			<Data>200</Data>
    		</Status>
    		<Status>
    			<CmdID>3</CmdID>
    			<MsgRef>1</MsgRef>
    			<CmdRef>6</CmdRef>
    			<Cmd>Exec</Cmd>
    			<Data>500</Data>
    		</Status>

    please, help me out in this issue.

    Wednesday, August 5, 2015 8:51 AM

Answers

  • Hi,

    curly braces on Id (MsiInstallJob) has to be scaped (i.e. %7B for { and %7D for } ) and  also the XML inside tag <Data> has to be XML scaped.

    I hope it workks

    • Marked as answer by Biz_M Monday, December 4, 2017 2:56 AM
    Monday, November 20, 2017 3:49 PM

All replies

  • Hi,

    curly braces on Id (MsiInstallJob) has to be scaped (i.e. %7B for { and %7D for } ) and  also the XML inside tag <Data> has to be XML scaped.

    I hope it workks

    • Marked as answer by Biz_M Monday, December 4, 2017 2:56 AM
    Monday, November 20, 2017 3:49 PM
  • Hi,

    I am still getting 500 error. 

    <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>&lt;MsiInstallJob id="%7B9BD4F7CD-880A-40B5-B74C-1BEECB51E596%7D"&gt;
    
                              &lt;Product Version="6.7.9"&gt;
    
                                   &lt;Download&gt;
    
                                      &lt;ContentURLList&gt;
    
                                          &lt;ContentURL&gt;https://www.hass.de/files/nodes/story/45/npp.6.7.9.installer.msi
    
                                          &lt;/ContentURL&gt;
    
                                      &lt;/ContentURLList&gt;
    
                                   &lt;/Download&gt;
    
                                   &lt;Enforcement&gt;
    
                                       &lt;CommandLine&gt;/quiet&lt;/CommandLine&gt;
    
                                       &lt;TimeOut&gt;5&lt;/TimeOut&gt;
    
                                       &lt;RetryCount&gt;3&lt;/RetryCount&gt;
    
                                       &lt;RetryInterval&gt;5&lt;/RetryInterval&gt;
    
                                   &lt;/Enforcement&gt;
    
                              &lt;/Product&gt;
    
                      &lt;/MsiInstallJob&gt;
    
                  </Data>
              </Item>
    </Exec>

       

    Please help me.



    • Edited by Marsin Thursday, August 16, 2018 8:40 PM
    Thursday, August 16, 2018 8:24 PM