Can anyone tell me what is the difference between a .dmg file and .pkg file for Mac OS? The .pkg file is created using the PackageMaker of Mac OS for creating the installers.
DMG:
* Disk image format, like ISO, etc...
* Is not an installer, just a way to store files.
* Supports encryption, password protection and compression.
* Single file (ideal for distribution).
PKG:
* Installer package. Can install files to different locations, etc...
* Support compression.
* Is just a folder, with multiple files inside (just like .app). So it is not suited for distribution.