Posted on 10-10-2014 10:09 AM
Hello everyone,
I am experiencing issues with uninstalling Symantec Endpoint Protection 12.1.2 so that I can install version 12.1.4
I am trying to use the script that is mentioned in this thread: https://jamfnation.jamfsoftware.com/discussion.html?id=9271
I added "RemoveSymantecMacFiles" to Casper Admin and tried to run the script on a test computer with 12.1.2 installed. I get the following error:
Sending Wake On LAN command...
Opening SSH Connection to 128.135.xxx.xxx...
Authenticating...
Successfully authenticated.
Verifying Computer's Identity...
The MAC Address has been verified.
Checking Operating System Version...
Running Mac OS X 10.9.1 (13B4116)
Verifying /usr/sbin/jamf...
/usr/sbin/jamf is current (9.3)
Verifying /Library/Preferences/com.jamfsoftware.jamf.plist...
Preparing Policy...
Executing Policy 2014-10-10 at 11:19 AM | dkirk | 1 Computer...
Creating directory structure for /Library/Application Support/JAMF/Downloads/
Downloading http://128.135.xxx.xxx/Scripts/RemoveSymantecMacFiles.command...
Running script RemoveSymantecMacFiles.command...
Script exit code: 4
Script result: File: invalid option -- A
Usage: File [-bchikLNnprsvz0] [-e test] [-f namefile] [-F separator] [-m magicfiles] [-M magicfiles] file...
File -C -m magicfiles
Try `file --help' for more information.
ERROR: Invalid option or volume name: "Macloaner02".
Usage: RemoveSymantecMacFiles.command [-CcdeFfghIikLlmpQqRrV] [-QQ] [-re] [volume ...]
Submitting log to https://jss.uchicago.edu:8443/
Finished.
If I run the script locally on the target machine I experience zero issues. If anyone can assist I would appreciate it. I have about 50 Macs that I have to upgrade. Thanks!
Solved! Go to Solution.
Posted on 10-10-2014 10:39 AM
when you launch the app you dont actually install it, you look at the menus, there is a tools menu, create remote deployment package. i usually have to wrap that package because we use Altiris to manage their Macs and it needs to install on a live system, so then I install it from /.installfiles/SEP with a launch daemon and it works 99.9% of the time.
Posted on 10-10-2014 10:11 AM
just install the new one over the old one.
Posted on 10-10-2014 10:13 AM
Hi Nessts I tried that. SEP installs without issue but Live Update is broken. I will mention that I created the SEP 12.1.4 package via Composer. If I run the uninstall script locally on the target computer followed by the package I created everything works properly. I just need to get the script to work via Casper.
Posted on 10-10-2014 10:14 AM
you should not be creating the installer via composer, run the app you get look in the utilities menu and generate a pkg you can deploy.
Posted on 10-10-2014 10:17 AM
I created a remote deployment package within the SEP installer via tools. That failed as well.
Posted on 10-10-2014 10:31 AM
5 years of managing Macs @ Symantec I only ever install over existing. Maybe one time I needed to uninstall, I would probably make my own script to delete stuff. Symantec's Script often needs to be run twice to actually remove stuff. But its a good reference of what to do.
Posted on 10-10-2014 10:34 AM
how are you installing over existing versions? The installer that gets created via the SEP admin console has an .app extension which is not supported by Casper. I had to make a package via Composer by installing. The remote deployment installer I created didn't work either.
Posted on 10-10-2014 10:39 AM
when you launch the app you dont actually install it, you look at the menus, there is a tools menu, create remote deployment package. i usually have to wrap that package because we use Altiris to manage their Macs and it needs to install on a live system, so then I install it from /.installfiles/SEP with a launch daemon and it works 99.9% of the time.
Posted on 10-10-2014 10:41 AM
I created the remote deployment package. It failed when I tried to deploy the .pkg via Casper. I will try it again and post the error.
Posted on 10-10-2014 11:03 AM
Ok well i stand corrected. The remote deployment package did indeed work this time. Thank you for the assist nessts, I appreciate it!!
Posted on 10-10-2014 11:05 AM
spectacular.
Posted on 10-10-2014 03:05 PM
hey kirk, for the uninstall script, you can't just upload the script in casper admin, run it, and have it work. You need to followw the instructions from that other thread:
I actually added the uninstall script to my installer and I run it as a pre-flight.