Home > Installer, Mac administration, macOS > macOS Ventura 13.3 alters expected behavior for Finder’s Open With functionality for macOS installer packages

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.

Screenshot 2023 04 01 at 5 05 04 PM

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:

Screenshot 2023 04 01 at 4 24 19 PM

Here’s how it looks on macOS 13.3, on a Mac with the Suspicious Package application installed:

Screenshot 2023 04 01 at 4 38 03 PM

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.

Screenshot 2023 04 01 at 4 50 43 PM

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.

Screenshot 2023 04 01 at 5 12 50 PM

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.)

Screenshot 2023 04 01 at 4 47 53 PM

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:


open -a "/Applications/Suspicious Package.app" ~/Desktop/example.pkg

view raw

gistfile1.txt

hosted with ❤ by GitHub

Screenshot 2023 04 01 at 4 41 57 PM

The Suspicious Package application should subsequently open and display information about the installer package you had specified.

Screenshot 2023 04 01 at 4 42 43 PM

  1. April 2, 2023 at 5:47 pm

    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

  2. dinkblam
    April 3, 2023 at 8:06 am

    i’ll also open a bug report with Apple about this awful change today and would encourage everyone else to do the same.

  3. Joss
    April 3, 2023 at 5:19 pm

    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.)

  4. April 5, 2023 at 1:05 am

    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

  5. Marc
    April 5, 2023 at 9:54 am

    Can’t you just drag’n’drop the package onto SuspiciousPackage (e.g. in your dock)?

    • Joss
      April 6, 2023 at 3:26 pm

      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.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: