Differences between OSX's .pkg and .pkg.mpkg installers

17.8k views Asked by At

I'm fighting with OSX's packageMaker as it doesn't allow me to create a '.pkg'. Instead it's forcing me to make a '.pkg.mpkg'.

This seems like a stupid question I should be able to respond with a couple of google searches, but I'm not being able to find much info about this.

Could anyone explain the main differences between them and if you know the restriction for which you have to use one or the other?

3

There are 3 answers

2
Collin Allen On BEST ANSWER

To the best of my knowledge, .pkg files are simple, straightforward Installer packages. However, .mpkg files are very customizable, and can link to multiple .pkg files which the end user can turn on and off in the Installer.

I think the .pkg.mpkg double-extension you're seeing is just a text appending issue. Packages are either .pkg or .mpkg, not a combination of the two.

0
tomwhipple On

I don't have a good answer, but PackageManager automagically switched from .pkg to .mpkg once I tried to modify the text that the user sees. Both included sub installers (.pkg) prepared by vendors.

0
Stabledog On

I believe Collin Allen is correct -- the main difference is that the metapackage can reference other packages. But as to your PackageMaker problem, have you tried Iceberg? It's an alternative (free) that we have had generally better luck with: fewer bugs, easier to understand and use, greater freedom, etc.