Posted on 11-08-2016 06:07 AM
Hello,
As part of my deployment I have a package to install Sophos Cloud Endpoint on the user's computer.
When installed individually, without being part of the deployment, the package works.
However when the package is part of the installation I commonly get the below image, stating that it was installed incorrectly. On top of that, it is incredibly difficult to uninstall too.
Any thoughts or advice on what to try in order to fix this ?
Solved! Go to Solution.
Posted on 11-09-2016 07:15 AM
@alaiuppa , I think I had this same problem. I am having trouble finding the support article that I referenced, but here's my install script that is working for us:
#!/bin/sh
# Change permissions on these files per Sophos support article
sudo chmod a+x /tmp/Sophos Installer.app/Contents/MacOS/Sophos Installer
sudo chmod a+x /tmp/Sophos Installer.app/Contents/MacOS/tools/com.sophos.bootstrap.helper
# Install Sophos Cloud
sudo /tmp/Sophos Installer.app/Contents/MacOS/Sophos Installer --install
Posted on 11-09-2016 07:15 AM
@alaiuppa , I think I had this same problem. I am having trouble finding the support article that I referenced, but here's my install script that is working for us:
#!/bin/sh
# Change permissions on these files per Sophos support article
sudo chmod a+x /tmp/Sophos Installer.app/Contents/MacOS/Sophos Installer
sudo chmod a+x /tmp/Sophos Installer.app/Contents/MacOS/tools/com.sophos.bootstrap.helper
# Install Sophos Cloud
sudo /tmp/Sophos Installer.app/Contents/MacOS/Sophos Installer --install
Posted on 11-09-2016 07:16 AM
Posted on 11-09-2016 07:59 AM
Hey Thanks for the reply! I was starting to lose hope.
Looks like a great solution. Forgive me, I'm a bit new to JAMF and Mac Administration, but do you think it is possible to bundle the installer and script together and have it deployed via a .pkg or .dmg as part of the imaging process? I know I can put those sorts of things together using composer and add it into my imaging configuration.
I'm just trying to figure out the best way to mend the broken installation that usually takes place during our imaging process. Or to retain some form of automation during the install process.
Posted on 11-09-2016 10:33 AM
I have a solution for packaging Sophos, with a post on it available via the link below:
Posted on 11-09-2016 11:02 AM
That does help, although the Sophos product is different than mine so some things can be omitted. What software is being used to create the package in that solution?
Posted on 11-09-2016 11:48 AM
The Packages application was used to create the installer package: