lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
246 stars 17 forks source link

26517272: Install content wirelessly page is misleading #14761

Open openradar-mirror opened 8 years ago

openradar-mirror commented 8 years ago

Description

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.

   <key>kind</key>
   <string>software</string>
   <key>sizeInBytes</key>
   <string>26613453</string>

This can be safely ommitted. In fact, the entire metadata 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.

  1. metadata bundle-identifier com.example.myapp bundle-version 1.0 items bundle-identifier com.example.myapp-unique bundle-version 1.7.4

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.

Product Version: Created: 2016-05-27T15:21:55.648160 Originated: 2016-05-27T11:21:00 Open Radar Link: http://www.openradar.me/26517272

openradar-mirror commented 8 years ago

Modified: 2016-05-27T15:21:55.648370