Which one is better: DMG or PackageMaker

Here's my requirement: 1. I want my installable to have a user license agreement 2. Run another package as part of the installation 3. give the user the option to launch the application at startup

What should I use, create a dmg, or use PackageMaker available with xcode? Are there any good webpages showing how to use PackageMaker?

Thank.

+1


source to share


1 answer


They serve different purposes:

  • DMG (Disk Images) is just a container file format to solve age-old problems with multi-fork files and transfer protocols and intermediate hosts that cannot handle them without relying on them in the first place.In addition, disk images can use internal compression ... Your users will thank you for not confusing them with a file wrapped in a file wrapped in a file (although the disk images themselves take some explanation initially).

  • PackageMaker is a complete installer package builder. You can customize the installation process and locations, perform subinstallations, and much more that you may need. If your installation entails more than just dragging and dropping an app package into place, this is one to work with.



From your requirements, the choice seems obvious. Since the installer package itself is a bundle, I would say: create an installer package with PackageMaker and place it in a compressed disk image. Distribute the disk image to your users. It just makes for an enjoyable experience.

+1


source







All Articles