Hi,
Using the script below I can silently install Google Drive on the workstations. I just run into the following problem, and that a pop-up appears from System Extension Blocked, in which I have to approve Google.
Is there a way to forcefully approve this in the script?
Thanks in advance.
# Script to download, Silent Install and then clean up once installed Google DrivE FileStream
#Make temp folder for downloads.
mkdir "/tmp/filestream/";
cd "/tmp/filestream/";
#Download filestream.
curl -L -o /tmp/filestream/GoogleDriveFileStream.dmg "https://dl.google.com/drive-file-stream/GoogleDriveFileStream.dmg";
#Mount, Install, and unmount GoogleDriveFileStream.dmg
hdiutil mount GoogleDriveFileStream.dmg;
sudo installer -pkg /Volumes/Install Google Drive File Stream/GoogleDriveFileStream.pkg -target "/Volumes/Macintosh HD";
hdiutil unmount /Volumes/Install Google Drive File Stream/;
#Tidy up
sudo rm -rf /tmp/filestream/




