macOS Ventura 13.3 alters expected behavior for Finder’s Open With functionality for macOS installer packages
I’m a frequent user of macOS’s Open With functionality, where I can control-click on a file and select what app I want to open the file with.
Among the files I’m used to doing this with are installer package files. However, I noticed that as of macOS 13.3, this mostly stopped working as the only choice I now had for installer packages was the Installer app. Here’s how it looks on macOS 13.2.1, on a Mac with the Suspicious Package application installed:
Here’s how it looks on macOS 13.3, on a Mac with the Suspicious Package application installed:
When I looked in a Get Info window for an installer package on macOS 13.3, the Open with: functionality was both grayed out and set to Installer.
Normally I would have suspected a bug in macOS 13.3, but according to Randy Saldinger of Mothers Ruin Software, this appears to be an undocumented change by Apple in macOS 13.3.
For more details, please see below the jump.
As of macOS 13.3, a new LaunchServices key in the CFBundleDocumentTypes dictionary, named LSIsAppleDefaultNoOverrideForType, appears to have been introduced. This new key so far only appears in the following file:
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist
This key is applied to all three package document types used by the Installer app, which means it covers all known macOS installer package files (both flat packages and bundle-style packages.)
The new key appears to affect how LaunchServices manages the Open With functionality specifically in the context of installer packages.
There are still ways outside of the Open With functionality to open an installer package in a desired application. One of the ways is to use the open command in Terminal. For example, if you had an installer package named example.pkg stored on your desktop and you wanted to open the installer package in the Suspicious Package application, you could run the command below:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open -a "/Applications/Suspicious Package.app" ~/Desktop/example.pkg |
The Suspicious Package application should subsequently open and display information about the installer package you had specified.
Have you created a feedback to Apple about this already? I’d like to dupe it if you have.
It’s fine to force installed as the only default, but open with should still show the other available options without having to go through the detailed “other…” window
i’ll also open a bug report with Apple about this awful change today and would encourage everyone else to do the same.
Quick workaround: a shell script to execute from the app EventScripts (available in the Mac App Store) for the “Application Has Launched” trigger: https://pastebin.com/QPAZ1Ga8 … will automatically open pkg/mpkg files in Suspicious Package in addition to the macOS Installer app. (Can be edited for Pacifist, too, of course.)
Updated version with support for Pacifist now here: https://gist.github.com/JayBrown/d4aff170df9095d35cea89c5d975c8e2
FYI, Suspicious Package 4.3.2 is out now, and adds an “Open With Suspicious Package” service that you can use from the Finder context menu:
https://www.mothersruin.com/software/SuspiciousPackage/update.html
Can’t you just drag’n’drop the package onto SuspiciousPackage (e.g. in your dock)?
Yes, that still works. But the nice thing in previous versions of macOS was that Suspicious Package (or Pacifist etc.) could be set as the default viewer for the UTI com.apple.installer-package & related UTIs, which would open pkg files automatically in third-party apps on double-click. Now you have to click & hold, then drag & drop onto the Dock (or use the Services menu), and both are a serious UX deterioration. And for people like me who perform most actions in the file manager using the keyboard, it’s a downright catastrophe.