https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=16050

--- Comment #4 from Gerald Combs <ger...@wireshark.org> ---
If I install Wireshark 3.0.3 and then try installing 3.0.4, the installer log
shows PackageKit skipping the Qt components:

----
Sep 13 09:03:39 gcombs-mbpr Installer[93852]: PackageKit: Skipping component
"org.qt-project.QtCore" (*-5.12.3-*) because the version 5.12.0-5.12.4-* is
already installed at
/Applications/Wireshark.app/Contents/Frameworks/QtCore.framework.
Sep 13 09:03:39 gcombs-mbpr Installer[93852]: PackageKit: Skipping component
"org.qt-project.QtDBus" (*-5.12.3-*) because the version 5.12.0-5.12.4-* is
already installed at
/Applications/Wireshark.app/Contents/Frameworks/QtDBus.framework.
Sep 13 09:03:39 gcombs-mbpr Installer[93852]: PackageKit: Skipping component
"org.qt-project.QtGui" (*-5.12.3-*) because the version 5.12.0-5.12.4-* is
already installed at
/Applications/Wireshark.app/Contents/Frameworks/QtGui.framework.
Sep 13 09:03:39 gcombs-mbpr Installer[93852]: PackageKit: Skipping component
"org.qt-project.QtMacExtras" (*-5.12.3-*) because the version 5.12.0-5.12.4-*
is already installed at
/Applications/Wireshark.app/Contents/Frameworks/QtMacExtras.framework.
Sep 13 09:03:39 gcombs-mbpr Installer[93852]: PackageKit: Skipping component
"org.qt-project.QtMultimedia" (*-5.12.3-*) because the version 5.12.0-5.12.4-*
is already installed at
/Applications/Wireshark.app/Contents/Frameworks/QtMultimedia.framework.
[ ... ]
----

It's doing so because the 3.0.3 macOS installer shipped with Qt 5.12.4, but
3.0.4 installer ships with Qt 5.12.3 in order to work around a context menu
issue described in bug 15888. Unfortunately this check is performed *before*
the preflight script...

----
Sep 13 09:03:42 gcombs-mbpr installd[1034]: PackageKit: Executing script
"./preflight" in
/private/tmp/PKInstallSandbox.p4vf4j/Scripts/org.wireshark.Wireshark.pkg.VB2pkj
----

...which removes the Wireshark.app bundle completely. It does this because
PackageMaker kept leaving unwanted stuff behind:
https://code.wireshark.org/review/c/32150.

We can fix this in the 3.0 branch by switching back to Qt 5.12.4 or by not
clobbering Wireshark.app in the preflight script. I'm leaning toward the
latter.

For the master branch it might make sense to revisit change 31047, which would
make Wireshark.app drag-installable and hopefully more deterministic.

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to