Symbolic links to packages in macOS dmg can't be double-clicked to install on macOS 13.2
Summary
In the process of trying to reproduce #18734 (closed) in various scenarios, I tried downloading and installing 4.0.3 on a macOS 13.2 machine that didn't have Wireshark installed (no /Applications/Wireshark.app and no ChmodBPF installed).
When I double-clicked on the "Install ChmodBPF.pkg" symlink icon, I got a "There is no application set to open the document “Install ChmodBPF.pkg”." dialog.
If I opened up the contents of the Wireshark.app bundle, and went to Contents/Resources/Extras and double-clicked on the "Install ChmodBPF.pkg" installer package icon, it popped up the installer, so this seems to be an issue with symlinks to packages.
(This also happened with 3.6.11.)
Steps to reproduce
- On a machine running macOS 13.2, download the appropriate macOS dmg from wireshark.org.
- Double-click the dmg if it doesn't automatically open after being downloaded.
- Double-click on the "Install ChmodBPF.pkg" icon.
What is the current bug behavior?
A "There is no application set to open the document “Install ChmodBPF.pkg”." dialog.
What is the expected correct behavior?
The Installer popping up to install ChmodBPF.
Build information
Version 4.0.3 (v4.0.3-0-gc552f74c).
Copyright 1998-2023 Gerald Combs gerald@wireshark.org and contributors.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Compiled (64-bit) using Clang 11.0.0 (clang-1100.0.33.16), with GLib 2.68.4, with PCRE2, with zlib 1.2.11, with Qt 6.2.4, with libpcap, without POSIX capabilities, with Lua 5.2.4, with GnuTLS 3.6.15 and PKCS #11 (closed) support, with Gcrypt 1.8.7, with Kerberos (MIT), with MaxMind, with nghttp2 1.46.0, with brotli, with LZ4, with Zstandard, with Snappy, with libxml2 2.9.9, with libsmi 0.4.8, with QtMultimedia, with automatic updates using Sparkle, with SpeexDSP (using system library), with Minizip, with binary plugins.
Running on Mac OS X 10.16, build 22D49 (Darwin 22.3.0), with Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (with SSE4.2), with 8192 MB of physical memory, with GLib 2.68.4, with PCRE2 10.39 2021-10-29, with zlib 1.2.11, with Qt 6.2.4, with libpcap 1.10.1, with c-ares 1.15.0, with GnuTLS 3.6.15, with Gcrypt 1.8.7, with nghttp2 1.46.0, with brotli 1.0.9, with LZ4 1.9.2, with Zstandard 1.4.2, with libsmi 0.4.8, with light display mode, without HiDPI, with LC_TYPE=C, binary plugins supported.
Check the man page and www.wireshark.org for more information.