Importing a custom .DMG file into the Software Catalog results in the error:
"The stream is too short to be a valid binary plist. Parameter name: stream".
The stream is too short to be a valid binary plist. Parameter name: stream
The image creation, if not parsed correctly, can leave files within the image at 0kb, thus making the image file invalid or corrupt (for example 7-zip does this in certain circumstances).
To workaround this problem it's required to perform more complex routine:
Create new image and attach to /Volumes/calc, the size of the image will be 20m, this can be increased by specifing larger number of the -size param:
Copy calculator app to dmg:
Convert current .dmg to a copressed format that is parsable by NS:
Now it's possible to upload the "calc_final.dmg" to NS and import it into NS software catalog.
Software Management Solution 7.1, 7.5