Problem installing Chrome and Teams to MacBooks

jenmacdonald
New Contributor

I have wiped my macbook many times and never had an issue with Teams and Chrome installing - since updating mac to Sonoma and Jamf being upgraded - Teams and Chrome will no longer install - just shows Pending -- Also some of my configuration profiles for system extensions will now no longer install since the updates  (Cisco AnyConnect and Trend Micro)  - any ideas on how to resolve? Nothing else has changed - same Jamf build and configs that worked with no issues previously

6 REPLIES 6

JevermannNG
Contributor II

Some more details on your setup would be helpful :-)

Do you run Jamf Pro, which Server Version?
Which macOS Version is installed on the Mac?

How do you distribute those Apps to the Mac Clients, PKGs, Trigger ...?

 

jenmacdonald
New Contributor

Using Jamf Pro (Cloud instance) - recently upgraded Mac to Sonoma 14.0

Distributing Chrome and Teams via Mac Apps - Jamf App Catalog

 

We are using Jamf Pro local hosted. Can you upload your own Google Chrome PKG to the Jamf Cloud?

You can download the latest Version via this link:

https://dl.google.com/chrome/mac/stable/accept_tos%3Dhttps%253A%252F%252Fwww.google.com%252Fintl%252...

CSCC-JS
Contributor III

My experience, so far, is uploading the pkg to Jamf cloud, and creating a policy is a bit more reliable than the Jamf App Catalog, at least at this time.

easyedc
Valued Contributor II

Both of those Apps are easy to deploy via scripts that call out their latest version and pull from their respective sites to install the latest version. Bypasses the need to keep packages up to date. 

#!/bin/sh

#  Google Chrome - Download and Install Latest.sh
#
#  Created by Ed C. on 4/20/23.
#  Updated 9/25/23 to update appspot url.
#
[ -f /tmp/debug ] && set -x
# This script downloads the latest Google Chrome
InstalledVersion=$(/usr/bin/defaults read /Applications/Google\ Chrome.app/Contents/Info CFBundleShortVersionString 2>/dev/null)
## In 2023 it was stated that the Omaha Proxy site will get turned down and does not to be consistently updated.  The below changes reflect the new site.
#CurrentVersion=$( curl -s https://omahaproxy.appspot.com/history | /usr/bin/awk -F',' '/mac,stable/{print $3; exit}' )
CurrentVersion=$(plutil -extract 0.version raw -o - - <<< $(curl -s 'https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Mac&num=1') )
/bin/echo "Found version $InstalledVersion installed..."
/bin/echo "The current version is $CurrentVersion..."
if [[ "$InstalledVersion" = "$CurrentVersion" ]]; then
    echo "Google Chrome is current. Exiting"
    exit 0
fi
URL='https://dl.google.com/dl/chrome/mac/universal/stable/gcem/GoogleChrome.pkg'

/bin/echo "Downloading Chrome"
/usr/bin/curl https://dl.google.com/dl/chrome/mac/universal/stable/gcem/GoogleChrome.pkg -o /tmp/GoogleChrome_$CurrentVersion.pkg

if [ $? = 0 ]; then   # if mount is successful
    /bin/echo "Kill Google Chrome..."
    /usr/bin/pkill Chrome
    /bin/echo "Removing old copy..."
    /bin/rm -rf "/Applications/Google Chrome.app"
    /bin/echo "Installing..."
    /usr/sbin/installer -pkg /private/tmp/GoogleChrome_$CurrentVersion.pkg -target / -verbose
fi
    /bin/sleep 5
# Clean-up
/bin/echo "Cleaning Up..."
/bin/rm -rf /private/tmp/GoogleChrome_$CurrentVersion.pkg
/bin/echo "Successfully installed Google Chrome $CurrentVersion"
exit 0

There are Teams scripts out there, pick one and test. 

 

 

jenmacdonald
New Contributor

I found that it needed a delay - so created a smart group to look for another install first - this is now working for me - but if it continues to cause issues I will look into scripts - Thanks all for info