Posted on 11-04-2015 06:19 PM
Hey everyone.
Bare with me as I try explain this, brain's a bit frazzled today.
So, we are trying to deploy Sophos... in every release until now we have had no issues and everything has sailed along smoothly thanks to some excellent community guides.
In anticipation for 10.11, Sophos released a new version of their AV for 10.11 and higher (9.4). The catch is that this can not roll out as an update from the Sophos Management Console. A new installer must be packaged and deployed.
No problem right? Wrong.
For the life of me I can not get the installer to run silently via terminal. I have heard back from our support vendor and got this oh so helpful reply...
"El Capitan is still very new but apparently you cannot run silent installs on OS X 10.11 and I haven’t come across a way to circumvent this. Sophos KB article that lists current install options via terminal is https://www.sophos.com/en-us/support/knowledgebase/14179.aspx. "
Is anyone able to shed some light on validity of this statement? I can't believe that Apple would remove the functionality to run silent installations?
Cheers.
Posted on 11-04-2015 06:31 PM
You are probably going to have to repackage their installer.app as a .pkg using a snapshot in Composer.
You can absolutely install silently on El Capitan, just maybe not with however they setup their installer.app.
Posted on 11-04-2015 07:08 PM
We're successfully deploying using Ben's workflow https://macmule.com/2015/07/18/yet-another-sophos-enterprise-anti-virus-9-2-x-post/
Posted on 11-04-2015 07:43 PM
@lkrasno Is that deploying 9.4 to 10.11? I've followed that guide, we've used it for older versions.
Posted on 11-05-2015 12:51 AM
Posted on 11-05-2015 04:04 AM
Agree we are in the same boat and had great luck with Composer.
Posted on 11-05-2015 04:42 AM
I'd be wary of using Composer snapshots with Sophos installer.
Last one I deployed was 9.2 using @rtrouton method, and I won't be looking at el cap and 9.4 for a few months, but there's also this link from sophos with details to get the Mac in the right group as part of the install
How to automatically assign a Mac endpoint to a defined group in Sophos Enterprise Console
Posted on 11-05-2015 06:57 AM
It seems to us that Sophos 9.2.8 works fine with El Cap. This is the current recommended, with 9.4.0 being on the preview release channel. My Mac is on the preview channel, and it updated from 9.2.7 to 9.4.0 automatically from our Sophos server.
Posted on 11-05-2015 09:33 AM
We've reached out to Sophos tech support to confirm this article will allow silent installs:
Article ID: 119744
Title: How to create a pre-configured installer containing updating and On-Access scanning options
URL: https://sophos.com/kb/119744
Posted on 11-05-2015 09:41 AM
I logged into our Sophos support page and it shows 9.2 supporting Mac OS X 10.6, 10.7, 10.8, 10.9, 10.10, 10.11
Corbin
Posted on 11-05-2015 10:45 AM
Morning everyone,
So it seems like there's lots of mixed responses here. I'll go through and try each one out and see how I get on.
@bentoms I did try using your method first (as we've used it in the past) but I may have done something wrong so I'll try again.
@dan.snelson Thanks for that link. Looks very promising also.
I'll report back ;)
Cheers.
Posted on 11-05-2015 01:15 PM
@Josh.A Thanks.. i'd be very much interested in your findings.
Posted on 11-10-2015 12:55 PM
Following Sophos article 119744, copying the entire contents of the .DMG to a temporary directory and then executing the following command in a post-install script seems to be working for us.
/path/to/tmp/folder/SophosMac9.4.0/Sophos Installer.app/Contents/MacOS/tools/InstallationDeployer --install
Posted on 11-10-2015 01:49 PM
I banged my head against a wall with Sophos. I finally went the lazy route and setup an HTTP file server on my jds mac to deploy the installer. For some reason, I also get an error the first time I run it, so I run it twice. Sloppy but I just needed a solution. Albeit, I'm not using Enterprise. This is what worked for my for 10.11
A tail from a successful installation:
creating: savosx_he_r/Sophos Installer Components/savi.bundle/Contents/Install/Root/savi/
inflating: savosx_he_r/Sophos Installer Components/savi.bundle/Contents/Install/Root/savi/savi
+ /usr/bin/logger 'Installing Sophos'
+ echo 'Installing Sophos'
Installing Sophos
++ '/tmp/savosx_he_r/Sophos Anti-Virus Home Edition.app/Contents/MacOS/tools/InstallationDeployer' --install
## Checks exit code:
+ '[' 139 == 0 ']'
## Not equal to zero so reruns.
+ '/tmp/savosx_he_r/Sophos Anti-Virus Home Edition.app/Contents/MacOS/tools/InstallationDeployer' --install
The installation was successful.
+ /usr/bin/logger 'Sophos Installation Succesfull'
Posted on 11-15-2015 12:21 PM
Just as an update for anyone following this.
We're still having no luck deploying Sophos silently to 10.11 machines.
I'll post again once we figure it out.
Posted on 12-30-2015 02:31 PM
We're able to do a silent install on El Capitan by copying the .dmg and running the script below
"#!/bin/sh
cd /Library/temp/Sophos/Sophos Installer.app/Contents/MacOS/tools/
sudo "./InstallationDeployer" --install
exit 0"