You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the install logs (/var/log/install.log):
2023-06-05 15:12:01-04 MBP-2023 installd[908]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Zoom-5.14.10.19202.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Library/Managed%20Installs/Cache/Zoom-5.14.10.19202.pkg, PKInstallPackageIdentifier=us.zoom.xos, NSLocalizedDescription=An error occurred while running scripts from the package “Zoom-5.14.10.19202.pkg”.} {
NSLocalizedDescription = "An error occurred while running scripts from the package \U201cZoom-5.14.10.19202.pkg\U201d.";
NSURL = "file://localhost/Library/Managed%20Installs/Cache/Zoom-5.14.10.19202.pkg";
PKInstallPackageIdentifier = "us.zoom.xos";
2023-06-05 15:13:07-04 MBP-2023 package_script_service[3813]: ./postinstall: /tmp/PKInstallSandbox.2q4OQf/Scripts/us.zoom.xos.mQB8UT/postinstall: line 307: config_app: command not found
Looks like the postinstall script needs to be re-aligned with the ZoomITInstaller.pkg one. Or even better: removed. Do we still need a separate postinstall?
Looks like the postinstall script needs to be re-aligned with the ZoomITInstaller.pkg one. Or even better: removed. Do we still need a separate postinstall?
/edit I just tested this in my dev environment with a relatively simple Zoom.munki recipe and can confirm that installing with the built-in postinstall script worked as it should. A separate postinstall isn't necessary.
From the install logs (/var/log/install.log):
2023-06-05 15:12:01-04 MBP-2023 installd[908]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Zoom-5.14.10.19202.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Library/Managed%20Installs/Cache/Zoom-5.14.10.19202.pkg, PKInstallPackageIdentifier=us.zoom.xos, NSLocalizedDescription=An error occurred while running scripts from the package “Zoom-5.14.10.19202.pkg”.} {
NSLocalizedDescription = "An error occurred while running scripts from the package \U201cZoom-5.14.10.19202.pkg\U201d.";
NSURL = "file://localhost/Library/Managed%20Installs/Cache/Zoom-5.14.10.19202.pkg";
PKInstallPackageIdentifier = "us.zoom.xos";
2023-06-05 15:13:07-04 MBP-2023 package_script_service[3813]: ./postinstall: /tmp/PKInstallSandbox.2q4OQf/Scripts/us.zoom.xos.mQB8UT/postinstall: line 307: config_app: command not found
The failure appears to come from the postinstall script, specifically this line: https://github.com/autopkg/homebysix-recipes/blob/master/Zoom/scripts/postinstall#L307
The text was updated successfully, but these errors were encountered: