I've followed the instructions given on how to install McAfee with Casper.
https://jamfnation.jamfsoftware.com/article.html?id=182
Packed the installer.sh with composer, deployed it with a policy that ends with the command sudo /installpath/install.sh -i.
But I get this error when I'm trying to install McAfee through the policy.
/usr/sbin/jamf is version 8.64
Executing Policy Install McAfee Install...
Downloading http://MyCasperServer/CasperShare/Packages//McAfee Install.dmg...
Verifying DMG...
Installing McAfee Install.dmg...
Closing package...
Running command sudo /Library/Application Support/McAfee/install.sh -i...
Result of command:
space required to copy archive is 32909286 bytes
space available at mfeCVbPYr is 114332958720 bytes
extracting archive to mfeCVbPYr... please wait
204+0 records in
204+0 records out
104448 bytes transferred in 0.000720 secs (145061809 bytes/sec)
31921+1 records in
31921+1 records out
16343559 bytes transferred in 0.108141 secs (151132015 bytes/sec)
Archive: mfeCVbPYr/package.zip
inflating: mfeCVbPYr/MFEcma.dmg
inflating: mfeCVbPYr/reqseckey.bin
inflating: mfeCVbPYr/srpubkey.bin
inflating: mfeCVbPYr/sitelist.xml
inflating: mfeCVbPYr/req2048seckey.bin
inflating: mfeCVbPYr/sr2048pubkey.bin
inflating: mfeCVbPYr/agentfipsmode
Beräknar kontrollsumma för whole disk (Apple_HFS : 0)…
whole disk (Apple_HFS : 0): verifierade CRC32 $0FB1AE4E
verifierade CRC32 $1C5BA69D
/dev/disk1 /Volumes/MFECMA
installer: Package name is McAfee Agent
installer: Upgrading at base path /
installer: The upgrade failed (Installeraren stötte på ett fel som förhindrade installationen. Kontakta programtillverkaren och be om assistans.)
"disk1" unmounted.
"disk1" ejected.
Do you have any suggestions on how to fix this? I've tried searching for it but haven't found anything. The script by itself worked fine on my unit but when I try to deploy it with a policy it doens't work.
