I am unable to open .pkg and .dmg

Hello. Whenever I try to open a .pkg I am unable to open it, I am told 'There is no application set to open the document filename.pkg'


I am also unable to mount .dmg files and I am told the same error; however I am able to mount them using disk utility.


Mid 2010 MBP Unibody

2.4 GHz Intel Core 2 Duo

Lion 10.7.2


Thanks

BarnabyN

MacBook Pro, Mac OS X (10.7.2), Please help!

Posted on Oct 22, 2011 2:34 AM

Reply
2 replies

Oct 22, 2011 7:48 PM in response to BarnabyN

It sounds like something's wrong with your Mac's "launch services database". There are ways to force that to be rebuilt, but it might be easier to just reset the two entries that aren't working for you. The programs you need are both in /System/Library/CoreServices. To reset the associations for those, for each of ".dmg" and ".pkg" files, pick a file of that type, select the file, then invoke the Finder's menu option File > Get Info. In the resulting window find the section labeled "Open with". The proper value for ".dmg" should be DiskImageMounter. For ".pkg" it should be Installer. If you don't see those values, pull down the "open with" entry and select "Other". In the resulting window navigate to the System folder at the top level of your boot volume, then to Library within that, then to CoreServices within that. Pick the appropriate program for that type, as described above. Then clck on the "Change All" button. Once you've updated one type, do the corresponding operation on the other type.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

I am unable to open .pkg and .dmg

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.