Install content wirelessly page is misleading

Originator:bruienne
Number:rdar://26517272 Date Originated:27-May-2016 11:21 AM
Status:Open Resolved:
Product:Documentation Product Version:
Classification:UI/Usability Reproducible:Always
 
This is a duplicate of rdar://26408174

The page in question:
http://help.apple.com/deployment/osx/#/ior5df10f73a

I've done some testing for deploying OS X pkgs(third party) over the last few days and found through trial and error that much of the documentation for the manifest file needed by the MDM InstallApplication command is not accurate. Particularly with what's required and what is optional. 

1. 
md5 hash size: Must be 10 MB chunks
md5 hash for each chunk: The hash for each 10 MB chunk

"Must" be is not accurate. In my tests, the application was always downloaded as long as the md5-size key matched the hash for the specified size. 

2.
       <!-- required. the download kind. -->
       <key>kind</key>
       <string>software</string>
       <key>sizeInBytes</key>
       <string>26613453</string>

This can be safely ommitted. In fact, the entire <key>metadata</key> part of the plist appears to be optional. 
If metadata is added, then the user gets the launchpad animation and bouncing dock icon, but the pkg installs safely in the background with no metadata provided. 

3. 
<key>metadata</key>
      <dict>
       <!-- required -->
       <key>bundle-identifier</key>
       <string>com.example.myapp</string>
       <!-- optional (software only) -->
       <key>bundle-version</key>
       <string>1.0</string>
       <key>items</key>
       <array>
              <dict>
              <key>bundle-identifier</key>
              <string>com.example.myapp-unique</string>
              <key>bundle-version</key>
              <string>1.7.4</string>
              <dict>
       </array>

I've already mentioned that they keys in metadata are optional, but even if present, the information supplied in bundle-identifier and bundle-version can have any value. Nothing is checked by the client here, and the client.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!