Skip to main content
Question

McAfee Agent and Catalina

  • April 17, 2020
  • 30 replies
  • 87 views

Show first post

30 replies

Forum|alt.badge.img+5
  • Contributor
  • May 21, 2021

@mike.desmarais thanks for the files, will retry now, and yes i am using the new McAfeeSmartInstall.sh but i thought both could be used? But i'll grab the install.sh too, thanks, will report back


MikaelDez
Forum|alt.badge.img+6
  • Contributor
  • May 21, 2021

@MichaelMcG My experiences with that package - it contains an app that runs an installer, and I couldn't get it to run silently and with zero interaction. It was a rabbit hole with Apple Script so that I could manipulate events and such. But the install.sh does the same thing, it's cleaner and from my searching - the preferred method of installing the McAfee Agent on macOS.


sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • May 21, 2021

@mike.desmarais Here is the postinstall script for my repackaging of the McAfee Agent install.sh and ENS component installers (extracted from your ePO) that will do a silent install: https://gist.github.com/sdagley/76e167fe32a60265dda8d761d2bc75b4. This version is for ENS 10.7.1, so you'd want to get the latest RipOff-McAfee script from the #mcafee channel on the MacAdmins Slack for use with 10.7.6.


Forum|alt.badge.img+5
  • Contributor
  • May 24, 2021

@mike.desmarais Thanks got it to install now, my only issue is that when trying to open the apps results in an error 1 which if i remember was being that your version of McAfee isn't valid for that version of macOS

Thanks @sdagley I'll check out your script too


Forum|alt.badge.img+5
  • Contributor
  • July 30, 2021

@MichaelMcG My experiences with that package - it contains an app that runs an installer, and I couldn't get it to run silently and with zero interaction. It was a rabbit hole with Apple Script so that I could manipulate events and such. But the install.sh does the same thing, it's cleaner and from my searching - the preferred method of installing the McAfee Agent on macOS.


to get rid of the installer prompt using the McAfeeSmartInstall.sh, change line 46 in the script to "$temp_directory/$APP_FILE_NAME/Contents/MacOS/McAfeeSmartInstall" -c "/tmp/coninfo.xml" -s -g

This will make the script run without any admin prompts