Add background image / color to DMG using hdiutil or another tool?

Possible duplicate:
How to create a nice DMG for Mac OS X using command line tools?

It seems like using Finder UX or some kind of user interface tool ( Creating a drag and drop graph when installing an OS X application from dmg ) is the only way to customize how the DMG looks when it opens. It does not scale well and is not automated enough.

Does anyone know how to achieve the same, but use tools like hdiutil on Mac or mkfs.hfsplus on Linux?

+6
installer dmg macos
source share
1 answer

OS X Finder stores data about the size, type, position, background image, and icon layout (by directory) in a hidden .DS_Store file. If you follow the general idea from another question, you should then copy the .DS_Store file from the resulting disk image to the new images created when the script was deployed.

+3
source share

All Articles