Perhaps the user's version of Chrome isn't updating properly. I did not want the user's ability to download/install Google Chrome to be hindered within Self-Service by them being out of scope. I wanted a second policy for the sole purpose of Self-Service. Target/Type = "Google Chrome - Not Installed" Smart Computer Group Points to the script in System Settings > Computer Management > Scripts Triggers = Login, Recurring Check-In, Make Available Offline This policy makes things happen auto-magically based on the aforementioned Smart Computer Group.ĭisplay Name: "Download & Install Google Chrome" We need a Smart Computer Group so Policy #1 has something to work from.ĭisplay Name = "Google Chrome - Not Installed" # Remove the downloaded vendor supplied DMG file GoogleChromeDMG="$(hdiutil info | grep "/Volumes/Google Chrome" | awk '')" # Identify the correct mount point for the vendor supplied DMG file # Copy contents of vendor supplied DMG file to /Applications/Ĭp -pPR /Volumes/Google Chrome/Google Chrome.app /Applications/ # Download vendor supplied DMG file into /tmp/ # Shout out to Chad Brewer (cbrewer) on JAMFNation for this fix/update # Added -nobrowse flag to hdiutil attach /tmp/$VendorDMG command line arguments # Automatically download and install Google Chrome Feel free to add some if you feel the need. NOTE: Yes, I am aware that I don't have any error checking taking place. I tossed this script into System Settings > Computer Management > Scripts within the JSS. I wrote a simple script that does the heavy lifting. Well, lemme share my story, morning glory. So how can we deploy Google Chrome with the freshest of the fresh so we don't get that not-so-fresh feeling? You could effectively re-package everything using Composer, but then things get REAL STALE, REAL FAST - Google updates Chrome frequently. The Google Chrome.app file must be dragged to the /Applications folder. But hey, one-stop shopping in Self-Service, right?Īs we all know, Google deploys Chrome via a DMG file. Why? Users can just download from Google on their own. I wanted to make Google Chrome a part of my automated deployment process and also be available within Self-Service.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |