Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > .pkg versus .mpkg?

.pkg versus .mpkg?
Thread Tools
Fresh-Faced Recruit
Join Date: Aug 2005
Status: Offline
Reply With Quote
Aug 17, 2005, 11:27 AM
 
Hello,

Could someone please tell me the difference between a .pkg file and am .mpkg file?

When installing some software directly from the DVD, I see that some files are called, for example, iMovie.pkg, and others iMovie.mpkg. In what ways are they different?

Thanks,

Mac_Jack
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Aug 17, 2005, 12:03 PM
 
If I recall correctly, .mpkg folders are Meta-Packages. These contain regular packages, the .pkg folders you're seeing.

The reason for this is that you can't actually customize installations from a .pkg installer. This is a limitation of Apple's installer technology more than anything else. They get around it with these meta-packages, which contain packeges that you can turn on and off. It's a crude method of customizing installations, but it's gotten the job done for Apple so far.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
Fresh-Faced Recruit
Join Date: Aug 2005
Status: Offline
Reply With Quote
Aug 17, 2005, 12:38 PM
 
Ah, gotcha. So if I wanted to do a basic install, I could use either the .mpkg or the .pkg, it wouldn't matter. If I wanted to customize at all, I'd use the .mpkg.

Thanks. You're everywhere; you answered my virus questions yesterday.

Jack
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Aug 17, 2005, 02:58 PM
 
Originally Posted by Millennium
If I recall correctly, .mpkg folders are Meta-Packages. These contain regular packages, the .pkg folders you're seeing.

The reason for this is that you can't actually customize installations from a .pkg installer. This is a limitation of Apple's installer technology more than anything else. They get around it with these meta-packages, which contain packeges that you can turn on and off. It's a crude method of customizing installations, but it's gotten the job done for Apple so far.
Well, .mpkgs don't necessarily contain packages. They link to a bunch of packages, but they can be anywhere on the disk, as long as you can put a path to the packages in the Info.plist file in the .mpkg. Now, .mpkg packages can contain packages in their bundle, but they don't have to.

Also, as to not being able to customize installations from a .pkg installer, in Tiger the package format has a sort of interesting distribution script system that allows .pkgs to do many of the things that .mpkgs can do, so the line might become a little more blurred in the future...

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Fresh-Faced Recruit
Join Date: Aug 2005
Status: Offline
Reply With Quote
Aug 18, 2005, 12:41 PM
 
Gotcha. Thanks very much for your help.
Mac_Jack
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:29 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2