Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SAV 9 removal script has mistakes

Hi Sophos,

In SAV 9 the remove_9.sh script has mistakes.  When you run the script the following is shown at the end...

error: leftover path /Library/Caches/com.sophos.installer/ needs to be removed
error: leftover path /Library/Caches/com.sophos.sxld/ needs to be removed

 If you look in the script you have the line (169)...

delete_from_filesystem "/Library/Caches/com.sophos.sxl"

..which doesn't exist and should be com.sophos.sxld and the line to remove com.sophos.installer doesn't exist anywhere in the script.

Can you confirm?

:1013068


This thread was automatically locked due to age.
  • Thanks for the feedback, I'll get changes for this into the product stream. Admittedly, we don't use the remove script very often internally, the "removal tool" (/Library/Sophos Anti-Virus/Remove Sophos Anti-Virus.app) is what the team is recommending. But its still useful to have around and we need to maintain it.

    :1013194

  • bobcook wrote:

    (/Library/Sophos Anti-Virus/Remove Sophos Anti-Virus.app) is what the team is recommending.


    I don't have a file called that in that folder for SAV 9.  I do have /Applications/Remove Sophos Anti-Virus.app though.

    :1013200
  • Hi Diz,

    Yes you are correct. For the home edition, we put the "remove tool" program in to /Applications. The business edition puts in under /Library/Sophos Anti-Virus. Apologies for the confusion.

    The benefit of using the Remove Sophos Anti-Virus.app program is it knows what was recently installed and can correctly remove the software elegently. It doesn't have to guess what might have been installed.

    The remove_v9.sh script is definitely more "brute force" - it just tries to remove things that might exist. Its sort of a "force removal" script rather than an uninstaller, if that makes any sense.

    :1013206

  • bobcook wrote:

    Yes you are correct. For the home edition, we put the "remove tool" program in to /Applications.


    No, you are incorrect: you don't. You USED to but it isn't there any more.

    :1013230
  • Hmmm, I just installed Home Edition version 9.0.1 and it puts "Remove Sophos Anti-Virus.app" in the Applications directory.

    What do you see inside the folder "/Library/Application Support/Sophos"? Mine contains a directory named "he".

    :1013260

  • LDMartin1959 wrote:

    No, you are incorrect: you don't. You USED to but it isn't there any more.


     This is what my Applications folder looks like...

    :1013262
  • You're right, that is there. Missed that. But I seem to recall it being right next to Sophos on mine and called Sophos Uninstall so it is not the same name or location I recall it being.

    :1013284