Sophos Deployment through Meraki

Solved
_aDiedericks
Getting noticed

Sophos Deployment through Meraki

Hi there,

I'd like to know if anyone knows how to deploy Sophos Intercept X Advanced through Meraki MDM?

Sophos comes in a zipped file containing:
1. Sophos Installer.app (Setup)
2. Sophos Installer Components (Folder containing setup config file)

These two items have to be together in order for the setup to work.

So far we've tried to package them into a .dmg file and push it through Meraki Customs Apps install.
The installer just winds up showing up as "Sophos Installer" in the application launcher probably because it's a .app file being deployed.

Image 2022-06-17 at 17.16.jpg

We've tried a script method of downloading the SophosInstaller.zip file from a repo > Extracting the installer > running the .app file to setup. This didn't work because the installer is .app and not a packaged .dmg / .pkg

And on top of trying to push a script we tried packaging the .sh script in a .dmg file and pushing it as a custom app through Meraki but that didn't work either.

Does anyone have a solution for this?

1 Accepted Solution
_aDiedericks
Getting noticed

To comment on the above, Managed to find a script to download, unpack, grant permissions, install and delete itself. 

 

#!/bin/bash
mkdir /private/var/tmp/sophos
cd /private/var/tmp/sophos

# Installing Sophos
curl -L -O "YOUR SOPHOS INSTALLER DIRECT DOWNLOAD LINK.zip"
unzip YOUR SOPHOS INSTALLER ZIP NAME.zip
chmod a+x /private/var/tmp/sophos/Sophos\ Installer.app/Contents/MacOS/Sophos\ Installer
chmod a+x /private/var/tmp/sophos/Sophos\ Installer.app/Contents/MacOS/tools/com.sophos.bootstrap.helper
sudo /private/var/tmp/sophos/Sophos\ Installer.app/Contents/MacOS/Sophos\ Installer --install;
/bin/rm -rf /private/var/tmp/sophos;
exit 0      ## Success
exit 1      ## Failure

 

View solution in original post

3 Replies 3
_aDiedericks
Getting noticed

Have tried the above in CLI as well

BlakeRichardson
Kind of a big deal
Kind of a big deal

You could try using a package installer. 

_aDiedericks
Getting noticed

To comment on the above, Managed to find a script to download, unpack, grant permissions, install and delete itself. 

 

#!/bin/bash
mkdir /private/var/tmp/sophos
cd /private/var/tmp/sophos

# Installing Sophos
curl -L -O "YOUR SOPHOS INSTALLER DIRECT DOWNLOAD LINK.zip"
unzip YOUR SOPHOS INSTALLER ZIP NAME.zip
chmod a+x /private/var/tmp/sophos/Sophos\ Installer.app/Contents/MacOS/Sophos\ Installer
chmod a+x /private/var/tmp/sophos/Sophos\ Installer.app/Contents/MacOS/tools/com.sophos.bootstrap.helper
sudo /private/var/tmp/sophos/Sophos\ Installer.app/Contents/MacOS/Sophos\ Installer --install;
/bin/rm -rf /private/var/tmp/sophos;
exit 0      ## Success
exit 1      ## Failure

 

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels