Another Sophos Install Issue

merryworks
New Contributor

Was working for the longest time but now I get the following from the logs. I did delete the portion of the Downlading https:// to hide the server info and the antitamper password but everything else is the same. I can provide more info as needed.

Details

Executing Policy Sophos Endpoint Cloud Protection
Downloading SophosInstall.pkg...
Downloading https://xxxxx:10000///Packages/SophosInstall.pkg...
Verifying package integrity...
Installing SophosInstall.pkg...
Successfully installed SophosInstall.pkg.
Running command sudo /Library/Application Support/Sophos/opm/Installer.app/Contents/MacOS/tools/InstallationDeployer --remove --tamper_password xxxxx; sudo /tmp/SophosInstall/Sophos Installer.app/Contents/MacOS/Sophos Installer --install...
Result of command:
sudo: /Library/Application Support/Sophos/opm/Installer.app/Contents/MacOS/tools/InstallationDeployer: command not found
2020-10-20 10:50:43.007 Sophos Installer[2607:19961] Starting Sophos Bootstrap Installer.
2020-10-20 10:52:22.291 Sophos Installer[2607:19961] Installation failed with: The installation failed. (1). See SophosDiagnostics for detailed information.

1 REPLY 1

sirsir
Contributor

Here's the script we're using, seems to work fine for initial installs.

#!/bin/sh

cd /tmp

if [[ -d "/tmp/Sophos Installer.app" ]]; then
    rm -rf /tmp/Sophos*
fi

# Update the URL as indicated in Sophos Admin Panel
curl -O https://*****
unzip SophosInstall.zip

chmod a+x ./Sophos Installer.app/Contents/MacOS/Sophos Installer
chmod a+x ./Sophos Installer.app/Contents/MacOS/tools/com.sophos.bootstrap.helper

./Sophos Installer.app/Contents/MacOS/Sophos Installer --install

exit 0