CS6 Removal

NightWing
New Contributor

Hello,

My method is - going to Utilties -> Adobe Installer -> Adobe CS6 Design..etc and uninstall all CS6 products. I was wondering if I can use Casper to do remove CS6 that way on our machines?

12 REPLIES 12

stevevalle
Contributor III

Have a look at

https://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

This is the way Adobe recommend uninstalling CS6

NightWing
New Contributor

Can I implement option 2 through Casper I guess is my question?

plawrence
Contributor II

Option 2 isn't supported, but Adobe does list a way to run the cleaner in silent mode (its on that page under the heading "Run the Adobe CC Cleaner Tool in silent mode (Enterprise users)") which can be scripted with Casper.

Every time I've tried this though there is always stuff left behind in /Applications and scattered throughout the drive. YMMV though.

I've had the most success with just running the uninstaller manually on each computer, or completely re-imaging the machine.

ImAMacGuy
Valued Contributor II

I found this on quora
.... anybody seen it or tried it? Or maybe with some strong script-fu can create a quick uninstall script?

Remove all Adobe fonts from /System/Library/Fonts, /Library/Fonts/, ~/Library/Fonts Remove all these additional fonts from the same folders: WarnockPro-Bold.otf WarnockPro-LightDisp.otf WarnockPro-BoldCapt.otf WarnockPro-LightIt.otf WarnockPro-BoldDisp.otf WarnockPro-LightItCapt.otf WarnockPro-BoldIt.otf WarnockPro-LightItDisp.otf WarnockPro-BoldItCapt.otf WarnockPro-LightItSubh.otf WarnockPro-BoldItDisp.otf WarnockPro-LightSubh.otf WarnockPro-BoldItSubh.otf WarnockPro-Regular.otf WarnockPro-BoldSubh.otf WarnockPro-Semibold.otf WarnockPro-Capt.otf WarnockPro-SemiboldCapt.otf WarnockPro-Disp.otf WarnockPro-SemiboldDisp.otf WarnockPro-It.otf WarnockPro-SemiboldIt.otf WarnockPro-ItCapt.otf WarnockPro-SemiboldItCapt.otf WarnockPro-ItDisp.otf WarnockPro-SemiboldItDisp.otf WarnockPro-ItSubh.otf WarnockPro-SemiboldItSubh.otf WarnockPro-Light.otf WarnockPro-SemiboldSubh.otf WarnockPro-LightCapt.otf WarnockPro-Subh.otf Search for and remove any files labeled 'Adobe' or 'Macromedia in all of these folders $find . -name "adobe" -print /Applications /System/Library/ ~/Applications ~/Documents/ /Applications/Utilities ~/Library/ ~/Applications/Utilities Remove these explicit folders ~/Documents/Updater/ ~/Library/Acrobat User Data/ ~/Library/Application Support/Adobe ~/Library/Applications/Macromedia ~/Library/Application Support/Macromedia ~/Library/Application Support/Adobe PDF ~/Library/Caches/Acrobat ~/Library/Caches/Adobe ~/Library/Caches/Opera Cache ~/Library/Preferences/Acrobat ~/Library/Preferences/Adobe ~/Library/Preferences/Adobe ~/Library/Preferences/com.adobe ~/Library/Preferences/com.adobe ~/Library/Preferences/com.macromedia ~/Library/Preferences/Dreamweaver ~/Library/Preferences/Opera Preferences ~/Library/PreferencePanes/AdobeVersionCue ~/Library/receipts/com.adobe ~/Library/StartupItems/AdobeVersionCue

ImAMacGuy
Valued Contributor II

Can someone take a look at this and tell me if my syntax is right?
the rm -rf portion i think is redundant to the find portions...

#!/bin/sh

# Adobe Uninstaller Script

# searches and removes any files named 'Adobe' or 'Macromedia'

find . -name "*Adobe*" -type f -o -name "*Adobe*" -type d -delete
find . -name "*Macromedia*" -type f -o -name "*Macromedia*" -type d -delete
find . -name "*WarnockPro*" -type f -o -delete

# remove the following directories

rm -rf ~/Documents/Updater/
rm -rf ~/Library/Acrobat User Data/
rm -rf ~/Library/Application Support/Adobe
rm -rf ~/Library/Applications/Macromedia
rm -rf ~/Library/Application Support/Macromedia
rm -rf ~/Library/Application Support/Adobe PDF
rm -rf ~/Library/Caches/Acrobat
rm -rf ~/Library/Caches/Adobe
rm -rf ~/Library/Caches/Opera Cache
rm -rf ~/Library/Preferences/Acrobat
rm -rf ~/Library/Preferences/Adobe
rm -rf ~/Library/Preferences/Adobe
rm -rf ~/Library/Preferences/com.adobe
rm -rf ~/Library/Preferences/com.adobe
rm -rf ~/Library/Preferences/com.macromedia
rm -rf ~/Library/Preferences/Dreamweaver
rm -rf ~/Library/Preferences/Opera Preferences
rm -rf ~/Library/PreferencePanes/AdobeVersionCue
rm -rf ~/Library/receipts/com.adobe
rm -rf ~/Library/StartupItems/AdobeVersionCue

exit 0

Aaron
Contributor II

@jwojda That script has the potential to delete user data, if the user was unfortunate enough to use words like "Adobe" in their filenames.

I forget where I got this from, I think it was a combination of a few things, but this is what I use. Disclaimer, I've only used it once (it could probably be done better):

foldersCS6="/Applications/Adobe
/Applications/Adobe Acrobat X Pro
/Applications/Adobe After Effects CS6
/Applications/Adobe Audition CS6
/Applications/Adobe Bridge CS6
/Applications/Adobe Dreamweaver CS6
/Applications/Adobe Encore CS6
/Applications/Adobe Extension Manager CS6
/Applications/Adobe Fireworks CS6
/Applications/Adobe Flash Builder 4.6
/Applications/Adobe Flash CS6
/Applications/Adobe Illustrator CS6
/Applications/Adobe InDesign CS6
/Applications/Adobe Media Encoder CS6
/Applications/Adobe Photoshop CS6
/Applications/Adobe Prelude CS6
/Applications/Adobe Premiere Pro CS6
/Applications/Adobe SpeedGrade CS6
/Applications/Utilities/Adobe Installers
/Applications/Utilities/Adobe AIR Application Installer.app
/Applications/Utilities/Adobe AIR Uninstaller.app
/Applications/Utilities/Adobe Application Manager
/Applications/Utilities/Adobe Utilities-CS6.localized
/Library/Logs/Adobe
/Library/Application Support/Macromedia
/Library/Application Support/Adobe
/Library/ColorSync/Profiles/Recommended/Adobe*
/Library/Internet Plug-Ins/AdobePDFViewer.plugin
/Library/PDF Services/Save as Adobe PDF.app
/Library/Frameworks/Adobe AIR.framework
/Library/Application Support/regid.1986-12.com.adobe
/Library/ScriptingAdditions/Adobe Unit Types.osax
/Library/Automator/Save as Adobe PDF.action
/Users/Shared/Library/Application Support/Adobe
/private/var/root/Library/Preferences/Adobe
/private/var/root/Library/Preferences/Macromedia
/private/var/root/Library/Application Support/Adobe"

filesCS6="/Library/Fonts/ACaslonPro*
/Library/Fonts/AGaramondPro*
/Library/Fonts/AdobeArabic*
/Library/Fonts/AdobeDevanagari*
/Library/Fonts/AdobeFanHeitiStd-Bold.otf
/Library/Fonts/AdobeFangsongStd-Regular.otf
/Library/Fonts/AdobeGothicStd-Bold.otf
/Library/Fonts/AdobeHebrew*
/Library/Fonts/AdobeHeitiStd-Regular.otf
/Library/Fonts/AdobeKaitiStd-Regular.otf
/Library/Fonts/AdobeMingStd-Light.otf
/Library/Fonts/AdobeMyungjoStd-Medium.otf
/Library/Fonts/AdobeNaskh-Medium.otf
/Library/Fonts/AdobeSongStd-Light.otf
/Library/Fonts/BirchStd.otf
/Library/Fonts/BlackoakStd.otf
/Library/Fonts/BrushScriptStd.otf
/Library/Fonts/ChaparralPro*
/Library/Fonts/CharlemagneStd-Bold.otf
/Library/Fonts/CooperBlackStd*
/Library/Fonts/GiddyupStd.otf
/Library/Fonts/HoboStd.otf
/Library/Fonts/KozGoPr6N*
/Library/Fonts/KozGoPro*
/Library/Fonts/KozMinPr6N*
/Library/Fonts/KozMinPro*
/Library/Fonts/LetterGothicStd*
/Library/Fonts/LithosPro*
/Library/Fonts/MesquiteStd.otf
/Library/Fonts/MinionPro*
/Library/Fonts/MyriadArabic*
/Library/Fonts/MyriadHebrew*
/Library/Fonts/MyriadPro*
/Library/Fonts/NuevaStd*
/Library/Fonts/OCRAStd.otf
/Library/Fonts/OratorStd*
/Library/Fonts/PoplarStd.otf
/Library/Fonts/PrestigeEliteStd-Bd.otf
/Library/Fonts/RosewoodStd-Regular.otf
/Library/Fonts/StencilStd.otf
/Library/Fonts/TektonPro*
/Library/Fonts/TrajanPro*
/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist
/Library/LaunchDaemons/com.adobe.SwitchBoard.plist
/Library/Preferences/com.adobe.CSXS.3.plist
/Library/Preferences/com.adobe.Fireworks.12.0.0.plist
/Library/Preferences/com.adobe.PDFAdminSettings.plist
/Library/Preferences/com.adobe.acrobat.pdfviewer.plist
/Library/Preferences/com.adobe.headlights.apip.plist
/private/etc/mach_init_per_user.d/com.adobe.SwitchBoard.monitor.plist"

for item in "$foldersCS6"; do rm -rf "$item"; done
for item in "$filesCS6"; do rm -rf "$item"; done

userFiles="/Users/*/Documents/Updater
/Users/*/Library/Acrobat User Data
/Users/*/Library/Application Support/Adobe
/Users/*/Library/Applications/Macromedia
/Users/*/Library/Application Support/Macromedia
/Users/*/Library/Application Support/Adobe PDF
/Users/*/Library/Caches/Acrobat
/Users/*/Library/Caches/Adobe
/Users/*/Library/Preferences/Acrobat
/Users/*/Library/Preferences/Adobe
/Users/*/Library/Preferences/com.adobe*
/Users/*/Library/Preferences/com.macromedia*
/Users/*/Library/Preferences/Dreamweaver
/Users/*/Library/PreferencePanes/AdobeVersionCue
/Users/*/Library/receipts/com.adobe*
/Users/*/Library/StartupItems/AdobeVersionCue"

for item in "$userFiles"; do rm -rf "$item"; done

krispayne
Contributor

@Aaron @jwojda

I recently had an incident where someone created a policy to run continuously and deploy Adobe CS6.

Here is what I'm using to correct the error:

#!/bin/bash
# Terminate Adobe CS6, with extreme prejudice.
# https://jamfnation.jamfsoftware.com/discussion.html?id=13769

itemsToDelete=( "/Applications/Adobe After Effects CS6/" "/Applications/Adobe Audition CS6/" "/Applications/Adobe Bridge CS6/" "/Applications/Adobe Dreamweaver CS6/" "/Applications/Adobe Encore CS6/" "/Applications/Adobe Extension Manager CS6/" "/Applications/Adobe Fireworks CS6/" "/Applications/Adobe Flash Builder 4.6/" "/Applications/Adobe Flash CS6/" "/Applications/Adobe Illustrator CS6/" "/Applications/Adobe InDesign CS6/" "/Applications/Adobe Media Encoder CS6/" "/Applications/Adobe Photoshop CS6/" "/Applications/Adobe Prelude CS6/" "/Applications/Adobe Premiere Pro CS6/" "/Applications/Adobe SpeedGrade CS6/" "/Library/Logs/Adobe/" "/Library/Application Support/Macromedia/" "/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist" "/Library/LaunchDaemons/com.adobe.SwitchBoard.plist" "/Library/Preferences/com.adobe.CSXS.3.plist" "/Library/Preferences/com.adobe.Fireworks.12.0.0.plist" "/Library/Preferences/com.adobe.headlights.apip.plist" "/private/etc/mach_init_per_user.d/com.adobe.SwitchBoard.monitor.plist" "/Library/Application Support/regid.1986-12.com.adobe" "/Applications/Utilities/Adobe Utilities-CS6.localized" )

# Loop through the array
for i in "${itemsToDelete[@]}"
do
    if [ -e "$i" ]
    then
        rm -rf "$i"
    fi
done

Add whatever you want in the array. We weren't removing Acrobat, as it's not in our CS6 package.

sean
Valued Contributor

When you create a CS6 package through CCP, it also creates an uninstaller. Just run this from Casper.

You might want to check for existence before running as it errors out if nothing is found to remove.

krispayne
Contributor

@sean Our CS6 package was created about 3 years ago before anyone's time at my employer. We'd have to rebuild the package to create an uninstaller from AAMEE, right?

As for the test, I figured the if [ -e "$i" ] line was sufficient to check for the file/dir existence. I manually deleted a directory that's in the array and didn't see any errors. :-/ debugging is hard.

sean
Valued Contributor

You can do it with CCP, then you don't need the initial install media. Just choose archive and you should see the CS6 options and then build.
You'll have to wait for it to create an installer as well, but the uninstaller itself is tiny.

krispayne
Contributor

Good to know! Thanks! @sean

donmontalvo
Esteemed Contributor III

FWIW...from Adobe Gold Support:

Hi Don, For CC versions you should use uninstall the package from CCP. There is no way to reliably, comprehensively and silently remove older versions than that. Thanks, XXXXXXXXXX
--
https://donmontalvo.com