How to make a .dmg file?
DropDMG

I use and recommend DropDMG since it has many features that make it useful for sharing software such as scripting the building of a DMG file directly from my CI server when I promote a build using the included CLI tool dropdmg.



Above: Many options for configuring a DMG file, including layouts and showing a license when opening the DMG.