Posted on 05-30-2018 05:56 AM
Hi,
How the hell would you package/deploy the Offline version of the ePO-agent (install.sh - 16 Mb)
Would need to install with -I switch (sh install.sh -i)
Anybody working with McAfee? who has been able to make it work?
Posted on 05-30-2018 06:29 AM
install.sh -i switch works fine in my experience.
Posted on 05-30-2018 06:50 AM
Same here. We package it up, and deploy the directory to /tmp. Then run the install.sh -I and let it move things where it wants. Fairly painless and silent.
Posted on 05-30-2018 06:50 AM
I create a package using Composer to dump the install script into a /private/tmp/prodepo/ folder. Then using the Files and Processes I run the command.
sudo /private/tmp/prodepo/MAC_550447_install.sh -I
Posted on 05-30-2018 07:21 AM
We package it up and deploy to a staging folder, then execute with the following script:
#!/bin/bash
# This will uninstall any previously installed McAfee agents
if [ -e /Library/McAfee/cma/uninstall.sh ]
then
/Library/McAfee/cma/uninstall.sh
fi
if [ -e /Library/McAfee/cma/scripts/uninstall.sh ]
then
/Library/McAfee/cma/scripts/uninstall.sh
fi
# This will uninstall any previously installed McAfee agents
/usr/local/mcafee/uninstall EPM
# This will install the upgraded Virus Protection and updated McAfee Agent
/Library/Staging/Packages/installepo05182018.sh -i
/usr/sbin/installer -package /Library/Staging/Packages/McAfee-Threat-Prevention-for-Mac-10.2.3-ePO-client-package-RTW-6519.pkg -target /
/usr/sbin/installer -package /Library/Staging/Packages/McAfee-Threat-Prevention-for-Mac-10.2.3-283-ePO-client-package-HF1226723.pkg -target /
Been doing this 5+ years now works like a charm for us.
Posted on 05-30-2018 07:44 AM
Note that if Mcafee is already installed, you should use the -u flag (update) instead of (-i).
if [ ! -e /Library/McAfee/cma/bin/cmdagent ]; then
/tmp/mcafeeInstall/install.sh -i
else
/tmp/mcafeeInstall/install.sh -u
fi
Posted on 05-30-2018 07:54 AM
Thanks all - that worked fine. Deployed to tmp and then run the script with -I
Beautiful
Posted on 05-30-2018 07:56 AM
@thoule Do you mean the product or agent.
I do have have McAfee ENS 10.2.3 installed before.
And it seems that the installation with -I is working fine, but do you recommend to install it with -u?
Posted on 03-01-2019 08:54 AM
@jconte Thank you for that script! Works great!