Adobe CS5.5 Uninstall Script

glopez
New Contributor II

I'm having limited success using the Uninstaller.pkg created with AAMEE and the Adobe Cleaner Tool does not eliminate all of the necessary folders/files associated with the programs. With CS4, I used the RemoveCS4 script available in the JAMF Resource Kit written by Nick Amundsen. Nick, you still out there??? Has anyone modified this script to work with CS5 or 5.5 or have something similar? Can you please share if so?

1 ACCEPTED SOLUTION

Mauricio
Contributor II

Hi Gabriel

I have created this script to remove all the Adobe CS files based on the Master Collection Suites (captured via Composer).
This script will remove CS3, CS4, CS5 and CS5.5.
We have been using this to upgrade our clients to the latest CSs via self-service since version 5.
Hope this helps
Regards
Mauricio

#!/usr/bin/perl


####################################################################################################
#   (c) Mauricio Pellizzon 2012
#   AdobeDeleteCSv3.pl
#   version: 3.0
#   revision 3:     14/11/2012 - Added CS5.5 section
#   revision 2:     09/01/2012 - Added CS5 section
#   creation date:  18/09/2011
####################################################################################################

$pathToScript=$0;
$pathToPackage=$ARGV[0];
$targetLocation=$ARGV[1];
$targetVolume=$ARGV[2];
$log="/var/log/jamf.log";
$DATE= localtime(time);
@DATE =split (' ',$DATE);
$DATE=$DATE[0]." ".$DATE[1]."  ".$DATE[2]." ".$DATE[3];

#####################################################################################################
#CS suites, the list is based on Master Collection Suites.

my @foldersCS3=('/Applications/Adobe Acrobat 8 Professional', '/Applications/Adobe After Effects CS3', '/Applications/Adobe Bridge CS3', '/Applications/Adobe Contribute CS3', '/Applications/Adobe Device Central CS3', '/Applications/Adobe Dreamweaver CS3', '/Applications/Adobe Encore CS3', '/Applications/Adobe Extension Manager', '/Applications/Adobe Fireworks CS3', '/Applications/Adobe Flash CS3', '/Applications/Adobe Flash CS3 Video Encoder', '/Applications/Adobe Help Viewer 1.0.app', '/Applications/Adobe Help Viewer 1.1.app', '/Applications/Adobe Illustrator CS3', '/Applications/Adobe InDesign CS3', '/Applications/Adobe Photoshop CS3', '/Applications/Adobe Premiere Pro CS3', '/Applications/Adobe Soundbooth CS3', '/Applications/Adobe Soundbooth Scores', '/Applications/Adobe Stock Photos CS3', '/Applications/Utilities/Adobe Installers', '/Applications/Utilities/Adobe Utilities.localized', '/Library/Application Support/Adobe', '/Library/Application Support/FLEXnet Publisher', '/Library/Application Support/Macromedia/FlashAuthor.cfg', '/Library/Application Support/Macromedia/FlashPlayerTrust', '/Library/Application Support/Synthetic Aperture Adobe Bundle', '/Library/Internet Plug-Ins/AdobePDFViewer.plugin', '/Library/Logs/Adobe', '/Library/PreferencePanes/VersionCueCS3.prefPane', '/Library/Preferences/FLEXnet Publisher', '/Library/Printers/PPD Plugins/AdobePDFPDE800.plugin', '/Library/QuickTime/FLV.component', '/Library/QuickTime/SoundboothScoreCodec.component' ); 
my @filesCS3=('/Library/Fonts/ACaslonPro-Bold.otf', '/Library/Fonts/ACaslonPro-BoldItalic.otf', '/Library/Fonts/ACaslonPro-Italic.otf', '/Library/Fonts/ACaslonPro-Regular.otf', '/Library/Fonts/ACaslonPro-Semibold.otf', '/Library/Fonts/ACaslonPro-SemiboldItalic.otf', '/Library/Fonts/AGaramondPro-Bold.otf', '/Library/Fonts/AGaramondPro-BoldItalic.otf', '/Library/Fonts/AGaramondPro-Italic.otf', '/Library/Fonts/AGaramondPro-Regular.otf', '/Library/Fonts/ArnoPro-Bold.otf', '/Library/Fonts/ArnoPro-BoldCaption.otf', '/Library/Fonts/ArnoPro-BoldDisplay.otf', '/Library/Fonts/ArnoPro-BoldItalic.otf', '/Library/Fonts/ArnoPro-BoldItalicCaption.otf', '/Library/Fonts/ArnoPro-BoldItalicDisplay.otf', '/Library/Fonts/ArnoPro-BoldItalicSmText.otf', '/Library/Fonts/ArnoPro-BoldItalicSubhead.otf', '/Library/Fonts/ArnoPro-BoldSmText.otf', '/Library/Fonts/ArnoPro-BoldSubhead.otf', '/Library/Fonts/ArnoPro-Caption.otf', '/Library/Fonts/ArnoPro-Display.otf', '/Library/Fonts/ArnoPro-Italic.otf', '/Library/Fonts/ArnoPro-ItalicCaption.otf', '/Library/Fonts/ArnoPro-ItalicDisplay.otf', '/Library/Fonts/ArnoPro-ItalicSmText.otf', '/Library/Fonts/ArnoPro-ItalicSubhead.otf', '/Library/Fonts/ArnoPro-LightDisplay.otf', '/Library/Fonts/ArnoPro-LightItalicDisplay.otf', '/Library/Fonts/ArnoPro-Regular.otf', '/Library/Fonts/ArnoPro-Smbd.otf', '/Library/Fonts/ArnoPro-SmbdCaption.otf', '/Library/Fonts/ArnoPro-SmbdDisplay.otf', '/Library/Fonts/ArnoPro-SmbdItalic.otf', '/Library/Fonts/ArnoPro-SmbdItalicCaption.otf', '/Library/Fonts/ArnoPro-SmbdItalicDisplay.otf', '/Library/Fonts/ArnoPro-SmbdItalicSmText.otf', '/Library/Fonts/ArnoPro-SmbdItalicSubhead.otf', '/Library/Fonts/ArnoPro-SmbdSmText.otf', '/Library/Fonts/ArnoPro-SmbdSubhead.otf', '/Library/Fonts/ArnoPro-SmText.otf', '/Library/Fonts/ArnoPro-Subhead.otf', '/Library/Fonts/BellGothicStd-Black.otf', '/Library/Fonts/BellGothicStd-Bold.otf', '/Library/Fonts/BickhamScriptPro-Bold.otf', '/Library/Fonts/BickhamScriptPro-Regular.otf', '/Library/Fonts/BickhamScriptPro-Semibold.otf', '/Library/Fonts/BirchStd.otf', '/Library/Fonts/BlackoakStd.otf', '/Library/Fonts/BrushScriptStd.otf', '/Library/Fonts/ChaparralPro-Bold.otf', '/Library/Fonts/ChaparralPro-BoldIt.otf', '/Library/Fonts/ChaparralPro-Italic.otf', '/Library/Fonts/ChaparralPro-Regular.otf', '/Library/Fonts/CharlemagneStd-Bold.otf', '/Library/Fonts/CooperBlackStd-Italic.otf', '/Library/Fonts/CooperBlackStd.otf', '/Library/Fonts/EccentricStd.otf', '/Library/Fonts/GaramondPremrPro-It.otf', '/Library/Fonts/GaramondPremrPro-Smbd.otf', '/Library/Fonts/GaramondPremrPro-SmbdIt.otf', '/Library/Fonts/GaramondPremrPro.otf', '/Library/Fonts/GiddyupStd.otf', '/Library/Fonts/HoboStd.otf', '/Library/Fonts/KozGoPro-Bold.otf', '/Library/Fonts/KozGoPro-ExtraLight.otf', '/Library/Fonts/KozGoPro-Heavy.otf', '/Library/Fonts/KozGoPro-Light.otf', '/Library/Fonts/KozGoPro-Medium.otf', '/Library/Fonts/KozGoPro-Regular.otf', '/Library/Fonts/KozMinPro-Bold.otf', '/Library/Fonts/KozMinPro-ExtraLight.otf', '/Library/Fonts/KozMinPro-Heavy.otf', '/Library/Fonts/KozMinPro-Light.otf', '/Library/Fonts/KozMinPro-Medium.otf', '/Library/Fonts/KozMinPro-Regular.otf', '/Library/Fonts/LetterGothicStd-Bold.otf', '/Library/Fonts/LetterGothicStd-BoldSlanted.otf', '/Library/Fonts/LetterGothicStd-Slanted.otf', '/Library/Fonts/LetterGothicStd.otf', '/Library/Fonts/LithosPro-Black.otf', '/Library/Fonts/LithosPro-Regular.otf', '/Library/Fonts/MesquiteStd.otf', '/Library/Fonts/MinionPro-Bold.otf', '/Library/Fonts/MinionPro-BoldCn.otf', '/Library/Fonts/MinionPro-BoldCnIt.otf', '/Library/Fonts/MinionPro-BoldIt.otf', '/Library/Fonts/MinionPro-It.otf', '/Library/Fonts/MinionPro-Medium.otf', '/Library/Fonts/MinionPro-MediumIt.otf', '/Library/Fonts/MinionPro-Regular.otf', '/Library/Fonts/MinionPro-Semibold.otf', '/Library/Fonts/MinionPro-SemiboldIt.otf', '/Library/Fonts/MyriadPro-Bold.otf', '/Library/Fonts/MyriadPro-BoldCond.otf', '/Library/Fonts/MyriadPro-BoldCondIt.otf', '/Library/Fonts/MyriadPro-BoldIt.otf', '/Library/Fonts/MyriadPro-Cond.otf', '/Library/Fonts/MyriadPro-CondIt.otf', '/Library/Fonts/MyriadPro-It.otf', '/Library/Fonts/MyriadPro-Regular.otf', '/Library/Fonts/MyriadPro-Semibold.otf', '/Library/Fonts/MyriadPro-SemiboldIt.otf', '/Library/Fonts/NuevaStd-BoldCond.otf', '/Library/Fonts/NuevaStd-BoldCondItalic.otf', '/Library/Fonts/NuevaStd-Cond.otf', '/Library/Fonts/NuevaStd-CondItalic.otf', '/Library/Fonts/OCRAStd.otf', '/Library/Fonts/OratorStd-Slanted.otf', '/Library/Fonts/OratorStd.otf', '/Library/Fonts/PoplarStd.otf', '/Library/Fonts/PrestigeEliteStd-Bd.otf', '/Library/Fonts/RosewoodStd-Regular.otf', '/Library/Fonts/StencilStd.otf', '/Library/Fonts/TektonPro-Bold.otf', '/Library/Fonts/TektonPro-BoldCond.otf', '/Library/Fonts/TektonPro-BoldExt.otf', '/Library/Fonts/TektonPro-BoldObl.otf', '/Library/Fonts/TrajanPro-Bold.otf', '/Library/Fonts/TrajanPro-Regular.otf', '/Library/LaunchDaemons/com.adobe.versioncueCS3.plist', '/Library/Preferences/com.adobe.acrobat.pdfviewer.plist', '/Library/Preferences/com.adobe.PDFAdminSettings.plist', '/Library/Preferences/com.Adobe.Premiere Pro.3.0.plist', '/Library/Preferences/com.adobe.versioncueCS3.plist', '/Library/Printers/PPDs/Contents/Resources/en.lproj/ADPDF8.PPD', '/Library/Printers/PPDs/Contents/Resources/ja.lproj/ADPDF8J.PPD', '/Library/Printers/PPDs/Contents/Resources/ko.lproj/ADPDF8K.PPD', '/Library/Printers/PPDs/Contents/Resources/zh_CN.lproj/ADPDF8CS.PPD', '/Library/Printers/PPDs/Contents/Resources/zh_TW.lproj/ADPDF8CT.PPD', '/private/etc/cups/ppd/AdobePDF8.ppd', '/private/etc/mach_init_per_user.d/com.adobe.versioncueCS3.monitor.plist', '/usr/libexec/cups/backend/pdf800');
my @foldersCS4=('/Applications/Adobe', '/Applications/Adobe Acrobat 9 Pro', '/Applications/Adobe After Effects CS4', '/Applications/Adobe Bridge CS4', '/Applications/Adobe Contribute CS4', '/Applications/Adobe Device Central CS4', '/Applications/Adobe Dreamweaver CS4', '/Applications/Adobe Drive CS4', '/Applications/Adobe Encore CS4', '/Applications/Adobe Extension Manager CS4', '/Applications/Adobe Fireworks CS4', '/Applications/Adobe Flash CS4', '/Applications/Adobe Illustrator CS4', '/Applications/Adobe InDesign CS4', '/Applications/Adobe Media Encoder CS4', '/Applications/Adobe Media Player.app', '/Applications/Adobe OnLocation CS4', '/Applications/Adobe Photoshop CS4', '/Applications/Adobe Premiere Pro CS4', '/Applications/Adobe Soundbooth CS4', '/Applications/Adobe Soundbooth Scores', '/Applications/Utilities/Adobe AIR Application Installer.app', '/Applications/Utilities/Adobe AIR Uninstaller.app', '/Applications/Utilities/Adobe Installers', '/Applications/Utilities/Adobe Utilities.localized', '/Library/Application Support/.Macrovision11.5.0.0 build 56285.uct2', '/Library/Application Support/Adobe', '/Library/Application Support/FLEXnet Publisher', '/Library/Application Support/Macromedia/FlashAuthor.cfg', '/Library/Application Support/Macromedia/FlashPlayerTrust', '/Library/Application Support/Synthetic Aperture Adobe CS4 Bundle', '/Library/ColorSync/Profiles/Profiles', '/Library/ColorSync/Profiles/Recommended', '/Library/Contextual Menu Items/ADFSMenu.plugin', '/Library/Frameworks/Adobe AIR.framework', '/Library/Internet Plug-Ins/AdobePDFViewer.plugin', '/Library/Internet Plug-Ins/npContributeMac.bundle', '/Library/Logs/Adobe', '/Library/PreferencePanes/VersionCueCS4.prefPane', '/Library/Preferences/FLEXnet Publisher', '/Library/Printers/PPD Plugins/AdobePDFPDE900.plugin', '/Library/QuickTime/SoundboothScoreCodec.component', '/Library/ScriptingAdditions/Adobe Unit Types.osax', '/Users/Shared/Adobe', '/Users/Shared/Library/Application Support/Adobe');
my @filesCS4=('/Library/Filesystems/AdobeDriveCS4.fs', '/Library/Fonts/ACaslonPro-Bold.otf', '/Library/Fonts/ACaslonPro-BoldItalic.otf', '/Library/Fonts/ACaslonPro-Italic.otf', '/Library/Fonts/ACaslonPro-Regular.otf', '/Library/Fonts/ACaslonPro-Semibold.otf', '/Library/Fonts/ACaslonPro-SemiboldItalic.otf', '/Library/Fonts/AdobeFangsongStd-Regular.otf', '/Library/Fonts/AdobeHeitiStd-Regular.otf', '/Library/Fonts/AdobeKaitiStd-Regular.otf', '/Library/Fonts/AdobeMingStd-Light.otf', '/Library/Fonts/AdobeMyungjoStd-Medium.otf', '/Library/Fonts/AdobeSongStd-Light.otf', '/Library/Fonts/AGaramondPro-Bold.otf', '/Library/Fonts/AGaramondPro-BoldItalic.otf', '/Library/Fonts/AGaramondPro-Italic.otf', '/Library/Fonts/AGaramondPro-Regular.otf', '/Library/Fonts/BellGothicStd-Black.otf', '/Library/Fonts/BellGothicStd-Bold.otf', '/Library/Fonts/BirchStd.otf', '/Library/Fonts/BlackoakStd.otf', '/Library/Fonts/BrushScriptStd.otf', '/Library/Fonts/ChaparralPro-Bold.otf', '/Library/Fonts/ChaparralPro-BoldIt.otf', '/Library/Fonts/ChaparralPro-Italic.otf', '/Library/Fonts/ChaparralPro-Regular.otf', '/Library/Fonts/CharlemagneStd-Bold.otf', '/Library/Fonts/CooperBlackStd-Italic.otf', '/Library/Fonts/CooperBlackStd.otf', '/Library/Fonts/EccentricStd.otf', '/Library/Fonts/GiddyupStd.otf', '/Library/Fonts/HoboStd.otf', '/Library/Fonts/KozGoPro-Bold.otf', '/Library/Fonts/KozGoPro-ExtraLight.otf', '/Library/Fonts/KozGoPro-Heavy.otf', '/Library/Fonts/KozGoPro-Light.otf', '/Library/Fonts/KozGoPro-Medium.otf', '/Library/Fonts/KozGoPro-Regular.otf', '/Library/Fonts/KozMinPro-Bold.otf', '/Library/Fonts/KozMinPro-ExtraLight.otf', '/Library/Fonts/KozMinPro-Heavy.otf', '/Library/Fonts/KozMinPro-Light.otf', '/Library/Fonts/KozMinPro-Medium.otf', '/Library/Fonts/KozMinPro-Regular.otf', '/Library/Fonts/LetterGothicStd-Bold.otf', '/Library/Fonts/LetterGothicStd-BoldSlanted.otf', '/Library/Fonts/LetterGothicStd-Slanted.otf', '/Library/Fonts/LetterGothicStd.otf', '/Library/Fonts/LithosPro-Black.otf', '/Library/Fonts/LithosPro-Regular.otf', '/Library/Fonts/MesquiteStd.otf', '/Library/Fonts/MinionPro-Bold.otf', '/Library/Fonts/MinionPro-BoldCn.otf', '/Library/Fonts/MinionPro-BoldCnIt.otf', '/Library/Fonts/MinionPro-BoldIt.otf', '/Library/Fonts/MinionPro-It.otf', '/Library/Fonts/MinionPro-Medium.otf', '/Library/Fonts/MinionPro-MediumIt.otf', '/Library/Fonts/MinionPro-Regular.otf', '/Library/Fonts/MinionPro-Semibold.otf', '/Library/Fonts/MinionPro-SemiboldIt.otf', '/Library/Fonts/MyriadPro-Bold.otf', '/Library/Fonts/MyriadPro-BoldCond.otf', '/Library/Fonts/MyriadPro-BoldCondIt.otf', '/Library/Fonts/MyriadPro-BoldIt.otf', '/Library/Fonts/MyriadPro-Cond.otf', '/Library/Fonts/MyriadPro-CondIt.otf', '/Library/Fonts/MyriadPro-It.otf', '/Library/Fonts/MyriadPro-Regular.otf', '/Library/Fonts/MyriadPro-Semibold.otf', '/Library/Fonts/MyriadPro-SemiboldIt.otf', '/Library/Fonts/NuevaStd-BoldCond.otf', '/Library/Fonts/NuevaStd-BoldCondItalic.otf', '/Library/Fonts/NuevaStd-Cond.otf', '/Library/Fonts/NuevaStd-CondItalic.otf', '/Library/Fonts/OCRAStd.otf', '/Library/Fonts/OratorStd-Slanted.otf', '/Library/Fonts/OratorStd.otf', '/Library/Fonts/PoplarStd.otf', '/Library/Fonts/PrestigeEliteStd-Bd.otf', '/Library/Fonts/RosewoodStd-Regular.otf', '/Library/Fonts/StencilStd.otf', '/Library/Fonts/TektonPro-Bold.otf', '/Library/Fonts/TektonPro-BoldCond.otf', '/Library/Fonts/TektonPro-BoldExt.otf', '/Library/Fonts/TektonPro-BoldObl.otf', '/Library/Fonts/TrajanPro-Bold.otf', '/Library/Fonts/TrajanPro-Regular.otf', '/Library/LaunchAgents/com.adobe.CS4ServiceManager.plist', '/Library/LaunchDaemons/com.adobe.versioncueCS4.plist', '/Library/Preferences/com.adobe.acrobat.pdfviewer.plist', '/Library/Preferences/com.adobe.AdobeOnlineHelp.plist', '/Library/Preferences/com.adobe.PDFAdminSettings.plist', '/Library/Preferences/com.adobe.versioncueCS4.plist', '/Library/Preferences/com.apple.audio.AggregateDevices.plist', '/Library/Printers/PPDs/Contents/Resources/en.lproj/ADPDF9.PPD', '/Library/Printers/PPDs/Contents/Resources/ja.lproj/ADPDF9J.PPD', '/Library/Printers/PPDs/Contents/Resources/ko.lproj/ADPDF9K.PPD', '/Library/Printers/PPDs/Contents/Resources/zn_CN.lproj/ADPDF9CS.PPD', '/Library/Printers/PPDs/Contents/Resources/zn_TW.lproj/ADPDF9CT.PPD', '/private/etc/cups/ppd/AdobePDF9.ppd', '/private/etc/mach_init_per_user.d/com.adobe.versioncueCS4.monitor.plist', '/usr/libexec/cups/backend/pdf900');
my @foldersCS5=('/Applications/Adobe', '/Applications/Adobe Acrobat 9 Pro', '/Applications/Adobe Acrobat X Pro', '/Applications/Adobe After Effects CS5', '/Applications/Adobe Bridge CS5', '/Applications/Adobe Contribute CS5', '/Applications/Adobe Device Central CS5', '/Applications/Adobe Dreamweaver CS5', '/Applications/Adobe Encore CS5', '/Applications/Adobe Extension Manager CS5', '/Applications/Adobe Fireworks CS5', '/Applications/Adobe Flash Builder 4', '/Applications/Adobe Flash Catalyst CS5', '/Applications/Adobe Flash CS5', '/Applications/Adobe Illustrator CS5', '/Applications/Adobe InDesign CS5', '/Applications/Adobe Media Encoder CS5', '/Applications/Adobe Media Player.app', '/Applications/Adobe OnLocation CS5', '/Applications/Adobe Photoshop CS5', '/Applications/Adobe Premiere Pro CS5', '/Applications/Adobe Soundbooth CS5', '/Applications/Utilities/Adobe AIR Application Installer.app', '/Applications/Utilities/Adobe AIR Uninstaller.app', '/Applications/Utilities/Adobe Installers', '/Applications/Utilities/Adobe Utilities-CS5.localized', '/Applications/osx', '/Library/Application Support/Adobe', '/Library/Application Support/Macromedia/.rskya9250.bin', '/Library/Application Support/Macromedia/FlashAuthor.cfg', '/Library/Application Support/Macromedia/FlashPlayerTrust', '/Library/Application Support/Mozilla', '/Library/Application Support/PACE Anti-Piracy', '/Library/Application Support/regid.1986-12.com.adobe', '/Library/Application Support/Synthetic Aperture Adobe CS5 Bundle', '/Library/ColorSync/Profiles/Profiles', '/Library/ColorSync/Profiles/Recommended', '/Library/Frameworks/Adobe AIR.framework', '/Library/Internet Plug-Ins/Flash Player.plugin', '/Library/Internet Plug-Ins/npContributeMac.bundle', '/Library/Logs/Adobe', '/Library/QuickTime/SoundboothScoreCodec.component', '/Library/ScriptingAdditions/Adobe Unit Types.osax', '/Users/Shared/Adobe', '/Users/Shared/Library');
my @filesCS5=('/Library/Fonts/ACaslonPro-Bold.otf', '/Library/Fonts/ACaslonPro-BoldItalic.otf', '/Library/Fonts/ACaslonPro-Italic.otf', '/Library/Fonts/ACaslonPro-Regular.otf', '/Library/Fonts/ACaslonPro-Semibold.otf', '/Library/Fonts/ACaslonPro-SemiboldItalic.otf', '/Library/Fonts/AdobeArabic-Bold.otf', '/Library/Fonts/AdobeArabic-BoldItalic.otf', '/Library/Fonts/AdobeArabic-Italic.otf', '/Library/Fonts/AdobeArabic-Regular.otf', '/Library/Fonts/AdobeFangsongStd-Regular.otf', '/Library/Fonts/AdobeFanHeitiStd-Bold.otf', '/Library/Fonts/AdobeGothicStd-Bold.otf', '/Library/Fonts/AdobeHebrew-Bold.otf', '/Library/Fonts/AdobeHebrew-BoldItalic.otf', '/Library/Fonts/AdobeHebrew-Italic.otf', '/Library/Fonts/AdobeHebrew-Regular.otf', '/Library/Fonts/AdobeHeitiStd-Regular.otf', '/Library/Fonts/AdobeKaitiStd-Regular.otf', '/Library/Fonts/AdobeMingStd-Light.otf', '/Library/Fonts/AdobeMyungjoStd-Medium.otf', '/Library/Fonts/AdobeSongStd-Light.otf', '/Library/Fonts/AGaramondPro-Bold.otf', '/Library/Fonts/AGaramondPro-BoldItalic.otf', '/Library/Fonts/AGaramondPro-Italic.otf', '/Library/Fonts/AGaramondPro-Regular.otf', '/Library/Fonts/BirchStd.otf', '/Library/Fonts/BlackoakStd.otf', '/Library/Fonts/BrushScriptStd.otf', '/Library/Fonts/ChaparralPro-Bold.otf', '/Library/Fonts/ChaparralPro-BoldIt.otf', '/Library/Fonts/ChaparralPro-Italic.otf', '/Library/Fonts/ChaparralPro-Regular.otf', '/Library/Fonts/CharlemagneStd-Bold.otf', '/Library/Fonts/CooperBlackStd-Italic.otf', '/Library/Fonts/CooperBlackStd.otf', '/Library/Fonts/GiddyupStd.otf', '/Library/Fonts/HoboStd.otf', '/Library/Fonts/KozGoPr6N-Bold.otf', '/Library/Fonts/KozGoPr6N-ExtraLight.otf', '/Library/Fonts/KozGoPr6N-Heavy.otf', '/Library/Fonts/KozGoPr6N-Light.otf', '/Library/Fonts/KozGoPr6N-Medium.otf', '/Library/Fonts/KozGoPr6N-Regular.otf', '/Library/Fonts/KozGoPro-Bold.otf', '/Library/Fonts/KozGoPro-ExtraLight.otf', '/Library/Fonts/KozGoPro-Heavy.otf', '/Library/Fonts/KozGoPro-Light.otf', '/Library/Fonts/KozGoPro-Medium.otf', '/Library/Fonts/KozGoPro-Regular.otf', '/Library/Fonts/KozMinPr6N-Bold.otf', '/Library/Fonts/KozMinPr6N-ExtraLight.otf', '/Library/Fonts/KozMinPr6N-Heavy.otf', '/Library/Fonts/KozMinPr6N-Light.otf', '/Library/Fonts/KozMinPr6N-Medium.otf', '/Library/Fonts/KozMinPr6N-Regular.otf', '/Library/Fonts/KozMinPro-Bold.otf', '/Library/Fonts/KozMinPro-ExtraLight.otf', '/Library/Fonts/KozMinPro-Heavy.otf', '/Library/Fonts/KozMinPro-Light.otf', '/Library/Fonts/KozMinPro-Medium.otf', '/Library/Fonts/KozMinPro-Regular.otf', '/Library/Fonts/LetterGothicStd-Bold.otf', '/Library/Fonts/LetterGothicStd-BoldSlanted.otf', '/Library/Fonts/LetterGothicStd-Slanted.otf', '/Library/Fonts/LetterGothicStd.otf', '/Library/Fonts/LithosPro-Black.otf', '/Library/Fonts/LithosPro-Regular.otf', '/Library/Fonts/MesquiteStd.otf', '/Library/Fonts/MinionPro-Bold.otf', '/Library/Fonts/MinionPro-BoldCn.otf', '/Library/Fonts/MinionPro-BoldCnIt.otf', '/Library/Fonts/MinionPro-BoldIt.otf', '/Library/Fonts/MinionPro-It.otf', '/Library/Fonts/MinionPro-Medium.otf', '/Library/Fonts/MinionPro-MediumIt.otf', '/Library/Fonts/MinionPro-Regular.otf', '/Library/Fonts/MinionPro-Semibold.otf', '/Library/Fonts/MinionPro-SemiboldIt.otf', '/Library/Fonts/MyriadPro-Bold.otf', '/Library/Fonts/MyriadPro-BoldCond.otf', '/Library/Fonts/MyriadPro-BoldCondIt.otf', '/Library/Fonts/MyriadPro-BoldIt.otf', '/Library/Fonts/MyriadPro-Cond.otf', '/Library/Fonts/MyriadPro-CondIt.otf', '/Library/Fonts/MyriadPro-It.otf', '/Library/Fonts/MyriadPro-Regular.otf', '/Library/Fonts/MyriadPro-Semibold.otf', '/Library/Fonts/MyriadPro-SemiboldIt.otf', '/Library/Fonts/MyriadWebPro-Bold.ttf', '/Library/Fonts/MyriadWebPro-Italic.ttf', '/Library/Fonts/MyriadWebPro.ttf', '/Library/Fonts/NuevaStd-BoldCond.otf', '/Library/Fonts/NuevaStd-BoldCondItalic.otf', '/Library/Fonts/NuevaStd-Cond.otf', '/Library/Fonts/NuevaStd-CondItalic.otf', '/Library/Fonts/OCRAStd.otf', '/Library/Fonts/OratorStd-Slanted.otf', '/Library/Fonts/OratorStd.otf', '/Library/Fonts/PoplarStd.otf', '/Library/Fonts/PrestigeEliteStd-Bd.otf', '/Library/Fonts/RosewoodStd-Regular.otf', '/Library/Fonts/StencilStd.otf', '/Library/Fonts/TektonPro-Bold.otf', '/Library/Fonts/TektonPro-BoldCond.otf', '/Library/Fonts/TektonPro-BoldExt.otf', '/Library/Fonts/TektonPro-BoldObl.otf', '/Library/Fonts/TrajanPro-Bold.otf', '/Library/Fonts/TrajanPro-Regular.otf', '/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist', '/Library/LaunchAgents/com.adobe.CS5ServiceManager.plist', '/Library/LaunchDaemons/com.adobe.SwitchBoard.plist', '/Library/Preferences/com.adobe.acrobat.pdfviewer.plist', '/Library/Preferences/com.adobe.headlights.apip.plist', '/Library/Preferences/com.adobe.Illustrator.15.0.2.plist', '/Library/Preferences/com.adobe.InDesign.7.0.3.plist', '/Library/Preferences/com.adobe.Contribute.6.0.plist', '/Library/Preferences/com.adobe.CSXS2Preferences.plist', '/Library/Preferences/com.adobe.Dreamweaver.11.plist', '/Library/Preferences/com.adobe.Fireworks.11.0.0.plist', '/Library/Preferences/com.adobe.Illustrator.15.0.0.plist', '/Library/Preferences/com.adobe.InDesign.7.0.plist', '/Library/Preferences/com.adobe.PDFAdminSettings.plist', '/Library/Preferences/com.apple.audio.AggregateDevices.plist', '/Library/Preferences/com.apple.mediaio.DeviceSettings.plist', '/Library/Preferences/com.masi.ddpp.plist', '/private/etc/mach_init_per_user.d/com.adobe.SwitchBoard.monitor.plist');
my @foldersCS55=('/Applications/Adobe Acrobat X Pro', '/Applications/Adobe After Effects CS5.5', '/Applications/Adobe Audition CS5.5', '/Applications/Adobe Bridge CS5.1', '/Applications/Adobe Contribute CS5.1', '/Applications/Adobe Device Central CS5.5', '/Applications/Adobe Dreamweaver CS5.5', '/Applications/Adobe Encore CS5.1', '/Applications/Adobe Extension Manager CS5.5', '/Applications/Adobe Fireworks CS5.1', '/Applications/Adobe Flash Builder 4.5', '/Applications/Adobe Flash Catalyst CS5.5', '/Applications/Adobe Flash CS5.5', '/Applications/Adobe Illustrator CS5.1', '/Applications/Adobe InDesign CS5.5', '/Applications/Adobe Media Encoder CS5.5', '/Applications/Adobe OnLocation CS5.1', '/Applications/Adobe Photoshop CS5.1', '/Applications/Adobe Premiere Pro CS5.5', '/Applications/Adobe Story.app', '/Applications/Adobe', '/Applications/Utilities/Adobe AIR Application Installer.app', '/Applications/Utilities/Adobe AIR Uninstaller.app', '/Applications/Utilities/Adobe Installers', '/Applications/Utilities/Adobe Utilities-CS5.5.localized', '/Library/Application Support/Adobe', '/Library/Application Support/Macromedia', '/Library/Application Support/regid.1986-12.com.adobe', '/Library/Application Support/Synthetic Aperture Adobe CS5.5 Bundle', '/Library/Automator/Save as Adobe PDF.action', '/Library/ColorSync/Profiles/Profiles', '/Library/ColorSync/Profiles/Recommended', '/Library/Frameworks/Adobe AIR.framework', '/Library/Internet Plug-Ins/Flash Player.plugin', '/Library/Internet Plug-Ins/npContributeMac.bundle', '/Library/Logs/Adobe', '/Library/PDF Services/Save as Adobe PDF.app', '/Library/ScriptingAdditions/Adobe Unit Types.osax', '/private/var/root/Library/Preferences/Macromedia', '/Users/Shared/Library/Application Support/Adobe');
my @filesCS55=('/Library/Fonts/ACaslonPro-Bold.otf', '/Library/Fonts/ACaslonPro-BoldItalic.otf', '/Library/Fonts/ACaslonPro-Italic.otf', '/Library/Fonts/ACaslonPro-Regular.otf', '/Library/Fonts/ACaslonPro-Semibold.otf', '/Library/Fonts/ACaslonPro-SemiboldItalic.otf', '/Library/Fonts/AdobeArabic-Bold.otf', '/Library/Fonts/AdobeArabic-BoldItalic.otf', '/Library/Fonts/AdobeArabic-Italic.otf', '/Library/Fonts/AdobeArabic-Regular.otf', '/Library/Fonts/AdobeFangsongStd-Regular.otf', '/Library/Fonts/AdobeFanHeitiStd-Bold.otf', '/Library/Fonts/AdobeGothicStd-Bold.otf', '/Library/Fonts/AdobeHebrew-Bold.otf', '/Library/Fonts/AdobeHebrew-BoldItalic.otf', '/Library/Fonts/AdobeHebrew-Italic.otf', '/Library/Fonts/AdobeHebrew-Regular.otf', '/Library/Fonts/AdobeHeitiStd-Regular.otf', '/Library/Fonts/AdobeKaitiStd-Regular.otf', '/Library/Fonts/AdobeMingStd-Light.otf', '/Library/Fonts/AdobeMyungjoStd-Medium.otf', '/Library/Fonts/AdobeSongStd-Light.otf', '/Library/Fonts/AGaramondPro-Bold.otf', '/Library/Fonts/AGaramondPro-BoldItalic.otf', '/Library/Fonts/AGaramondPro-Italic.otf', '/Library/Fonts/AGaramondPro-Regular.otf', '/Library/Fonts/BirchStd.otf', '/Library/Fonts/BlackoakStd.otf', '/Library/Fonts/BrushScriptStd.otf', '/Library/Fonts/ChaparralPro-Bold.otf', '/Library/Fonts/ChaparralPro-BoldIt.otf', '/Library/Fonts/ChaparralPro-Italic.otf', '/Library/Fonts/ChaparralPro-Regular.otf', '/Library/Fonts/CharlemagneStd-Bold.otf', '/Library/Fonts/CooperBlackStd-Italic.otf', '/Library/Fonts/CooperBlackStd.otf', '/Library/Fonts/GiddyupStd.otf', '/Library/Fonts/HoboStd.otf', '/Library/Fonts/KozGoPr6N-Bold.otf', '/Library/Fonts/KozGoPr6N-ExtraLight.otf', '/Library/Fonts/KozGoPr6N-Heavy.otf', '/Library/Fonts/KozGoPr6N-Light.otf', '/Library/Fonts/KozGoPr6N-Medium.otf', '/Library/Fonts/KozGoPr6N-Regular.otf', '/Library/Fonts/KozGoPro-Bold.otf', '/Library/Fonts/KozGoPro-ExtraLight.otf', '/Library/Fonts/KozGoPro-Heavy.otf', '/Library/Fonts/KozGoPro-Light.otf', '/Library/Fonts/KozGoPro-Medium.otf', '/Library/Fonts/KozGoPro-Regular.otf', '/Library/Fonts/KozMinPr6N-Bold.otf', '/Library/Fonts/KozMinPr6N-ExtraLight.otf', '/Library/Fonts/KozMinPr6N-Heavy.otf', '/Library/Fonts/KozMinPr6N-Light.otf', '/Library/Fonts/KozMinPr6N-Medium.otf', '/Library/Fonts/KozMinPr6N-Regular.otf', '/Library/Fonts/KozMinPro-Bold.otf', '/Library/Fonts/KozMinPro-ExtraLight.otf', '/Library/Fonts/KozMinPro-Heavy.otf', '/Library/Fonts/KozMinPro-Light.otf', '/Library/Fonts/KozMinPro-Medium.otf', '/Library/Fonts/KozMinPro-Regular.otf', '/Library/Fonts/LetterGothicStd-Bold.otf', '/Library/Fonts/LetterGothicStd-BoldSlanted.otf', '/Library/Fonts/LetterGothicStd-Slanted.otf', '/Library/Fonts/LetterGothicStd.otf', '/Library/Fonts/LithosPro-Black.otf', '/Library/Fonts/LithosPro-Regular.otf', '/Library/Fonts/MesquiteStd.otf', '/Library/Fonts/MinionPro-Bold.otf', '/Library/Fonts/MinionPro-BoldCn.otf', '/Library/Fonts/MinionPro-BoldCnIt.otf', '/Library/Fonts/MinionPro-BoldIt.otf', '/Library/Fonts/MinionPro-It.otf', '/Library/Fonts/MinionPro-Medium.otf', '/Library/Fonts/MinionPro-MediumIt.otf', '/Library/Fonts/MinionPro-Regular.otf', '/Library/Fonts/MinionPro-Semibold.otf', '/Library/Fonts/MinionPro-SemiboldIt.otf', '/Library/Fonts/MyriadPro-Bold.otf', '/Library/Fonts/MyriadPro-BoldCond.otf', '/Library/Fonts/MyriadPro-BoldCondIt.otf', '/Library/Fonts/MyriadPro-BoldIt.otf', '/Library/Fonts/MyriadPro-Cond.otf', '/Library/Fonts/MyriadPro-CondIt.otf', '/Library/Fonts/MyriadPro-It.otf', '/Library/Fonts/MyriadPro-Regular.otf', '/Library/Fonts/MyriadPro-Semibold.otf', '/Library/Fonts/MyriadPro-SemiboldIt.otf', '/Library/Fonts/MyriadWebPro-Bold.ttf', '/Library/Fonts/MyriadWebPro-Italic.ttf', '/Library/Fonts/MyriadWebPro.ttf', '/Library/Fonts/NuevaStd-BoldCond.otf', '/Library/Fonts/NuevaStd-BoldCondItalic.otf', '/Library/Fonts/NuevaStd-Cond.otf', '/Library/Fonts/NuevaStd-CondItalic.otf', '/Library/Fonts/OCRAStd.otf', '/Library/Fonts/OratorStd-Slanted.otf', '/Library/Fonts/OratorStd.otf', '/Library/Fonts/PoplarStd.otf', '/Library/Fonts/PrestigeEliteStd-Bd.otf', '/Library/Fonts/RosewoodStd-Regular.otf', '/Library/Fonts/StencilStd.otf', '/Library/Fonts/TektonPro-Bold.otf', '/Library/Fonts/TektonPro-BoldCond.otf', '/Library/Fonts/TektonPro-BoldExt.otf', '/Library/Fonts/TektonPro-BoldObl.otf', '/Library/Fonts/TrajanPro-Bold.otf', '/Library/Fonts/TrajanPro-Regular.otf', '/Library/Internet Plug-Ins/flashplayer.xpt', '/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist', '/Library/LaunchDaemons/com.adobe.SwitchBoard.plist', '/Library/Preferences/com.adobe.Contribute.6.1.plist', '/Library/Preferences/com.adobe.CSXS.2.5.plist', '/Library/Preferences/com.adobe.Dreamweaver.11.5.plist', '/Library/Preferences/com.adobe.Fireworks.11.1.0.plist', '/Library/Preferences/com.adobe.headlights.apip.plist.lockfile', '/Library/Preferences/com.adobe.headlights.apip.plist', '/Library/Preferences/com.adobe.Illustrator.15.1.0.plist', '/Library/Preferences/com.adobe.InDesign.7.5.1.plist', '/Library/Preferences/com.adobe.InDesign.7.5.plist', '/Library/Preferences/com.adobe.PDFAdminSettings.plist', '/private/etc/mach_init_per_user.d/com.adobe.SwitchBoard.monitor.plist', '/private/var/root/Library/Preferences/com.apple.loginwindow.plist.lockfile', '/private/var/root/Library/Preferences/com.apple.loginwindow.plist');

my %hash = ("3" => {"files" => @filesCS3,
                    "folders" => @foldersCS3},
            "4" => {"files" => @filesCS4,
                    "folders" => @foldersCS4},
            "5" => {"files" => @filesCS5,
                    "folders" => @foldersCS5},
            "5.5" => {"files" => @filesCS55,
                    "folders" => @foldersCS55}
                                                );

####################################################################################################
open(LOG, ">>$log") || die "Can't open file: $!
";
# check for the version of the CS, using Flash as reference. Photoshop was used before CS5.5.
my $dirname = "/Applications/";
my $file;
my $dir;
opendir(DIR, $dirname) or die "can't opendir $dirname: $!";
while (defined($file = readdir(DIR))) {
     if (-d "$dirname$file" && "$dirname$file" =~ /Adobe Flash CS([0-9].[0-9])/gi || "$dirname$file" =~ /Adobe Flash CS([0-9])/gi) {
     print LOG "$DATE 		 Adobe Creative Suite Software installed is CS$1. 
";
            &checkversion($1);
    }
}
close (LOG);
####################################################################################################

sub checkversion {
    my $version = shift;
    if ($version == 3) {
        print LOG "$DATE 		 Deleting Adobe CS$version... 
";
        &deleteCS($version);
    }
    elsif ($version == 4) {
        print LOG "$DATE 		 Deleting Adobe CS$version... 
";
        &deleteCS($version);
    }
    elsif ($version == 5) {
        print LOG "$DATE 		 Deleting Adobe CS$version... 
";
        &deleteCS($version);
    }
    elsif ($version == 5.5) {
        print LOG "$DATE 		 Deleting Adobe CS$version... 
";
        &deleteCS($version);
    }
    else {
        print LOG "$DATE 		 CS Suite version is CS$version 
";
    }
}

####################################################################################################

sub deleteCS {
    my $version = shift;
    my @files = @{$hash{$version}{"files"}};
    my @folders  = @{$hash{$version}{"folders"}};

    foreach my $file (@files) {
        #print "deleting 		 $file
";
        unlink($file) or warn "couldn't unlink $file: $!";
    }
    use File::Path;
    foreach my $folder (@folders) {
        #print "deleting 		 $folder
";
        rmtree($folder) or warn "couldn't delete folder $folder: $!";
    }
}

####################################################################################################

exit 0;

View solution in original post

24 REPLIES 24

donmontalvo
Esteemed Contributor II

Combine these...

  1. AAMEE uninstaller, see page 8/9:
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/AdobeApplica...

  2. Cleanup script
    http://www.adobe.com/support/contact/cscleanertool.html

  3. Check for an uninstaller in /Applications/Photoshop* directory.

  4. I lost the link but I seem to remember there's a voodoo dance you can try, seems to work better than the above steps.

--
https://donmontalvo.com

glopez
New Contributor II

Steps 1 and 2 are basically what I've been doing. I've created a policy that runs the uninstaller, then copies the cleaner tool to the hard drive, then runs a script to run the tool. The AAMEE built uninstaller is what fails within my policy. This is what the script for running the cleaner tool looks like if anyone is interested. It is set to remove ALL instances of CS that it finds. You can change the "removeALL=" to "CS4" or "CS5" etc..

sudo /Library/Application Support/JAMF/Adobe Creative Suite Cleaner Tool.app/Contents/MacOS/Adobe Creative Suite Cleaner Tool --removeAll=All

I'm just trying to find a better automated way to purge the CS5.5 apps and folders since the uninstaller is failing more often than not.

Snickasaurus
Contributor

Someone correct me if I'm wrong but I believe changing that script line to this will solve your problem.

sudo "/Library/Application Support/Adobe Creative Suite Cleaner Tool/Adobe Creative Suite Cleaner Tool.app/Contents/MacOS/Adobe Creative Suite Cleaner Tool" --removeAll=All

glopez
New Contributor II

The script to run the Adobe Cleaner Tool.app is actually working fine. It's the AAMEE created Uninstaller pkg that fails often. What I have discovered is that if you run it with the user logged off it works most of the time.

donmontalvo
Esteemed Contributor II

It's fairly well known in admin circles that none of Adobe's uninstaller tools get every piece off the machine. We use #1/2/3 but still end up having to kick some files and folders into the trash...hence my #4 comment. 🙂

I'm hoping Adobe sees the incredible progress that is almost wholely due to Jody Rodgers (and before him Victoria Selwyn) and continue to support his efforts. The more feedback we give him/them, the more likely we are to see necessary changes.

I'd suggest posting this question to the AAMEE support forum, bound to get some good help (that may help the rest of us too!):

http://forums.adobe.com/community/download_install_setup/creative_suite_enterprise_deployment

Adobe has been very active on the forum.

Don

--
https://donmontalvo.com

tkimpton
Valued Contributor II

Any luck with this?

I have a non AAMEE CS5 pkg to uninstall and then need to install CS6.

I am thinking to run a script to the CS5 Uninstaller followed by the cleanup tool via self service

Has anyone done this successfully without having to do machine rebuilds?

If so what syntax did you use to run the CS5 uninstaller (think in /Application/Utilities/Adone Installers)

donmontalvo
Esteemed Contributor II

@tkimpton In the past we made it a rule to remove previous versions of CS before installing new versoins. However, I can report that we've been deploying CS6 without removing previous versions and we haven't had any reports of issues - and we keep in close touch with the groups we deploy to so feedback has been word of mouth.

Adobe still doesn't support/recommend concurrent installs (multiple versions of their apps), and even though you'll have some folks say "We don't have any problems", there can be...and if there are, you're out in the cold. Thankfully CS6 puts us at lower risk. 🙂

Don

--
https://donmontalvo.com

Mauricio
Contributor II

Hi Gabriel

I have created this script to remove all the Adobe CS files based on the Master Collection Suites (captured via Composer).
This script will remove CS3, CS4, CS5 and CS5.5.
We have been using this to upgrade our clients to the latest CSs via self-service since version 5.
Hope this helps
Regards
Mauricio

#!/usr/bin/perl


####################################################################################################
#   (c) Mauricio Pellizzon 2012
#   AdobeDeleteCSv3.pl
#   version: 3.0
#   revision 3:     14/11/2012 - Added CS5.5 section
#   revision 2:     09/01/2012 - Added CS5 section
#   creation date:  18/09/2011
####################################################################################################

$pathToScript=$0;
$pathToPackage=$ARGV[0];
$targetLocation=$ARGV[1];
$targetVolume=$ARGV[2];
$log="/var/log/jamf.log";
$DATE= localtime(time);
@DATE =split (' ',$DATE);
$DATE=$DATE[0]." ".$DATE[1]."  ".$DATE[2]." ".$DATE[3];

#####################################################################################################
#CS suites, the list is based on Master Collection Suites.

my @foldersCS3=('/Applications/Adobe Acrobat 8 Professional', '/Applications/Adobe After Effects CS3', '/Applications/Adobe Bridge CS3', '/Applications/Adobe Contribute CS3', '/Applications/Adobe Device Central CS3', '/Applications/Adobe Dreamweaver CS3', '/Applications/Adobe Encore CS3', '/Applications/Adobe Extension Manager', '/Applications/Adobe Fireworks CS3', '/Applications/Adobe Flash CS3', '/Applications/Adobe Flash CS3 Video Encoder', '/Applications/Adobe Help Viewer 1.0.app', '/Applications/Adobe Help Viewer 1.1.app', '/Applications/Adobe Illustrator CS3', '/Applications/Adobe InDesign CS3', '/Applications/Adobe Photoshop CS3', '/Applications/Adobe Premiere Pro CS3', '/Applications/Adobe Soundbooth CS3', '/Applications/Adobe Soundbooth Scores', '/Applications/Adobe Stock Photos CS3', '/Applications/Utilities/Adobe Installers', '/Applications/Utilities/Adobe Utilities.localized', '/Library/Application Support/Adobe', '/Library/Application Support/FLEXnet Publisher', '/Library/Application Support/Macromedia/FlashAuthor.cfg', '/Library/Application Support/Macromedia/FlashPlayerTrust', '/Library/Application Support/Synthetic Aperture Adobe Bundle', '/Library/Internet Plug-Ins/AdobePDFViewer.plugin', '/Library/Logs/Adobe', '/Library/PreferencePanes/VersionCueCS3.prefPane', '/Library/Preferences/FLEXnet Publisher', '/Library/Printers/PPD Plugins/AdobePDFPDE800.plugin', '/Library/QuickTime/FLV.component', '/Library/QuickTime/SoundboothScoreCodec.component' ); 
my @filesCS3=('/Library/Fonts/ACaslonPro-Bold.otf', '/Library/Fonts/ACaslonPro-BoldItalic.otf', '/Library/Fonts/ACaslonPro-Italic.otf', '/Library/Fonts/ACaslonPro-Regular.otf', '/Library/Fonts/ACaslonPro-Semibold.otf', '/Library/Fonts/ACaslonPro-SemiboldItalic.otf', '/Library/Fonts/AGaramondPro-Bold.otf', '/Library/Fonts/AGaramondPro-BoldItalic.otf', '/Library/Fonts/AGaramondPro-Italic.otf', '/Library/Fonts/AGaramondPro-Regular.otf', '/Library/Fonts/ArnoPro-Bold.otf', '/Library/Fonts/ArnoPro-BoldCaption.otf', '/Library/Fonts/ArnoPro-BoldDisplay.otf', '/Library/Fonts/ArnoPro-BoldItalic.otf', '/Library/Fonts/ArnoPro-BoldItalicCaption.otf', '/Library/Fonts/ArnoPro-BoldItalicDisplay.otf', '/Library/Fonts/ArnoPro-BoldItalicSmText.otf', '/Library/Fonts/ArnoPro-BoldItalicSubhead.otf', '/Library/Fonts/ArnoPro-BoldSmText.otf', '/Library/Fonts/ArnoPro-BoldSubhead.otf', '/Library/Fonts/ArnoPro-Caption.otf', '/Library/Fonts/ArnoPro-Display.otf', '/Library/Fonts/ArnoPro-Italic.otf', '/Library/Fonts/ArnoPro-ItalicCaption.otf', '/Library/Fonts/ArnoPro-ItalicDisplay.otf', '/Library/Fonts/ArnoPro-ItalicSmText.otf', '/Library/Fonts/ArnoPro-ItalicSubhead.otf', '/Library/Fonts/ArnoPro-LightDisplay.otf', '/Library/Fonts/ArnoPro-LightItalicDisplay.otf', '/Library/Fonts/ArnoPro-Regular.otf', '/Library/Fonts/ArnoPro-Smbd.otf', '/Library/Fonts/ArnoPro-SmbdCaption.otf', '/Library/Fonts/ArnoPro-SmbdDisplay.otf', '/Library/Fonts/ArnoPro-SmbdItalic.otf', '/Library/Fonts/ArnoPro-SmbdItalicCaption.otf', '/Library/Fonts/ArnoPro-SmbdItalicDisplay.otf', '/Library/Fonts/ArnoPro-SmbdItalicSmText.otf', '/Library/Fonts/ArnoPro-SmbdItalicSubhead.otf', '/Library/Fonts/ArnoPro-SmbdSmText.otf', '/Library/Fonts/ArnoPro-SmbdSubhead.otf', '/Library/Fonts/ArnoPro-SmText.otf', '/Library/Fonts/ArnoPro-Subhead.otf', '/Library/Fonts/BellGothicStd-Black.otf', '/Library/Fonts/BellGothicStd-Bold.otf', '/Library/Fonts/BickhamScriptPro-Bold.otf', '/Library/Fonts/BickhamScriptPro-Regular.otf', '/Library/Fonts/BickhamScriptPro-Semibold.otf', '/Library/Fonts/BirchStd.otf', '/Library/Fonts/BlackoakStd.otf', '/Library/Fonts/BrushScriptStd.otf', '/Library/Fonts/ChaparralPro-Bold.otf', '/Library/Fonts/ChaparralPro-BoldIt.otf', '/Library/Fonts/ChaparralPro-Italic.otf', '/Library/Fonts/ChaparralPro-Regular.otf', '/Library/Fonts/CharlemagneStd-Bold.otf', '/Library/Fonts/CooperBlackStd-Italic.otf', '/Library/Fonts/CooperBlackStd.otf', '/Library/Fonts/EccentricStd.otf', '/Library/Fonts/GaramondPremrPro-It.otf', '/Library/Fonts/GaramondPremrPro-Smbd.otf', '/Library/Fonts/GaramondPremrPro-SmbdIt.otf', '/Library/Fonts/GaramondPremrPro.otf', '/Library/Fonts/GiddyupStd.otf', '/Library/Fonts/HoboStd.otf', '/Library/Fonts/KozGoPro-Bold.otf', '/Library/Fonts/KozGoPro-ExtraLight.otf', '/Library/Fonts/KozGoPro-Heavy.otf', '/Library/Fonts/KozGoPro-Light.otf', '/Library/Fonts/KozGoPro-Medium.otf', '/Library/Fonts/KozGoPro-Regular.otf', '/Library/Fonts/KozMinPro-Bold.otf', '/Library/Fonts/KozMinPro-ExtraLight.otf', '/Library/Fonts/KozMinPro-Heavy.otf', '/Library/Fonts/KozMinPro-Light.otf', '/Library/Fonts/KozMinPro-Medium.otf', '/Library/Fonts/KozMinPro-Regular.otf', '/Library/Fonts/LetterGothicStd-Bold.otf', '/Library/Fonts/LetterGothicStd-BoldSlanted.otf', '/Library/Fonts/LetterGothicStd-Slanted.otf', '/Library/Fonts/LetterGothicStd.otf', '/Library/Fonts/LithosPro-Black.otf', '/Library/Fonts/LithosPro-Regular.otf', '/Library/Fonts/MesquiteStd.otf', '/Library/Fonts/MinionPro-Bold.otf', '/Library/Fonts/MinionPro-BoldCn.otf', '/Library/Fonts/MinionPro-BoldCnIt.otf', '/Library/Fonts/MinionPro-BoldIt.otf', '/Library/Fonts/MinionPro-It.otf', '/Library/Fonts/MinionPro-Medium.otf', '/Library/Fonts/MinionPro-MediumIt.otf', '/Library/Fonts/MinionPro-Regular.otf', '/Library/Fonts/MinionPro-Semibold.otf', '/Library/Fonts/MinionPro-SemiboldIt.otf', '/Library/Fonts/MyriadPro-Bold.otf', '/Library/Fonts/MyriadPro-BoldCond.otf', '/Library/Fonts/MyriadPro-BoldCondIt.otf', '/Library/Fonts/MyriadPro-BoldIt.otf', '/Library/Fonts/MyriadPro-Cond.otf', '/Library/Fonts/MyriadPro-CondIt.otf', '/Library/Fonts/MyriadPro-It.otf', '/Library/Fonts/MyriadPro-Regular.otf', '/Library/Fonts/MyriadPro-Semibold.otf', '/Library/Fonts/MyriadPro-SemiboldIt.otf', '/Library/Fonts/NuevaStd-BoldCond.otf', '/Library/Fonts/NuevaStd-BoldCondItalic.otf', '/Library/Fonts/NuevaStd-Cond.otf', '/Library/Fonts/NuevaStd-CondItalic.otf', '/Library/Fonts/OCRAStd.otf', '/Library/Fonts/OratorStd-Slanted.otf', '/Library/Fonts/OratorStd.otf', '/Library/Fonts/PoplarStd.otf', '/Library/Fonts/PrestigeEliteStd-Bd.otf', '/Library/Fonts/RosewoodStd-Regular.otf', '/Library/Fonts/StencilStd.otf', '/Library/Fonts/TektonPro-Bold.otf', '/Library/Fonts/TektonPro-BoldCond.otf', '/Library/Fonts/TektonPro-BoldExt.otf', '/Library/Fonts/TektonPro-BoldObl.otf', '/Library/Fonts/TrajanPro-Bold.otf', '/Library/Fonts/TrajanPro-Regular.otf', '/Library/LaunchDaemons/com.adobe.versioncueCS3.plist', '/Library/Preferences/com.adobe.acrobat.pdfviewer.plist', '/Library/Preferences/com.adobe.PDFAdminSettings.plist', '/Library/Preferences/com.Adobe.Premiere Pro.3.0.plist', '/Library/Preferences/com.adobe.versioncueCS3.plist', '/Library/Printers/PPDs/Contents/Resources/en.lproj/ADPDF8.PPD', '/Library/Printers/PPDs/Contents/Resources/ja.lproj/ADPDF8J.PPD', '/Library/Printers/PPDs/Contents/Resources/ko.lproj/ADPDF8K.PPD', '/Library/Printers/PPDs/Contents/Resources/zh_CN.lproj/ADPDF8CS.PPD', '/Library/Printers/PPDs/Contents/Resources/zh_TW.lproj/ADPDF8CT.PPD', '/private/etc/cups/ppd/AdobePDF8.ppd', '/private/etc/mach_init_per_user.d/com.adobe.versioncueCS3.monitor.plist', '/usr/libexec/cups/backend/pdf800');
my @foldersCS4=('/Applications/Adobe', '/Applications/Adobe Acrobat 9 Pro', '/Applications/Adobe After Effects CS4', '/Applications/Adobe Bridge CS4', '/Applications/Adobe Contribute CS4', '/Applications/Adobe Device Central CS4', '/Applications/Adobe Dreamweaver CS4', '/Applications/Adobe Drive CS4', '/Applications/Adobe Encore CS4', '/Applications/Adobe Extension Manager CS4', '/Applications/Adobe Fireworks CS4', '/Applications/Adobe Flash CS4', '/Applications/Adobe Illustrator CS4', '/Applications/Adobe InDesign CS4', '/Applications/Adobe Media Encoder CS4', '/Applications/Adobe Media Player.app', '/Applications/Adobe OnLocation CS4', '/Applications/Adobe Photoshop CS4', '/Applications/Adobe Premiere Pro CS4', '/Applications/Adobe Soundbooth CS4', '/Applications/Adobe Soundbooth Scores', '/Applications/Utilities/Adobe AIR Application Installer.app', '/Applications/Utilities/Adobe AIR Uninstaller.app', '/Applications/Utilities/Adobe Installers', '/Applications/Utilities/Adobe Utilities.localized', '/Library/Application Support/.Macrovision11.5.0.0 build 56285.uct2', '/Library/Application Support/Adobe', '/Library/Application Support/FLEXnet Publisher', '/Library/Application Support/Macromedia/FlashAuthor.cfg', '/Library/Application Support/Macromedia/FlashPlayerTrust', '/Library/Application Support/Synthetic Aperture Adobe CS4 Bundle', '/Library/ColorSync/Profiles/Profiles', '/Library/ColorSync/Profiles/Recommended', '/Library/Contextual Menu Items/ADFSMenu.plugin', '/Library/Frameworks/Adobe AIR.framework', '/Library/Internet Plug-Ins/AdobePDFViewer.plugin', '/Library/Internet Plug-Ins/npContributeMac.bundle', '/Library/Logs/Adobe', '/Library/PreferencePanes/VersionCueCS4.prefPane', '/Library/Preferences/FLEXnet Publisher', '/Library/Printers/PPD Plugins/AdobePDFPDE900.plugin', '/Library/QuickTime/SoundboothScoreCodec.component', '/Library/ScriptingAdditions/Adobe Unit Types.osax', '/Users/Shared/Adobe', '/Users/Shared/Library/Application Support/Adobe');
my @filesCS4=('/Library/Filesystems/AdobeDriveCS4.fs', '/Library/Fonts/ACaslonPro-Bold.otf', '/Library/Fonts/ACaslonPro-BoldItalic.otf', '/Library/Fonts/ACaslonPro-Italic.otf', '/Library/Fonts/ACaslonPro-Regular.otf', '/Library/Fonts/ACaslonPro-Semibold.otf', '/Library/Fonts/ACaslonPro-SemiboldItalic.otf', '/Library/Fonts/AdobeFangsongStd-Regular.otf', '/Library/Fonts/AdobeHeitiStd-Regular.otf', '/Library/Fonts/AdobeKaitiStd-Regular.otf', '/Library/Fonts/AdobeMingStd-Light.otf', '/Library/Fonts/AdobeMyungjoStd-Medium.otf', '/Library/Fonts/AdobeSongStd-Light.otf', '/Library/Fonts/AGaramondPro-Bold.otf', '/Library/Fonts/AGaramondPro-BoldItalic.otf', '/Library/Fonts/AGaramondPro-Italic.otf', '/Library/Fonts/AGaramondPro-Regular.otf', '/Library/Fonts/BellGothicStd-Black.otf', '/Library/Fonts/BellGothicStd-Bold.otf', '/Library/Fonts/BirchStd.otf', '/Library/Fonts/BlackoakStd.otf', '/Library/Fonts/BrushScriptStd.otf', '/Library/Fonts/ChaparralPro-Bold.otf', '/Library/Fonts/ChaparralPro-BoldIt.otf', '/Library/Fonts/ChaparralPro-Italic.otf', '/Library/Fonts/ChaparralPro-Regular.otf', '/Library/Fonts/CharlemagneStd-Bold.otf', '/Library/Fonts/CooperBlackStd-Italic.otf', '/Library/Fonts/CooperBlackStd.otf', '/Library/Fonts/EccentricStd.otf', '/Library/Fonts/GiddyupStd.otf', '/Library/Fonts/HoboStd.otf', '/Library/Fonts/KozGoPro-Bold.otf', '/Library/Fonts/KozGoPro-ExtraLight.otf', '/Library/Fonts/KozGoPro-Heavy.otf', '/Library/Fonts/KozGoPro-Light.otf', '/Library/Fonts/KozGoPro-Medium.otf', '/Library/Fonts/KozGoPro-Regular.otf', '/Library/Fonts/KozMinPro-Bold.otf', '/Library/Fonts/KozMinPro-ExtraLight.otf', '/Library/Fonts/KozMinPro-Heavy.otf', '/Library/Fonts/KozMinPro-Light.otf', '/Library/Fonts/KozMinPro-Medium.otf', '/Library/Fonts/KozMinPro-Regular.otf', '/Library/Fonts/LetterGothicStd-Bold.otf', '/Library/Fonts/LetterGothicStd-BoldSlanted.otf', '/Library/Fonts/LetterGothicStd-Slanted.otf', '/Library/Fonts/LetterGothicStd.otf', '/Library/Fonts/LithosPro-Black.otf', '/Library/Fonts/LithosPro-Regular.otf', '/Library/Fonts/MesquiteStd.otf', '/Library/Fonts/MinionPro-Bold.otf', '/Library/Fonts/MinionPro-BoldCn.otf', '/Library/Fonts/MinionPro-BoldCnIt.otf', '/Library/Fonts/MinionPro-BoldIt.otf', '/Library/Fonts/MinionPro-It.otf', '/Library/Fonts/MinionPro-Medium.otf', '/Library/Fonts/MinionPro-MediumIt.otf', '/Library/Fonts/MinionPro-Regular.otf', '/Library/Fonts/MinionPro-Semibold.otf', '/Library/Fonts/MinionPro-SemiboldIt.otf', '/Library/Fonts/MyriadPro-Bold.otf', '/Library/Fonts/MyriadPro-BoldCond.otf', '/Library/Fonts/MyriadPro-BoldCondIt.otf', '/Library/Fonts/MyriadPro-BoldIt.otf', '/Library/Fonts/MyriadPro-Cond.otf', '/Library/Fonts/MyriadPro-CondIt.otf', '/Library/Fonts/MyriadPro-It.otf', '/Library/Fonts/MyriadPro-Regular.otf', '/Library/Fonts/MyriadPro-Semibold.otf', '/Library/Fonts/MyriadPro-SemiboldIt.otf', '/Library/Fonts/NuevaStd-BoldCond.otf', '/Library/Fonts/NuevaStd-BoldCondItalic.otf', '/Library/Fonts/NuevaStd-Cond.otf', '/Library/Fonts/NuevaStd-CondItalic.otf', '/Library/Fonts/OCRAStd.otf', '/Library/Fonts/OratorStd-Slanted.otf', '/Library/Fonts/OratorStd.otf', '/Library/Fonts/PoplarStd.otf', '/Library/Fonts/PrestigeEliteStd-Bd.otf', '/Library/Fonts/RosewoodStd-Regular.otf', '/Library/Fonts/StencilStd.otf', '/Library/Fonts/TektonPro-Bold.otf', '/Library/Fonts/TektonPro-BoldCond.otf', '/Library/Fonts/TektonPro-BoldExt.otf', '/Library/Fonts/TektonPro-BoldObl.otf', '/Library/Fonts/TrajanPro-Bold.otf', '/Library/Fonts/TrajanPro-Regular.otf', '/Library/LaunchAgents/com.adobe.CS4ServiceManager.plist', '/Library/LaunchDaemons/com.adobe.versioncueCS4.plist', '/Library/Preferences/com.adobe.acrobat.pdfviewer.plist', '/Library/Preferences/com.adobe.AdobeOnlineHelp.plist', '/Library/Preferences/com.adobe.PDFAdminSettings.plist', '/Library/Preferences/com.adobe.versioncueCS4.plist', '/Library/Preferences/com.apple.audio.AggregateDevices.plist', '/Library/Printers/PPDs/Contents/Resources/en.lproj/ADPDF9.PPD', '/Library/Printers/PPDs/Contents/Resources/ja.lproj/ADPDF9J.PPD', '/Library/Printers/PPDs/Contents/Resources/ko.lproj/ADPDF9K.PPD', '/Library/Printers/PPDs/Contents/Resources/zn_CN.lproj/ADPDF9CS.PPD', '/Library/Printers/PPDs/Contents/Resources/zn_TW.lproj/ADPDF9CT.PPD', '/private/etc/cups/ppd/AdobePDF9.ppd', '/private/etc/mach_init_per_user.d/com.adobe.versioncueCS4.monitor.plist', '/usr/libexec/cups/backend/pdf900');
my @foldersCS5=('/Applications/Adobe', '/Applications/Adobe Acrobat 9 Pro', '/Applications/Adobe Acrobat X Pro', '/Applications/Adobe After Effects CS5', '/Applications/Adobe Bridge CS5', '/Applications/Adobe Contribute CS5', '/Applications/Adobe Device Central CS5', '/Applications/Adobe Dreamweaver CS5', '/Applications/Adobe Encore CS5', '/Applications/Adobe Extension Manager CS5', '/Applications/Adobe Fireworks CS5', '/Applications/Adobe Flash Builder 4', '/Applications/Adobe Flash Catalyst CS5', '/Applications/Adobe Flash CS5', '/Applications/Adobe Illustrator CS5', '/Applications/Adobe InDesign CS5', '/Applications/Adobe Media Encoder CS5', '/Applications/Adobe Media Player.app', '/Applications/Adobe OnLocation CS5', '/Applications/Adobe Photoshop CS5', '/Applications/Adobe Premiere Pro CS5', '/Applications/Adobe Soundbooth CS5', '/Applications/Utilities/Adobe AIR Application Installer.app', '/Applications/Utilities/Adobe AIR Uninstaller.app', '/Applications/Utilities/Adobe Installers', '/Applications/Utilities/Adobe Utilities-CS5.localized', '/Applications/osx', '/Library/Application Support/Adobe', '/Library/Application Support/Macromedia/.rskya9250.bin', '/Library/Application Support/Macromedia/FlashAuthor.cfg', '/Library/Application Support/Macromedia/FlashPlayerTrust', '/Library/Application Support/Mozilla', '/Library/Application Support/PACE Anti-Piracy', '/Library/Application Support/regid.1986-12.com.adobe', '/Library/Application Support/Synthetic Aperture Adobe CS5 Bundle', '/Library/ColorSync/Profiles/Profiles', '/Library/ColorSync/Profiles/Recommended', '/Library/Frameworks/Adobe AIR.framework', '/Library/Internet Plug-Ins/Flash Player.plugin', '/Library/Internet Plug-Ins/npContributeMac.bundle', '/Library/Logs/Adobe', '/Library/QuickTime/SoundboothScoreCodec.component', '/Library/ScriptingAdditions/Adobe Unit Types.osax', '/Users/Shared/Adobe', '/Users/Shared/Library');
my @filesCS5=('/Library/Fonts/ACaslonPro-Bold.otf', '/Library/Fonts/ACaslonPro-BoldItalic.otf', '/Library/Fonts/ACaslonPro-Italic.otf', '/Library/Fonts/ACaslonPro-Regular.otf', '/Library/Fonts/ACaslonPro-Semibold.otf', '/Library/Fonts/ACaslonPro-SemiboldItalic.otf', '/Library/Fonts/AdobeArabic-Bold.otf', '/Library/Fonts/AdobeArabic-BoldItalic.otf', '/Library/Fonts/AdobeArabic-Italic.otf', '/Library/Fonts/AdobeArabic-Regular.otf', '/Library/Fonts/AdobeFangsongStd-Regular.otf', '/Library/Fonts/AdobeFanHeitiStd-Bold.otf', '/Library/Fonts/AdobeGothicStd-Bold.otf', '/Library/Fonts/AdobeHebrew-Bold.otf', '/Library/Fonts/AdobeHebrew-BoldItalic.otf', '/Library/Fonts/AdobeHebrew-Italic.otf', '/Library/Fonts/AdobeHebrew-Regular.otf', '/Library/Fonts/AdobeHeitiStd-Regular.otf', '/Library/Fonts/AdobeKaitiStd-Regular.otf', '/Library/Fonts/AdobeMingStd-Light.otf', '/Library/Fonts/AdobeMyungjoStd-Medium.otf', '/Library/Fonts/AdobeSongStd-Light.otf', '/Library/Fonts/AGaramondPro-Bold.otf', '/Library/Fonts/AGaramondPro-BoldItalic.otf', '/Library/Fonts/AGaramondPro-Italic.otf', '/Library/Fonts/AGaramondPro-Regular.otf', '/Library/Fonts/BirchStd.otf', '/Library/Fonts/BlackoakStd.otf', '/Library/Fonts/BrushScriptStd.otf', '/Library/Fonts/ChaparralPro-Bold.otf', '/Library/Fonts/ChaparralPro-BoldIt.otf', '/Library/Fonts/ChaparralPro-Italic.otf', '/Library/Fonts/ChaparralPro-Regular.otf', '/Library/Fonts/CharlemagneStd-Bold.otf', '/Library/Fonts/CooperBlackStd-Italic.otf', '/Library/Fonts/CooperBlackStd.otf', '/Library/Fonts/GiddyupStd.otf', '/Library/Fonts/HoboStd.otf', '/Library/Fonts/KozGoPr6N-Bold.otf', '/Library/Fonts/KozGoPr6N-ExtraLight.otf', '/Library/Fonts/KozGoPr6N-Heavy.otf', '/Library/Fonts/KozGoPr6N-Light.otf', '/Library/Fonts/KozGoPr6N-Medium.otf', '/Library/Fonts/KozGoPr6N-Regular.otf', '/Library/Fonts/KozGoPro-Bold.otf', '/Library/Fonts/KozGoPro-ExtraLight.otf', '/Library/Fonts/KozGoPro-Heavy.otf', '/Library/Fonts/KozGoPro-Light.otf', '/Library/Fonts/KozGoPro-Medium.otf', '/Library/Fonts/KozGoPro-Regular.otf', '/Library/Fonts/KozMinPr6N-Bold.otf', '/Library/Fonts/KozMinPr6N-ExtraLight.otf', '/Library/Fonts/KozMinPr6N-Heavy.otf', '/Library/Fonts/KozMinPr6N-Light.otf', '/Library/Fonts/KozMinPr6N-Medium.otf', '/Library/Fonts/KozMinPr6N-Regular.otf', '/Library/Fonts/KozMinPro-Bold.otf', '/Library/Fonts/KozMinPro-ExtraLight.otf', '/Library/Fonts/KozMinPro-Heavy.otf', '/Library/Fonts/KozMinPro-Light.otf', '/Library/Fonts/KozMinPro-Medium.otf', '/Library/Fonts/KozMinPro-Regular.otf', '/Library/Fonts/LetterGothicStd-Bold.otf', '/Library/Fonts/LetterGothicStd-BoldSlanted.otf', '/Library/Fonts/LetterGothicStd-Slanted.otf', '/Library/Fonts/LetterGothicStd.otf', '/Library/Fonts/LithosPro-Black.otf', '/Library/Fonts/LithosPro-Regular.otf', '/Library/Fonts/MesquiteStd.otf', '/Library/Fonts/MinionPro-Bold.otf', '/Library/Fonts/MinionPro-BoldCn.otf', '/Library/Fonts/MinionPro-BoldCnIt.otf', '/Library/Fonts/MinionPro-BoldIt.otf', '/Library/Fonts/MinionPro-It.otf', '/Library/Fonts/MinionPro-Medium.otf', '/Library/Fonts/MinionPro-MediumIt.otf', '/Library/Fonts/MinionPro-Regular.otf', '/Library/Fonts/MinionPro-Semibold.otf', '/Library/Fonts/MinionPro-SemiboldIt.otf', '/Library/Fonts/MyriadPro-Bold.otf', '/Library/Fonts/MyriadPro-BoldCond.otf', '/Library/Fonts/MyriadPro-BoldCondIt.otf', '/Library/Fonts/MyriadPro-BoldIt.otf', '/Library/Fonts/MyriadPro-Cond.otf', '/Library/Fonts/MyriadPro-CondIt.otf', '/Library/Fonts/MyriadPro-It.otf', '/Library/Fonts/MyriadPro-Regular.otf', '/Library/Fonts/MyriadPro-Semibold.otf', '/Library/Fonts/MyriadPro-SemiboldIt.otf', '/Library/Fonts/MyriadWebPro-Bold.ttf', '/Library/Fonts/MyriadWebPro-Italic.ttf', '/Library/Fonts/MyriadWebPro.ttf', '/Library/Fonts/NuevaStd-BoldCond.otf', '/Library/Fonts/NuevaStd-BoldCondItalic.otf', '/Library/Fonts/NuevaStd-Cond.otf', '/Library/Fonts/NuevaStd-CondItalic.otf', '/Library/Fonts/OCRAStd.otf', '/Library/Fonts/OratorStd-Slanted.otf', '/Library/Fonts/OratorStd.otf', '/Library/Fonts/PoplarStd.otf', '/Library/Fonts/PrestigeEliteStd-Bd.otf', '/Library/Fonts/RosewoodStd-Regular.otf', '/Library/Fonts/StencilStd.otf', '/Library/Fonts/TektonPro-Bold.otf', '/Library/Fonts/TektonPro-BoldCond.otf', '/Library/Fonts/TektonPro-BoldExt.otf', '/Library/Fonts/TektonPro-BoldObl.otf', '/Library/Fonts/TrajanPro-Bold.otf', '/Library/Fonts/TrajanPro-Regular.otf', '/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist', '/Library/LaunchAgents/com.adobe.CS5ServiceManager.plist', '/Library/LaunchDaemons/com.adobe.SwitchBoard.plist', '/Library/Preferences/com.adobe.acrobat.pdfviewer.plist', '/Library/Preferences/com.adobe.headlights.apip.plist', '/Library/Preferences/com.adobe.Illustrator.15.0.2.plist', '/Library/Preferences/com.adobe.InDesign.7.0.3.plist', '/Library/Preferences/com.adobe.Contribute.6.0.plist', '/Library/Preferences/com.adobe.CSXS2Preferences.plist', '/Library/Preferences/com.adobe.Dreamweaver.11.plist', '/Library/Preferences/com.adobe.Fireworks.11.0.0.plist', '/Library/Preferences/com.adobe.Illustrator.15.0.0.plist', '/Library/Preferences/com.adobe.InDesign.7.0.plist', '/Library/Preferences/com.adobe.PDFAdminSettings.plist', '/Library/Preferences/com.apple.audio.AggregateDevices.plist', '/Library/Preferences/com.apple.mediaio.DeviceSettings.plist', '/Library/Preferences/com.masi.ddpp.plist', '/private/etc/mach_init_per_user.d/com.adobe.SwitchBoard.monitor.plist');
my @foldersCS55=('/Applications/Adobe Acrobat X Pro', '/Applications/Adobe After Effects CS5.5', '/Applications/Adobe Audition CS5.5', '/Applications/Adobe Bridge CS5.1', '/Applications/Adobe Contribute CS5.1', '/Applications/Adobe Device Central CS5.5', '/Applications/Adobe Dreamweaver CS5.5', '/Applications/Adobe Encore CS5.1', '/Applications/Adobe Extension Manager CS5.5', '/Applications/Adobe Fireworks CS5.1', '/Applications/Adobe Flash Builder 4.5', '/Applications/Adobe Flash Catalyst CS5.5', '/Applications/Adobe Flash CS5.5', '/Applications/Adobe Illustrator CS5.1', '/Applications/Adobe InDesign CS5.5', '/Applications/Adobe Media Encoder CS5.5', '/Applications/Adobe OnLocation CS5.1', '/Applications/Adobe Photoshop CS5.1', '/Applications/Adobe Premiere Pro CS5.5', '/Applications/Adobe Story.app', '/Applications/Adobe', '/Applications/Utilities/Adobe AIR Application Installer.app', '/Applications/Utilities/Adobe AIR Uninstaller.app', '/Applications/Utilities/Adobe Installers', '/Applications/Utilities/Adobe Utilities-CS5.5.localized', '/Library/Application Support/Adobe', '/Library/Application Support/Macromedia', '/Library/Application Support/regid.1986-12.com.adobe', '/Library/Application Support/Synthetic Aperture Adobe CS5.5 Bundle', '/Library/Automator/Save as Adobe PDF.action', '/Library/ColorSync/Profiles/Profiles', '/Library/ColorSync/Profiles/Recommended', '/Library/Frameworks/Adobe AIR.framework', '/Library/Internet Plug-Ins/Flash Player.plugin', '/Library/Internet Plug-Ins/npContributeMac.bundle', '/Library/Logs/Adobe', '/Library/PDF Services/Save as Adobe PDF.app', '/Library/ScriptingAdditions/Adobe Unit Types.osax', '/private/var/root/Library/Preferences/Macromedia', '/Users/Shared/Library/Application Support/Adobe');
my @filesCS55=('/Library/Fonts/ACaslonPro-Bold.otf', '/Library/Fonts/ACaslonPro-BoldItalic.otf', '/Library/Fonts/ACaslonPro-Italic.otf', '/Library/Fonts/ACaslonPro-Regular.otf', '/Library/Fonts/ACaslonPro-Semibold.otf', '/Library/Fonts/ACaslonPro-SemiboldItalic.otf', '/Library/Fonts/AdobeArabic-Bold.otf', '/Library/Fonts/AdobeArabic-BoldItalic.otf', '/Library/Fonts/AdobeArabic-Italic.otf', '/Library/Fonts/AdobeArabic-Regular.otf', '/Library/Fonts/AdobeFangsongStd-Regular.otf', '/Library/Fonts/AdobeFanHeitiStd-Bold.otf', '/Library/Fonts/AdobeGothicStd-Bold.otf', '/Library/Fonts/AdobeHebrew-Bold.otf', '/Library/Fonts/AdobeHebrew-BoldItalic.otf', '/Library/Fonts/AdobeHebrew-Italic.otf', '/Library/Fonts/AdobeHebrew-Regular.otf', '/Library/Fonts/AdobeHeitiStd-Regular.otf', '/Library/Fonts/AdobeKaitiStd-Regular.otf', '/Library/Fonts/AdobeMingStd-Light.otf', '/Library/Fonts/AdobeMyungjoStd-Medium.otf', '/Library/Fonts/AdobeSongStd-Light.otf', '/Library/Fonts/AGaramondPro-Bold.otf', '/Library/Fonts/AGaramondPro-BoldItalic.otf', '/Library/Fonts/AGaramondPro-Italic.otf', '/Library/Fonts/AGaramondPro-Regular.otf', '/Library/Fonts/BirchStd.otf', '/Library/Fonts/BlackoakStd.otf', '/Library/Fonts/BrushScriptStd.otf', '/Library/Fonts/ChaparralPro-Bold.otf', '/Library/Fonts/ChaparralPro-BoldIt.otf', '/Library/Fonts/ChaparralPro-Italic.otf', '/Library/Fonts/ChaparralPro-Regular.otf', '/Library/Fonts/CharlemagneStd-Bold.otf', '/Library/Fonts/CooperBlackStd-Italic.otf', '/Library/Fonts/CooperBlackStd.otf', '/Library/Fonts/GiddyupStd.otf', '/Library/Fonts/HoboStd.otf', '/Library/Fonts/KozGoPr6N-Bold.otf', '/Library/Fonts/KozGoPr6N-ExtraLight.otf', '/Library/Fonts/KozGoPr6N-Heavy.otf', '/Library/Fonts/KozGoPr6N-Light.otf', '/Library/Fonts/KozGoPr6N-Medium.otf', '/Library/Fonts/KozGoPr6N-Regular.otf', '/Library/Fonts/KozGoPro-Bold.otf', '/Library/Fonts/KozGoPro-ExtraLight.otf', '/Library/Fonts/KozGoPro-Heavy.otf', '/Library/Fonts/KozGoPro-Light.otf', '/Library/Fonts/KozGoPro-Medium.otf', '/Library/Fonts/KozGoPro-Regular.otf', '/Library/Fonts/KozMinPr6N-Bold.otf', '/Library/Fonts/KozMinPr6N-ExtraLight.otf', '/Library/Fonts/KozMinPr6N-Heavy.otf', '/Library/Fonts/KozMinPr6N-Light.otf', '/Library/Fonts/KozMinPr6N-Medium.otf', '/Library/Fonts/KozMinPr6N-Regular.otf', '/Library/Fonts/KozMinPro-Bold.otf', '/Library/Fonts/KozMinPro-ExtraLight.otf', '/Library/Fonts/KozMinPro-Heavy.otf', '/Library/Fonts/KozMinPro-Light.otf', '/Library/Fonts/KozMinPro-Medium.otf', '/Library/Fonts/KozMinPro-Regular.otf', '/Library/Fonts/LetterGothicStd-Bold.otf', '/Library/Fonts/LetterGothicStd-BoldSlanted.otf', '/Library/Fonts/LetterGothicStd-Slanted.otf', '/Library/Fonts/LetterGothicStd.otf', '/Library/Fonts/LithosPro-Black.otf', '/Library/Fonts/LithosPro-Regular.otf', '/Library/Fonts/MesquiteStd.otf', '/Library/Fonts/MinionPro-Bold.otf', '/Library/Fonts/MinionPro-BoldCn.otf', '/Library/Fonts/MinionPro-BoldCnIt.otf', '/Library/Fonts/MinionPro-BoldIt.otf', '/Library/Fonts/MinionPro-It.otf', '/Library/Fonts/MinionPro-Medium.otf', '/Library/Fonts/MinionPro-MediumIt.otf', '/Library/Fonts/MinionPro-Regular.otf', '/Library/Fonts/MinionPro-Semibold.otf', '/Library/Fonts/MinionPro-SemiboldIt.otf', '/Library/Fonts/MyriadPro-Bold.otf', '/Library/Fonts/MyriadPro-BoldCond.otf', '/Library/Fonts/MyriadPro-BoldCondIt.otf', '/Library/Fonts/MyriadPro-BoldIt.otf', '/Library/Fonts/MyriadPro-Cond.otf', '/Library/Fonts/MyriadPro-CondIt.otf', '/Library/Fonts/MyriadPro-It.otf', '/Library/Fonts/MyriadPro-Regular.otf', '/Library/Fonts/MyriadPro-Semibold.otf', '/Library/Fonts/MyriadPro-SemiboldIt.otf', '/Library/Fonts/MyriadWebPro-Bold.ttf', '/Library/Fonts/MyriadWebPro-Italic.ttf', '/Library/Fonts/MyriadWebPro.ttf', '/Library/Fonts/NuevaStd-BoldCond.otf', '/Library/Fonts/NuevaStd-BoldCondItalic.otf', '/Library/Fonts/NuevaStd-Cond.otf', '/Library/Fonts/NuevaStd-CondItalic.otf', '/Library/Fonts/OCRAStd.otf', '/Library/Fonts/OratorStd-Slanted.otf', '/Library/Fonts/OratorStd.otf', '/Library/Fonts/PoplarStd.otf', '/Library/Fonts/PrestigeEliteStd-Bd.otf', '/Library/Fonts/RosewoodStd-Regular.otf', '/Library/Fonts/StencilStd.otf', '/Library/Fonts/TektonPro-Bold.otf', '/Library/Fonts/TektonPro-BoldCond.otf', '/Library/Fonts/TektonPro-BoldExt.otf', '/Library/Fonts/TektonPro-BoldObl.otf', '/Library/Fonts/TrajanPro-Bold.otf', '/Library/Fonts/TrajanPro-Regular.otf', '/Library/Internet Plug-Ins/flashplayer.xpt', '/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist', '/Library/LaunchDaemons/com.adobe.SwitchBoard.plist', '/Library/Preferences/com.adobe.Contribute.6.1.plist', '/Library/Preferences/com.adobe.CSXS.2.5.plist', '/Library/Preferences/com.adobe.Dreamweaver.11.5.plist', '/Library/Preferences/com.adobe.Fireworks.11.1.0.plist', '/Library/Preferences/com.adobe.headlights.apip.plist.lockfile', '/Library/Preferences/com.adobe.headlights.apip.plist', '/Library/Preferences/com.adobe.Illustrator.15.1.0.plist', '/Library/Preferences/com.adobe.InDesign.7.5.1.plist', '/Library/Preferences/com.adobe.InDesign.7.5.plist', '/Library/Preferences/com.adobe.PDFAdminSettings.plist', '/private/etc/mach_init_per_user.d/com.adobe.SwitchBoard.monitor.plist', '/private/var/root/Library/Preferences/com.apple.loginwindow.plist.lockfile', '/private/var/root/Library/Preferences/com.apple.loginwindow.plist');

my %hash = ("3" => {"files" => @filesCS3,
                    "folders" => @foldersCS3},
            "4" => {"files" => @filesCS4,
                    "folders" => @foldersCS4},
            "5" => {"files" => @filesCS5,
                    "folders" => @foldersCS5},
            "5.5" => {"files" => @filesCS55,
                    "folders" => @foldersCS55}
                                                );

####################################################################################################
open(LOG, ">>$log") || die "Can't open file: $!
";
# check for the version of the CS, using Flash as reference. Photoshop was used before CS5.5.
my $dirname = "/Applications/";
my $file;
my $dir;
opendir(DIR, $dirname) or die "can't opendir $dirname: $!";
while (defined($file = readdir(DIR))) {
     if (-d "$dirname$file" && "$dirname$file" =~ /Adobe Flash CS([0-9].[0-9])/gi || "$dirname$file" =~ /Adobe Flash CS([0-9])/gi) {
     print LOG "$DATE 		 Adobe Creative Suite Software installed is CS$1. 
";
            &checkversion($1);
    }
}
close (LOG);
####################################################################################################

sub checkversion {
    my $version = shift;
    if ($version == 3) {
        print LOG "$DATE 		 Deleting Adobe CS$version... 
";
        &deleteCS($version);
    }
    elsif ($version == 4) {
        print LOG "$DATE 		 Deleting Adobe CS$version... 
";
        &deleteCS($version);
    }
    elsif ($version == 5) {
        print LOG "$DATE 		 Deleting Adobe CS$version... 
";
        &deleteCS($version);
    }
    elsif ($version == 5.5) {
        print LOG "$DATE 		 Deleting Adobe CS$version... 
";
        &deleteCS($version);
    }
    else {
        print LOG "$DATE 		 CS Suite version is CS$version 
";
    }
}

####################################################################################################

sub deleteCS {
    my $version = shift;
    my @files = @{$hash{$version}{"files"}};
    my @folders  = @{$hash{$version}{"folders"}};

    foreach my $file (@files) {
        #print "deleting 		 $file
";
        unlink($file) or warn "couldn't unlink $file: $!";
    }
    use File::Path;
    foreach my $folder (@folders) {
        #print "deleting 		 $folder
";
        rmtree($folder) or warn "couldn't delete folder $folder: $!";
    }
}

####################################################################################################

exit 0;

View solution in original post

myronjoffe
Contributor III

@Mauricio I tried your Perl script to remove CS5 Design Standard. For some reason it doesn't remove anything. It takes about 2 secs to complete and exits 0.

Am i missing something?

Mauricio
Contributor II

@myronjoffe
Hi Myron. The script is based on the Master Collection suites. We use the Premium versions here.
I've looked the CS5 Design Standard suite and it does not have Flash. I had to change to Flash from Photoshop in CS6 because of the versioning.
(see the comment # check for the version of the CS, using Flash as reference. Photoshop was used before CS5.5.)

So in the script change the text from Flash to Photoshop and it should work.

You may need to check the list in:
my @foldersCS5
my @filesCS5
to see if all files and folders are listed correctly.

If you want a more accurate list, run Composer and create a normal snapshot of the Adobe installer. In the Sources look the Snapshot folder, you will have a complete list of files and folders for that suite.

Keep me informed.
Regards
Mauricio

chris_kemp
Contributor III

Just found & tested this script here - we're doing pre-testing to replace PP5.5 with 6 - and it worked very well. Thanks Mauricio! 🙂

myronjoffe
Contributor III

@Mauricio Changing the reference from Flash to Photoshop removes CS5 Design Standard. Problem is, the script breaks the CS6 install...

Mauricio
Contributor II

@Myron Could you expand on the 'breaks the CS6 install', please? Are you using CS6 Standard as well?
Regards
Mauricio

myronjoffe
Contributor III

Using CS6 DS. If you run the script with CS5 and CS6 on the same system it will ask you to re-install CS6. I've edited it so its not as agressive in removing the files that break the existing CS6 install. Thanks for the script though. Will be using it to clean up CS5 installs in our environment.

Mauricio
Contributor II

The process is to prepare the system for upgrade before the CS6 installation. So the script should run before the CS6 installation. If you have CS6 installed shared components will be removed and will break it.

chuck3000
Contributor

Heya Mauricio, any opportunity to update your Remove script to work up through CS6 and Even Creative Cloud? I did find this (http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html), but even Adobe's listing for Enterprise users, isn't complete. If you use the Mac OS (all products), it doesn't do it in the background, but actually launches the GUI. And in any case, it leaves pieces behind, including full applications like Lightroom, Flash Builder, Fireworks, Extension Manager, Edge, Audition and Acrobat and even the SDKs and plugins, all which are available for download.

Anybody else have success with complete 'back-end' removal?

Mauricio
Contributor II

Hi chuck3000

I've started working on the Adobe CS6 but other duties prevented me from finishing it.
I'll try to post it soon.

Adobe CC, that will be interesting. Are we talking about the CC Enterprise or the web one?
We have and Enterprise agreement but not looked in detail yet. Adobe, due to our agreement, advised us not to mix Enterprise and web CC.
The removal of the web ones may be useful but I need to look where the "trial stuff" goes.
Regards
Mauricio

Mauricio
Contributor II

Hi

I've updated the script to delete CS6 (based on Master Collection files).
Hope it is useful.

Regards
Mauricio

#!/usr/bin/perl


################################################################################
#   (c) Mauricio Pellizzon 2014
#
#   AdobeDeleteCSv4.pl
#
#   This script will delete any and all versions of the Adobe CS from version 3 to 6
#   For the CS suites, the lists are based on Master Collection Suites.
#   It can be run against any other Suite (Design and Web) for example.
#
#   version: 4.0
#   revision 4:     19/05/2014 - Added CS6 section
#   revision 3:     14/11/2012 - Added CS5.5 section
#   revision 2:     09/01/2012 - Added CS5 section
#   creation date:  18/09/2011
################################################################################

$pathToScript=$0;
$pathToPackage=$ARGV[0];
$targetLocation=$ARGV[1];
$targetVolume=$ARGV[2];
$log="/var/log/jamf.log";
$DATE= localtime(time);
@DATE =split (' ',$DATE);
$DATE=$DATE[0]." ".$DATE[1]."  ".$DATE[2]." ".$DATE[3];

################################################################################

my @foldersCS3=('/Applications/Adobe Acrobat 8 Professional', '/Applications/Adobe After Effects CS3', '/Applications/Adobe Bridge CS3', '/Applications/Adobe Contribute CS3', '/Applications/Adobe Device Central CS3', '/Applications/Adobe Dreamweaver CS3', '/Applications/Adobe Encore CS3', '/Applications/Adobe Extension Manager', '/Applications/Adobe Fireworks CS3', '/Applications/Adobe Flash CS3', '/Applications/Adobe Flash CS3 Video Encoder', '/Applications/Adobe Help Viewer 1.0.app', '/Applications/Adobe Help Viewer 1.1.app', '/Applications/Adobe Illustrator CS3', '/Applications/Adobe InDesign CS3', '/Applications/Adobe Photoshop CS3', '/Applications/Adobe Premiere Pro CS3', '/Applications/Adobe Soundbooth CS3', '/Applications/Adobe Soundbooth Scores', '/Applications/Adobe Stock Photos CS3', '/Applications/Utilities/Adobe Installers', '/Applications/Utilities/Adobe Utilities.localized', '/Library/Application Support/Adobe', '/Library/Application Support/FLEXnet Publisher', '/Library/Application Support/Macromedia/FlashAuthor.cfg', '/Library/Application Support/Macromedia/FlashPlayerTrust', '/Library/Application Support/Synthetic Aperture Adobe Bundle', '/Library/Internet Plug-Ins/AdobePDFViewer.plugin', '/Library/Logs/Adobe', '/Library/PreferencePanes/VersionCueCS3.prefPane', '/Library/Preferences/FLEXnet Publisher', '/Library/Printers/PPD Plugins/AdobePDFPDE800.plugin', '/Library/QuickTime/FLV.component', '/Library/QuickTime/SoundboothScoreCodec.component' ); 
my @filesCS3=('/Library/Fonts/ACaslonPro-Bold.otf', '/Library/Fonts/ACaslonPro-BoldItalic.otf', '/Library/Fonts/ACaslonPro-Italic.otf', '/Library/Fonts/ACaslonPro-Regular.otf', '/Library/Fonts/ACaslonPro-Semibold.otf', '/Library/Fonts/ACaslonPro-SemiboldItalic.otf', '/Library/Fonts/AGaramondPro-Bold.otf', '/Library/Fonts/AGaramondPro-BoldItalic.otf', '/Library/Fonts/AGaramondPro-Italic.otf', '/Library/Fonts/AGaramondPro-Regular.otf', '/Library/Fonts/ArnoPro-Bold.otf', '/Library/Fonts/ArnoPro-BoldCaption.otf', '/Library/Fonts/ArnoPro-BoldDisplay.otf', '/Library/Fonts/ArnoPro-BoldItalic.otf', '/Library/Fonts/ArnoPro-BoldItalicCaption.otf', '/Library/Fonts/ArnoPro-BoldItalicDisplay.otf', '/Library/Fonts/ArnoPro-BoldItalicSmText.otf', '/Library/Fonts/ArnoPro-BoldItalicSubhead.otf', '/Library/Fonts/ArnoPro-BoldSmText.otf', '/Library/Fonts/ArnoPro-BoldSubhead.otf', '/Library/Fonts/ArnoPro-Caption.otf', '/Library/Fonts/ArnoPro-Display.otf', '/Library/Fonts/ArnoPro-Italic.otf', '/Library/Fonts/ArnoPro-ItalicCaption.otf', '/Library/Fonts/ArnoPro-ItalicDisplay.otf', '/Library/Fonts/ArnoPro-ItalicSmText.otf', '/Library/Fonts/ArnoPro-ItalicSubhead.otf', '/Library/Fonts/ArnoPro-LightDisplay.otf', '/Library/Fonts/ArnoPro-LightItalicDisplay.otf', '/Library/Fonts/ArnoPro-Regular.otf', '/Library/Fonts/ArnoPro-Smbd.otf', '/Library/Fonts/ArnoPro-SmbdCaption.otf', '/Library/Fonts/ArnoPro-SmbdDisplay.otf', '/Library/Fonts/ArnoPro-SmbdItalic.otf', '/Library/Fonts/ArnoPro-SmbdItalicCaption.otf', '/Library/Fonts/ArnoPro-SmbdItalicDisplay.otf', '/Library/Fonts/ArnoPro-SmbdItalicSmText.otf', '/Library/Fonts/ArnoPro-SmbdItalicSubhead.otf', '/Library/Fonts/ArnoPro-SmbdSmText.otf', '/Library/Fonts/ArnoPro-SmbdSubhead.otf', '/Library/Fonts/ArnoPro-SmText.otf', '/Library/Fonts/ArnoPro-Subhead.otf', '/Library/Fonts/BellGothicStd-Black.otf', '/Library/Fonts/BellGothicStd-Bold.otf', '/Library/Fonts/BickhamScriptPro-Bold.otf', '/Library/Fonts/BickhamScriptPro-Regular.otf', '/Library/Fonts/BickhamScriptPro-Semibold.otf', '/Library/Fonts/BirchStd.otf', '/Library/Fonts/BlackoakStd.otf', '/Library/Fonts/BrushScriptStd.otf', '/Library/Fonts/ChaparralPro-Bold.otf', '/Library/Fonts/ChaparralPro-BoldIt.otf', '/Library/Fonts/ChaparralPro-Italic.otf', '/Library/Fonts/ChaparralPro-Regular.otf', '/Library/Fonts/CharlemagneStd-Bold.otf', '/Library/Fonts/CooperBlackStd-Italic.otf', '/Library/Fonts/CooperBlackStd.otf', '/Library/Fonts/EccentricStd.otf', '/Library/Fonts/GaramondPremrPro-It.otf', '/Library/Fonts/GaramondPremrPro-Smbd.otf', '/Library/Fonts/GaramondPremrPro-SmbdIt.otf', '/Library/Fonts/GaramondPremrPro.otf', '/Library/Fonts/GiddyupStd.otf', '/Library/Fonts/HoboStd.otf', '/Library/Fonts/KozGoPro-Bold.otf', '/Library/Fonts/KozGoPro-ExtraLight.otf', '/Library/Fonts/KozGoPro-Heavy.otf', '/Library/Fonts/KozGoPro-Light.otf', '/Library/Fonts/KozGoPro-Medium.otf', '/Library/Fonts/KozGoPro-Regular.otf', '/Library/Fonts/KozMinPro-Bold.otf', '/Library/Fonts/KozMinPro-ExtraLight.otf', '/Library/Fonts/KozMinPro-Heavy.otf', '/Library/Fonts/KozMinPro-Light.otf', '/Library/Fonts/KozMinPro-Medium.otf', '/Library/Fonts/KozMinPro-Regular.otf', '/Library/Fonts/LetterGothicStd-Bold.otf', '/Library/Fonts/LetterGothicStd-BoldSlanted.otf', '/Library/Fonts/LetterGothicStd-Slanted.otf', '/Library/Fonts/LetterGothicStd.otf', '/Library/Fonts/LithosPro-Black.otf', '/Library/Fonts/LithosPro-Regular.otf', '/Library/Fonts/MesquiteStd.otf', '/Library/Fonts/MinionPro-Bold.otf', '/Library/Fonts/MinionPro-BoldCn.otf', '/Library/Fonts/MinionPro-BoldCnIt.otf', '/Library/Fonts/MinionPro-BoldIt.otf', '/Library/Fonts/MinionPro-It.otf', '/Library/Fonts/MinionPro-Medium.otf', '/Library/Fonts/MinionPro-MediumIt.otf', '/Library/Fonts/MinionPro-Regular.otf', '/Library/Fonts/MinionPro-Semibold.otf', '/Library/Fonts/MinionPro-SemiboldIt.otf', '/Library/Fonts/MyriadPro-Bold.otf', '/Library/Fonts/MyriadPro-BoldCond.otf', '/Library/Fonts/MyriadPro-BoldCondIt.otf', '/Library/Fonts/MyriadPro-BoldIt.otf', '/Library/Fonts/MyriadPro-Cond.otf', '/Library/Fonts/MyriadPro-CondIt.otf', '/Library/Fonts/MyriadPro-It.otf', '/Library/Fonts/MyriadPro-Regular.otf', '/Library/Fonts/MyriadPro-Semibold.otf', '/Library/Fonts/MyriadPro-SemiboldIt.otf', '/Library/Fonts/NuevaStd-BoldCond.otf', '/Library/Fonts/NuevaStd-BoldCondItalic.otf', '/Library/Fonts/NuevaStd-Cond.otf', '/Library/Fonts/NuevaStd-CondItalic.otf', '/Library/Fonts/OCRAStd.otf', '/Library/Fonts/OratorStd-Slanted.otf', '/Library/Fonts/OratorStd.otf', '/Library/Fonts/PoplarStd.otf', '/Library/Fonts/PrestigeEliteStd-Bd.otf', '/Library/Fonts/RosewoodStd-Regular.otf', '/Library/Fonts/StencilStd.otf', '/Library/Fonts/TektonPro-Bold.otf', '/Library/Fonts/TektonPro-BoldCond.otf', '/Library/Fonts/TektonPro-BoldExt.otf', '/Library/Fonts/TektonPro-BoldObl.otf', '/Library/Fonts/TrajanPro-Bold.otf', '/Library/Fonts/TrajanPro-Regular.otf', '/Library/LaunchDaemons/com.adobe.versioncueCS3.plist', '/Library/Preferences/com.adobe.acrobat.pdfviewer.plist', '/Library/Preferences/com.adobe.PDFAdminSettings.plist', '/Library/Preferences/com.Adobe.Premiere Pro.3.0.plist', '/Library/Preferences/com.adobe.versioncueCS3.plist', '/Library/Printers/PPDs/Contents/Resources/en.lproj/ADPDF8.PPD', '/Library/Printers/PPDs/Contents/Resources/ja.lproj/ADPDF8J.PPD', '/Library/Printers/PPDs/Contents/Resources/ko.lproj/ADPDF8K.PPD', '/Library/Printers/PPDs/Contents/Resources/zh_CN.lproj/ADPDF8CS.PPD', '/Library/Printers/PPDs/Contents/Resources/zh_TW.lproj/ADPDF8CT.PPD', '/private/etc/cups/ppd/AdobePDF8.ppd', '/private/etc/mach_init_per_user.d/com.adobe.versioncueCS3.monitor.plist', '/usr/libexec/cups/backend/pdf800');
my @foldersCS4=('/Applications/Adobe', '/Applications/Adobe Acrobat 9 Pro', '/Applications/Adobe After Effects CS4', '/Applications/Adobe Bridge CS4', '/Applications/Adobe Contribute CS4', '/Applications/Adobe Device Central CS4', '/Applications/Adobe Dreamweaver CS4', '/Applications/Adobe Drive CS4', '/Applications/Adobe Encore CS4', '/Applications/Adobe Extension Manager CS4', '/Applications/Adobe Fireworks CS4', '/Applications/Adobe Flash CS4', '/Applications/Adobe Illustrator CS4', '/Applications/Adobe InDesign CS4', '/Applications/Adobe Media Encoder CS4', '/Applications/Adobe Media Player.app', '/Applications/Adobe OnLocation CS4', '/Applications/Adobe Photoshop CS4', '/Applications/Adobe Premiere Pro CS4', '/Applications/Adobe Soundbooth CS4', '/Applications/Adobe Soundbooth Scores', '/Applications/Utilities/Adobe AIR Application Installer.app', '/Applications/Utilities/Adobe AIR Uninstaller.app', '/Applications/Utilities/Adobe Installers', '/Applications/Utilities/Adobe Utilities.localized', '/Library/Application Support/.Macrovision11.5.0.0 build 56285.uct2', '/Library/Application Support/Adobe', '/Library/Application Support/FLEXnet Publisher', '/Library/Application Support/Macromedia/FlashAuthor.cfg', '/Library/Application Support/Macromedia/FlashPlayerTrust', '/Library/Application Support/Synthetic Aperture Adobe CS4 Bundle', '/Library/ColorSync/Profiles/Profiles', '/Library/ColorSync/Profiles/Recommended', '/Library/Contextual Menu Items/ADFSMenu.plugin', '/Library/Frameworks/Adobe AIR.framework', '/Library/Internet Plug-Ins/AdobePDFViewer.plugin', '/Library/Internet Plug-Ins/npContributeMac.bundle', '/Library/Logs/Adobe', '/Library/PreferencePanes/VersionCueCS4.prefPane', '/Library/Preferences/FLEXnet Publisher', '/Library/Printers/PPD Plugins/AdobePDFPDE900.plugin', '/Library/QuickTime/SoundboothScoreCodec.component', '/Library/ScriptingAdditions/Adobe Unit Types.osax', '/Users/Shared/Adobe', '/Users/Shared/Library/Application Support/Adobe');
my @filesCS4=('/Library/Filesystems/AdobeDriveCS4.fs', '/Library/Fonts/ACaslonPro-Bold.otf', '/Library/Fonts/ACaslonPro-BoldItalic.otf', '/Library/Fonts/ACaslonPro-Italic.otf', '/Library/Fonts/ACaslonPro-Regular.otf', '/Library/Fonts/ACaslonPro-Semibold.otf', '/Library/Fonts/ACaslonPro-SemiboldItalic.otf', '/Library/Fonts/AdobeFangsongStd-Regular.otf', '/Library/Fonts/AdobeHeitiStd-Regular.otf', '/Library/Fonts/AdobeKaitiStd-Regular.otf', '/Library/Fonts/AdobeMingStd-Light.otf', '/Library/Fonts/AdobeMyungjoStd-Medium.otf', '/Library/Fonts/AdobeSongStd-Light.otf', '/Library/Fonts/AGaramondPro-Bold.otf', '/Library/Fonts/AGaramondPro-BoldItalic.otf', '/Library/Fonts/AGaramondPro-Italic.otf', '/Library/Fonts/AGaramondPro-Regular.otf', '/Library/Fonts/BellGothicStd-Black.otf', '/Library/Fonts/BellGothicStd-Bold.otf', '/Library/Fonts/BirchStd.otf', '/Library/Fonts/BlackoakStd.otf', '/Library/Fonts/BrushScriptStd.otf', '/Library/Fonts/ChaparralPro-Bold.otf', '/Library/Fonts/ChaparralPro-BoldIt.otf', '/Library/Fonts/ChaparralPro-Italic.otf', '/Library/Fonts/ChaparralPro-Regular.otf', '/Library/Fonts/CharlemagneStd-Bold.otf', '/Library/Fonts/CooperBlackStd-Italic.otf', '/Library/Fonts/CooperBlackStd.otf', '/Library/Fonts/EccentricStd.otf', '/Library/Fonts/GiddyupStd.otf', '/Library/Fonts/HoboStd.otf', '/Library/Fonts/KozGoPro-Bold.otf', '/Library/Fonts/KozGoPro-ExtraLight.otf', '/Library/Fonts/KozGoPro-Heavy.otf', '/Library/Fonts/KozGoPro-Light.otf', '/Library/Fonts/KozGoPro-Medium.otf', '/Library/Fonts/KozGoPro-Regular.otf', '/Library/Fonts/KozMinPro-Bold.otf', '/Library/Fonts/KozMinPro-ExtraLight.otf', '/Library/Fonts/KozMinPro-Heavy.otf', '/Library/Fonts/KozMinPro-Light.otf', '/Library/Fonts/KozMinPro-Medium.otf', '/Library/Fonts/KozMinPro-Regular.otf', '/Library/Fonts/LetterGothicStd-Bold.otf', '/Library/Fonts/LetterGothicStd-BoldSlanted.otf', '/Library/Fonts/LetterGothicStd-Slanted.otf', '/Library/Fonts/LetterGothicStd.otf', '/Library/Fonts/LithosPro-Black.otf', '/Library/Fonts/LithosPro-Regular.otf', '/Library/Fonts/MesquiteStd.otf', '/Library/Fonts/MinionPro-Bold.otf', '/Library/Fonts/MinionPro-BoldCn.otf', '/Library/Fonts/MinionPro-BoldCnIt.otf', '/Library/Fonts/MinionPro-BoldIt.otf', '/Library/Fonts/MinionPro-It.otf', '/Library/Fonts/MinionPro-Medium.otf', '/Library/Fonts/MinionPro-MediumIt.otf', '/Library/Fonts/MinionPro-Regular.otf', '/Library/Fonts/MinionPro-Semibold.otf', '/Library/Fonts/MinionPro-SemiboldIt.otf', '/Library/Fonts/MyriadPro-Bold.otf', '/Library/Fonts/MyriadPro-BoldCond.otf', '/Library/Fonts/MyriadPro-BoldCondIt.otf', '/Library/Fonts/MyriadPro-BoldIt.otf', '/Library/Fonts/MyriadPro-Cond.otf', '/Library/Fonts/MyriadPro-CondIt.otf', '/Library/Fonts/MyriadPro-It.otf', '/Library/Fonts/MyriadPro-Regular.otf', '/Library/Fonts/MyriadPro-Semibold.otf', '/Library/Fonts/MyriadPro-SemiboldIt.otf', '/Library/Fonts/NuevaStd-BoldCond.otf', '/Library/Fonts/NuevaStd-BoldCondItalic.otf', '/Library/Fonts/NuevaStd-Cond.otf', '/Library/Fonts/NuevaStd-CondItalic.otf', '/Library/Fonts/OCRAStd.otf', '/Library/Fonts/OratorStd-Slanted.otf', '/Library/Fonts/OratorStd.otf', '/Library/Fonts/PoplarStd.otf', '/Library/Fonts/PrestigeEliteStd-Bd.otf', '/Library/Fonts/RosewoodStd-Regular.otf', '/Library/Fonts/StencilStd.otf', '/Library/Fonts/TektonPro-Bold.otf', '/Library/Fonts/TektonPro-BoldCond.otf', '/Library/Fonts/TektonPro-BoldExt.otf', '/Library/Fonts/TektonPro-BoldObl.otf', '/Library/Fonts/TrajanPro-Bold.otf', '/Library/Fonts/TrajanPro-Regular.otf', '/Library/LaunchAgents/com.adobe.CS4ServiceManager.plist', '/Library/LaunchDaemons/com.adobe.versioncueCS4.plist', '/Library/Preferences/com.adobe.acrobat.pdfviewer.plist', '/Library/Preferences/com.adobe.AdobeOnlineHelp.plist', '/Library/Preferences/com.adobe.PDFAdminSettings.plist', '/Library/Preferences/com.adobe.versioncueCS4.plist', '/Library/Preferences/com.apple.audio.AggregateDevices.plist', '/Library/Printers/PPDs/Contents/Resources/en.lproj/ADPDF9.PPD', '/Library/Printers/PPDs/Contents/Resources/ja.lproj/ADPDF9J.PPD', '/Library/Printers/PPDs/Contents/Resources/ko.lproj/ADPDF9K.PPD', '/Library/Printers/PPDs/Contents/Resources/zn_CN.lproj/ADPDF9CS.PPD', '/Library/Printers/PPDs/Contents/Resources/zn_TW.lproj/ADPDF9CT.PPD', '/private/etc/cups/ppd/AdobePDF9.ppd', '/private/etc/mach_init_per_user.d/com.adobe.versioncueCS4.monitor.plist', '/usr/libexec/cups/backend/pdf900');
my @foldersCS5=('/Applications/Adobe', '/Applications/Adobe Acrobat 9 Pro', '/Applications/Adobe Acrobat X Pro', '/Applications/Adobe After Effects CS5', '/Applications/Adobe Bridge CS5', '/Applications/Adobe Contribute CS5', '/Applications/Adobe Device Central CS5', '/Applications/Adobe Dreamweaver CS5', '/Applications/Adobe Encore CS5', '/Applications/Adobe Extension Manager CS5', '/Applications/Adobe Fireworks CS5', '/Applications/Adobe Flash Builder 4', '/Applications/Adobe Flash Catalyst CS5', '/Applications/Adobe Flash CS5', '/Applications/Adobe Illustrator CS5', '/Applications/Adobe InDesign CS5', '/Applications/Adobe Media Encoder CS5', '/Applications/Adobe Media Player.app', '/Applications/Adobe OnLocation CS5', '/Applications/Adobe Photoshop CS5', '/Applications/Adobe Premiere Pro CS5', '/Applications/Adobe Soundbooth CS5', '/Applications/Utilities/Adobe AIR Application Installer.app', '/Applications/Utilities/Adobe AIR Uninstaller.app', '/Applications/Utilities/Adobe Installers', '/Applications/Utilities/Adobe Utilities-CS5.localized', '/Applications/osx', '/Library/Application Support/Adobe', '/Library/Application Support/Macromedia/.rskya9250.bin', '/Library/Application Support/Macromedia/FlashAuthor.cfg', '/Library/Application Support/Macromedia/FlashPlayerTrust', '/Library/Application Support/Mozilla', '/Library/Application Support/PACE Anti-Piracy', '/Library/Application Support/regid.1986-12.com.adobe', '/Library/Application Support/Synthetic Aperture Adobe CS5 Bundle', '/Library/ColorSync/Profiles/Profiles', '/Library/ColorSync/Profiles/Recommended', '/Library/Frameworks/Adobe AIR.framework', '/Library/Internet Plug-Ins/Flash Player.plugin', '/Library/Internet Plug-Ins/npContributeMac.bundle', '/Library/Logs/Adobe', '/Library/QuickTime/SoundboothScoreCodec.component', '/Library/ScriptingAdditions/Adobe Unit Types.osax', '/Users/Shared/Adobe', '/Users/Shared/Library');
my @filesCS5=('/Library/Fonts/ACaslonPro-Bold.otf', '/Library/Fonts/ACaslonPro-BoldItalic.otf', '/Library/Fonts/ACaslonPro-Italic.otf', '/Library/Fonts/ACaslonPro-Regular.otf', '/Library/Fonts/ACaslonPro-Semibold.otf', '/Library/Fonts/ACaslonPro-SemiboldItalic.otf', '/Library/Fonts/AdobeArabic-Bold.otf', '/Library/Fonts/AdobeArabic-BoldItalic.otf', '/Library/Fonts/AdobeArabic-Italic.otf', '/Library/Fonts/AdobeArabic-Regular.otf', '/Library/Fonts/AdobeFangsongStd-Regular.otf', '/Library/Fonts/AdobeFanHeitiStd-Bold.otf', '/Library/Fonts/AdobeGothicStd-Bold.otf', '/Library/Fonts/AdobeHebrew-Bold.otf', '/Library/Fonts/AdobeHebrew-BoldItalic.otf', '/Library/Fonts/AdobeHebrew-Italic.otf', '/Library/Fonts/AdobeHebrew-Regular.otf', '/Library/Fonts/AdobeHeitiStd-Regular.otf', '/Library/Fonts/AdobeKaitiStd-Regular.otf', '/Library/Fonts/AdobeMingStd-Light.otf', '/Library/Fonts/AdobeMyungjoStd-Medium.otf', '/Library/Fonts/AdobeSongStd-Light.otf', '/Library/Fonts/AGaramondPro-Bold.otf', '/Library/Fonts/AGaramondPro-BoldItalic.otf', '/Library/Fonts/AGaramondPro-Italic.otf', '/Library/Fonts/AGaramondPro-Regular.otf', '/Library/Fonts/BirchStd.otf', '/Library/Fonts/BlackoakStd.otf', '/Library/Fonts/BrushScriptStd.otf', '/Library/Fonts/ChaparralPro-Bold.otf', '/Library/Fonts/ChaparralPro-BoldIt.otf', '/Library/Fonts/ChaparralPro-Italic.otf', '/Library/Fonts/ChaparralPro-Regular.otf', '/Library/Fonts/CharlemagneStd-Bold.otf', '/Library/Fonts/CooperBlackStd-Italic.otf', '/Library/Fonts/CooperBlackStd.otf', '/Library/Fonts/GiddyupStd.otf', '/Library/Fonts/HoboStd.otf', '/Library/Fonts/KozGoPr6N-Bold.otf', '/Library/Fonts/KozGoPr6N-ExtraLight.otf', '/Library/Fonts/KozGoPr6N-Heavy.otf', '/Library/Fonts/KozGoPr6N-Light.otf', '/Library/Fonts/KozGoPr6N-Medium.otf', '/Library/Fonts/KozGoPr6N-Regular.otf', '/Library/Fonts/KozGoPro-Bold.otf', '/Library/Fonts/KozGoPro-ExtraLight.otf', '/Library/Fonts/KozGoPro-Heavy.otf', '/Library/Fonts/KozGoPro-Light.otf', '/Library/Fonts/KozGoPro-Medium.otf', '/Library/Fonts/KozGoPro-Regular.otf', '/Library/Fonts/KozMinPr6N-Bold.otf', '/Library/Fonts/KozMinPr6N-ExtraLight.otf', '/Library/Fonts/KozMinPr6N-Heavy.otf', '/Library/Fonts/KozMinPr6N-Light.otf', '/Library/Fonts/KozMinPr6N-Medium.otf', '/Library/Fonts/KozMinPr6N-Regular.otf', '/Library/Fonts/KozMinPro-Bold.otf', '/Library/Fonts/KozMinPro-ExtraLight.otf', '/Library/Fonts/KozMinPro-Heavy.otf', '/Library/Fonts/KozMinPro-Light.otf', '/Library/Fonts/KozMinPro-Medium.otf', '/Library/Fonts/KozMinPro-Regular.otf', '/Library/Fonts/LetterGothicStd-Bold.otf', '/Library/Fonts/LetterGothicStd-BoldSlanted.otf', '/Library/Fonts/LetterGothicStd-Slanted.otf', '/Library/Fonts/LetterGothicStd.otf', '/Library/Fonts/LithosPro-Black.otf', '/Library/Fonts/LithosPro-Regular.otf', '/Library/Fonts/MesquiteStd.otf', '/Library/Fonts/MinionPro-Bold.otf', '/Library/Fonts/MinionPro-BoldCn.otf', '/Library/Fonts/MinionPro-BoldCnIt.otf', '/Library/Fonts/MinionPro-BoldIt.otf', '/Library/Fonts/MinionPro-It.otf', '/Library/Fonts/MinionPro-Medium.otf', '/Library/Fonts/MinionPro-MediumIt.otf', '/Library/Fonts/MinionPro-Regular.otf', '/Library/Fonts/MinionPro-Semibold.otf', '/Library/Fonts/MinionPro-SemiboldIt.otf', '/Library/Fonts/MyriadPro-Bold.otf', '/Library/Fonts/MyriadPro-BoldCond.otf', '/Library/Fonts/MyriadPro-BoldCondIt.otf', '/Library/Fonts/MyriadPro-BoldIt.otf', '/Library/Fonts/MyriadPro-Cond.otf', '/Library/Fonts/MyriadPro-CondIt.otf', '/Library/Fonts/MyriadPro-It.otf', '/Library/Fonts/MyriadPro-Regular.otf', '/Library/Fonts/MyriadPro-Semibold.otf', '/Library/Fonts/MyriadPro-SemiboldIt.otf', '/Library/Fonts/MyriadWebPro-Bold.ttf', '/Library/Fonts/MyriadWebPro-Italic.ttf', '/Library/Fonts/MyriadWebPro.ttf', '/Library/Fonts/NuevaStd-BoldCond.otf', '/Library/Fonts/NuevaStd-BoldCondItalic.otf', '/Library/Fonts/NuevaStd-Cond.otf', '/Library/Fonts/NuevaStd-CondItalic.otf', '/Library/Fonts/OCRAStd.otf', '/Library/Fonts/OratorStd-Slanted.otf', '/Library/Fonts/OratorStd.otf', '/Library/Fonts/PoplarStd.otf', '/Library/Fonts/PrestigeEliteStd-Bd.otf', '/Library/Fonts/RosewoodStd-Regular.otf', '/Library/Fonts/StencilStd.otf', '/Library/Fonts/TektonPro-Bold.otf', '/Library/Fonts/TektonPro-BoldCond.otf', '/Library/Fonts/TektonPro-BoldExt.otf', '/Library/Fonts/TektonPro-BoldObl.otf', '/Library/Fonts/TrajanPro-Bold.otf', '/Library/Fonts/TrajanPro-Regular.otf', '/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist', '/Library/LaunchAgents/com.adobe.CS5ServiceManager.plist', '/Library/LaunchDaemons/com.adobe.SwitchBoard.plist', '/Library/Preferences/com.adobe.acrobat.pdfviewer.plist', '/Library/Preferences/com.adobe.headlights.apip.plist', '/Library/Preferences/com.adobe.Illustrator.15.0.2.plist', '/Library/Preferences/com.adobe.InDesign.7.0.3.plist', '/Library/Preferences/com.adobe.Contribute.6.0.plist', '/Library/Preferences/com.adobe.CSXS2Preferences.plist', '/Library/Preferences/com.adobe.Dreamweaver.11.plist', '/Library/Preferences/com.adobe.Fireworks.11.0.0.plist', '/Library/Preferences/com.adobe.Illustrator.15.0.0.plist', '/Library/Preferences/com.adobe.InDesign.7.0.plist', '/Library/Preferences/com.adobe.PDFAdminSettings.plist', '/Library/Preferences/com.apple.audio.AggregateDevices.plist', '/Library/Preferences/com.apple.mediaio.DeviceSettings.plist', '/Library/Preferences/com.masi.ddpp.plist', '/private/etc/mach_init_per_user.d/com.adobe.SwitchBoard.monitor.plist');
my @foldersCS55=('/Applications/Adobe Acrobat X Pro', '/Applications/Adobe After Effects CS5.5', '/Applications/Adobe Audition CS5.5', '/Applications/Adobe Bridge CS5.1', '/Applications/Adobe Contribute CS5.1', '/Applications/Adobe Device Central CS5.5', '/Applications/Adobe Dreamweaver CS5.5', '/Applications/Adobe Encore CS5.1', '/Applications/Adobe Extension Manager CS5.5', '/Applications/Adobe Fireworks CS5.1', '/Applications/Adobe Flash Builder 4.5', '/Applications/Adobe Flash Catalyst CS5.5', '/Applications/Adobe Flash CS5.5', '/Applications/Adobe Illustrator CS5.1', '/Applications/Adobe InDesign CS5.5', '/Applications/Adobe Media Encoder CS5.5', '/Applications/Adobe OnLocation CS5.1', '/Applications/Adobe Photoshop CS5.1', '/Applications/Adobe Premiere Pro CS5.5', '/Applications/Adobe Story.app', '/Applications/Adobe', '/Applications/Utilities/Adobe AIR Application Installer.app', '/Applications/Utilities/Adobe AIR Uninstaller.app', '/Applications/Utilities/Adobe Installers', '/Applications/Utilities/Adobe Utilities-CS5.5.localized', '/Library/Application Support/Adobe', '/Library/Application Support/Macromedia', '/Library/Application Support/regid.1986-12.com.adobe', '/Library/Application Support/Synthetic Aperture Adobe CS5.5 Bundle', '/Library/Automator/Save as Adobe PDF.action', '/Library/ColorSync/Profiles/Profiles', '/Library/ColorSync/Profiles/Recommended', '/Library/Frameworks/Adobe AIR.framework', '/Library/Internet Plug-Ins/Flash Player.plugin', '/Library/Internet Plug-Ins/npContributeMac.bundle', '/Library/Logs/Adobe', '/Library/PDF Services/Save as Adobe PDF.app', '/Library/ScriptingAdditions/Adobe Unit Types.osax', '/private/var/root/Library/Preferences/Macromedia', '/Users/Shared/Library/Application Support/Adobe');
my @filesCS55=('/Library/Fonts/ACaslonPro-Bold.otf', '/Library/Fonts/ACaslonPro-BoldItalic.otf', '/Library/Fonts/ACaslonPro-Italic.otf', '/Library/Fonts/ACaslonPro-Regular.otf', '/Library/Fonts/ACaslonPro-Semibold.otf', '/Library/Fonts/ACaslonPro-SemiboldItalic.otf', '/Library/Fonts/AdobeArabic-Bold.otf', '/Library/Fonts/AdobeArabic-BoldItalic.otf', '/Library/Fonts/AdobeArabic-Italic.otf', '/Library/Fonts/AdobeArabic-Regular.otf', '/Library/Fonts/AdobeFangsongStd-Regular.otf', '/Library/Fonts/AdobeFanHeitiStd-Bold.otf', '/Library/Fonts/AdobeGothicStd-Bold.otf', '/Library/Fonts/AdobeHebrew-Bold.otf', '/Library/Fonts/AdobeHebrew-BoldItalic.otf', '/Library/Fonts/AdobeHebrew-Italic.otf', '/Library/Fonts/AdobeHebrew-Regular.otf', '/Library/Fonts/AdobeHeitiStd-Regular.otf', '/Library/Fonts/AdobeKaitiStd-Regular.otf', '/Library/Fonts/AdobeMingStd-Light.otf', '/Library/Fonts/AdobeMyungjoStd-Medium.otf', '/Library/Fonts/AdobeSongStd-Light.otf', '/Library/Fonts/AGaramondPro-Bold.otf', '/Library/Fonts/AGaramondPro-BoldItalic.otf', '/Library/Fonts/AGaramondPro-Italic.otf', '/Library/Fonts/AGaramondPro-Regular.otf', '/Library/Fonts/BirchStd.otf', '/Library/Fonts/BlackoakStd.otf', '/Library/Fonts/BrushScriptStd.otf', '/Library/Fonts/ChaparralPro-Bold.otf', '/Library/Fonts/ChaparralPro-BoldIt.otf', '/Library/Fonts/ChaparralPro-Italic.otf', '/Library/Fonts/ChaparralPro-Regular.otf', '/Library/Fonts/CharlemagneStd-Bold.otf', '/Library/Fonts/CooperBlackStd-Italic.otf', '/Library/Fonts/CooperBlackStd.otf', '/Library/Fonts/GiddyupStd.otf', '/Library/Fonts/HoboStd.otf', '/Library/Fonts/KozGoPr6N-Bold.otf', '/Library/Fonts/KozGoPr6N-ExtraLight.otf', '/Library/Fonts/KozGoPr6N-Heavy.otf', '/Library/Fonts/KozGoPr6N-Light.otf', '/Library/Fonts/KozGoPr6N-Medium.otf', '/Library/Fonts/KozGoPr6N-Regular.otf', '/Library/Fonts/KozGoPro-Bold.otf', '/Library/Fonts/KozGoPro-ExtraLight.otf', '/Library/Fonts/KozGoPro-Heavy.otf', '/Library/Fonts/KozGoPro-Light.otf', '/Library/Fonts/KozGoPro-Medium.otf', '/Library/Fonts/KozGoPro-Regular.otf', '/Library/Fonts/KozMinPr6N-Bold.otf', '/Library/Fonts/KozMinPr6N-ExtraLight.otf', '/Library/Fonts/KozMinPr6N-Heavy.otf', '/Library/Fonts/KozMinPr6N-Light.otf', '/Library/Fonts/KozMinPr6N-Medium.otf', '/Library/Fonts/KozMinPr6N-Regular.otf', '/Library/Fonts/KozMinPro-Bold.otf', '/Library/Fonts/KozMinPro-ExtraLight.otf', '/Library/Fonts/KozMinPro-Heavy.otf', '/Library/Fonts/KozMinPro-Light.otf', '/Library/Fonts/KozMinPro-Medium.otf', '/Library/Fonts/KozMinPro-Regular.otf', '/Library/Fonts/LetterGothicStd-Bold.otf', '/Library/Fonts/LetterGothicStd-BoldSlanted.otf', '/Library/Fonts/LetterGothicStd-Slanted.otf', '/Library/Fonts/LetterGothicStd.otf', '/Library/Fonts/LithosPro-Black.otf', '/Library/Fonts/LithosPro-Regular.otf', '/Library/Fonts/MesquiteStd.otf', '/Library/Fonts/MinionPro-Bold.otf', '/Library/Fonts/MinionPro-BoldCn.otf', '/Library/Fonts/MinionPro-BoldCnIt.otf', '/Library/Fonts/MinionPro-BoldIt.otf', '/Library/Fonts/MinionPro-It.otf', '/Library/Fonts/MinionPro-Medium.otf', '/Library/Fonts/MinionPro-MediumIt.otf', '/Library/Fonts/MinionPro-Regular.otf', '/Library/Fonts/MinionPro-Semibold.otf', '/Library/Fonts/MinionPro-SemiboldIt.otf', '/Library/Fonts/MyriadPro-Bold.otf', '/Library/Fonts/MyriadPro-BoldCond.otf', '/Library/Fonts/MyriadPro-BoldCondIt.otf', '/Library/Fonts/MyriadPro-BoldIt.otf', '/Library/Fonts/MyriadPro-Cond.otf', '/Library/Fonts/MyriadPro-CondIt.otf', '/Library/Fonts/MyriadPro-It.otf', '/Library/Fonts/MyriadPro-Regular.otf', '/Library/Fonts/MyriadPro-Semibold.otf', '/Library/Fonts/MyriadPro-SemiboldIt.otf', '/Library/Fonts/MyriadWebPro-Bold.ttf', '/Library/Fonts/MyriadWebPro-Italic.ttf', '/Library/Fonts/MyriadWebPro.ttf', '/Library/Fonts/NuevaStd-BoldCond.otf', '/Library/Fonts/NuevaStd-BoldCondItalic.otf', '/Library/Fonts/NuevaStd-Cond.otf', '/Library/Fonts/NuevaStd-CondItalic.otf', '/Library/Fonts/OCRAStd.otf', '/Library/Fonts/OratorStd-Slanted.otf', '/Library/Fonts/OratorStd.otf', '/Library/Fonts/PoplarStd.otf', '/Library/Fonts/PrestigeEliteStd-Bd.otf', '/Library/Fonts/RosewoodStd-Regular.otf', '/Library/Fonts/StencilStd.otf', '/Library/Fonts/TektonPro-Bold.otf', '/Library/Fonts/TektonPro-BoldCond.otf', '/Library/Fonts/TektonPro-BoldExt.otf', '/Library/Fonts/TektonPro-BoldObl.otf', '/Library/Fonts/TrajanPro-Bold.otf', '/Library/Fonts/TrajanPro-Regular.otf', '/Library/Internet Plug-Ins/flashplayer.xpt', '/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist', '/Library/LaunchDaemons/com.adobe.SwitchBoard.plist', '/Library/Preferences/com.adobe.Contribute.6.1.plist', '/Library/Preferences/com.adobe.CSXS.2.5.plist', '/Library/Preferences/com.adobe.Dreamweaver.11.5.plist', '/Library/Preferences/com.adobe.Fireworks.11.1.0.plist', '/Library/Preferences/com.adobe.headlights.apip.plist.lockfile', '/Library/Preferences/com.adobe.headlights.apip.plist', '/Library/Preferences/com.adobe.Illustrator.15.1.0.plist', '/Library/Preferences/com.adobe.InDesign.7.5.1.plist', '/Library/Preferences/com.adobe.InDesign.7.5.plist', '/Library/Preferences/com.adobe.PDFAdminSettings.plist', '/private/etc/mach_init_per_user.d/com.adobe.SwitchBoard.monitor.plist', '/private/var/root/Library/Preferences/com.apple.loginwindow.plist.lockfile', '/private/var/root/Library/Preferences/com.apple.loginwindow.plist');
my @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/Profiles', '/Library/ColorSync/Profiles/Recommended', '/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', '/Library/Application Support/Mozilla', '/Users/Shared/Library/Application Support/Adobe', '/private/var/root/Library/Preferences/Adobe', '/private/var/root/Library/Preferences/Macromedia', '/private/var/root/Library/Application Support', '/private/var/root/Library/Preferences/QuickTime Preferences');
my @filesCS6=('/private/etc/mach_init_per_user.d/com.adobe.SwitchBoard.monitor.plist', '/Library/Preferences/com.adobe.Fireworks.12.0.0.plist', '/Library/Preferences/com.adobe.PDFAdminSettings.plist', '/Library/Preferences/com.adobe.headlights.apip.plist', '/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.acrobat.pdfviewer.plist', '/Library/Fonts/KozGoPro-Bold.otf', '/Library/Fonts/TrajanPro-Bold.otf', '/Library/Fonts/AdobeDevanagari-Regular.otf', '/Library/Fonts/KozMinPr6N-Regular.otf', '/Library/Fonts/NuevaStd-Bold.otf', '/Library/Fonts/OratorStd.otf', '/Library/Fonts/OCRAStd.otf', '/Library/Fonts/MinionPro-SemiboldIt.otf', '/Library/Fonts/MyriadPro-CondIt.otf', '/Library/Fonts/TrajanPro-Regular.otf', '/Library/Fonts/NuevaStd-BoldCondItalic.otf', '/Library/Fonts/ChaparralPro-BoldIt.otf', '/Library/Updates/ProductMetadata.plist', '/Library/Fonts/MyriadPro-BoldCond.otf', '/Library/Fonts/KozMinPr6N-Light.otf', '/Library/Fonts/KozGoPr6N-Bold.otf', '/Library/Fonts/AdobeFangsongStd-Regular.otf', '/Library/Fonts/MyriadPro-Regular.otf', '/Library/Fonts/ACaslonPro-BoldItalic.otf', '/Library/Fonts/BrushScriptStd.otf', '/Library/Fonts/CooperBlackStd.otf', '/Library/Fonts/AGaramondPro-BoldItalic.otf', '/Library/Fonts/AGaramondPro-Regular.otf', '/Library/Fonts/AGaramondPro-Italic.otf', '/Library/Fonts/AdobeHebrew-Bold.otf', '/Library/Fonts/AdobeDevanagari-BoldItalic.otf', '/Library/Fonts/ChaparralPro-Bold.otf', '/Library/Fonts/KozGoPr6N-Heavy.otf', '/Library/Fonts/StencilStd.otf', '/Library/Fonts/AdobeMyungjoStd-Medium.otf', '/Library/Fonts/TektonPro-BoldObl.otf', '/Library/Fonts/KozMinPro-Light.otf', '/Library/Fonts/MyriadHebrew-It.otf', '/Library/Fonts/AdobeHebrew-Regular.otf', '/Library/Fonts/PrestigeEliteStd-Bd.otf', '/Library/Fonts/ACaslonPro-Regular.otf', '/Library/Fonts/ChaparralPro-Regular.otf', '/Library/Fonts/ChaparralPro-LightIt.otf', '/Library/Fonts/KozGoPro-Medium.otf', '/Library/Fonts/CooperBlackStd-Italic.otf', '/Library/Fonts/RosewoodStd-Regular.otf', '/Library/Fonts/NuevaStd-Italic.otf', '/Library/Fonts/MyriadPro-BoldIt.otf', '/Library/Fonts/TektonPro-BoldExt.otf', '/Library/Fonts/KozMinPro-Medium.otf', '/Library/Fonts/KozGoPr6N-Regular.otf', '/Library/Fonts/AdobeDevanagari-Bold.otf', '/Library/Fonts/MyriadArabic-BoldIt.otf', '/Library/Fonts/KozGoPr6N-ExtraLight.otf', '/Library/Fonts/AdobeFanHeitiStd-Bold.otf', '/Library/Fonts/TektonPro-BoldCond.otf', '/Library/Fonts/MesquiteStd.otf', '/Library/Fonts/AdobeHeitiStd-Regular.otf', '/Library/Fonts/KozMinPr6N-ExtraLight.otf', '/Library/Fonts/KozGoPro-Regular.otf', '/Library/Fonts/AdobeKaitiStd-Regular.otf', '/Library/Fonts/MyriadArabic-Regular.otf', '/Library/Fonts/MyriadPro-It.otf', '/Library/Fonts/ACaslonPro-Bold.otf', '/Library/Fonts/BirchStd.otf', '/Library/Fonts/BlackoakStd.otf', '/Library/Fonts/MyriadPro-Bold.otf', '/Library/Fonts/TektonPro-Bold.otf', '/Library/Fonts/MinionPro-BoldCn.otf', '/Library/Fonts/KozGoPro-Heavy.otf', '/Library/Fonts/AGaramondPro-Bold.otf', '/Library/Fonts/AdobeArabic-Italic.otf', '/Library/Fonts/GiddyupStd.otf', '/Library/Fonts/MyriadPro-Semibold.otf', '/Library/Fonts/MinionPro-Semibold.otf', '/Library/Fonts/AdobeHebrew-Italic.otf', '/Library/Fonts/KozGoPr6N-Medium.otf', '/Library/Fonts/ACaslonPro-Italic.otf', '/Library/Fonts/MinionPro-Bold.otf', '/Library/Fonts/MyriadPro-SemiboldIt.otf', '/Library/Fonts/MyriadHebrew-Bold.otf', '/Library/Fonts/MinionPro-BoldCnIt.otf', '/Library/Fonts/LithosPro-Regular.otf', '/Library/Fonts/MyriadHebrew-BoldIt.otf', '/Library/Fonts/CharlemagneStd-Bold.otf', '/Library/Fonts/KozMinPr6N-Medium.otf', '/Library/Fonts/MinionPro-Regular.otf', '/Library/Fonts/OratorStd-Slanted.otf', '/Library/Fonts/KozMinPr6N-Heavy.otf', '/Library/Fonts/AdobeMingStd-Light.otf', '/Library/Fonts/AdobeSongStd-Light.otf', '/Library/Fonts/HoboStd.otf', '/Library/Fonts/LetterGothicStd-Slanted.otf', '/Library/Fonts/MinionPro-It.otf', '/Library/Fonts/AdobeArabic-Bold.otf', '/Library/Receipts/InstallHistory.plist', '/Library/Fonts/ACaslonPro-SemiboldItalic.otf', '/Library/Fonts/KozGoPr6N-Light.otf', '/Library/Fonts/ACaslonPro-Semibold.otf', '/Library/Fonts/NuevaStd-Cond.otf', '/Library/Fonts/ChaparralPro-Italic.otf', '/Library/Fonts/MinionPro-BoldIt.otf', '/Library/Fonts/MyriadArabic-Bold.otf', '/Library/Fonts/KozGoPro-ExtraLight.otf', '/Library/Fonts/MinionPro-MediumIt.otf', '/Library/Fonts/KozMinPr6N-Bold.otf', '/Library/Fonts/MyriadHebrew-Regular.otf', '/Library/Fonts/LithosPro-Black.otf', '/Library/Fonts/LetterGothicStd.otf', '/Library/Fonts/AdobeArabic-BoldItalic.otf', '/Library/Fonts/NuevaStd-CondItalic.otf', '/Library/Fonts/AdobeDevanagari-Italic.otf', '/Library/Fonts/AdobeNaskh-Medium.otf', '/Library/Fonts/AdobeArabic-Regular.otf', '/Library/Fonts/MyriadPro-Cond.otf', '/Library/Fonts/MyriadPro-BoldCondIt.otf', '/Library/Fonts/KozMinPro-Heavy.otf', '/Library/Fonts/LetterGothicStd-Bold.otf', '/Library/Fonts/AdobeGothicStd-Bold.otf', '/Library/Fonts/MinionPro-Medium.otf', '/Library/Fonts/KozMinPro-Bold.otf', '/Library/Fonts/PoplarStd.otf', '/Library/Fonts/MyriadArabic-It.otf', '/Library/Fonts/NuevaStd-BoldCond.otf', '/Library/Fonts/LetterGothicStd-BoldSlanted.otf', '/Library/Fonts/KozMinPro-Regular.otf', '/Library/Fonts/KozGoPro-Light.otf', '/Library/Fonts/KozMinPro-ExtraLight.otf', '/Library/Fonts/AdobeHebrew-BoldItalic.otf');


my %hash = ("3" => {"files" => @filesCS3,
                    "folders" => @foldersCS3},
            "4" => {"files" => @filesCS4,
                    "folders" => @foldersCS4},
            "5" => {"files" => @filesCS5,
                    "folders" => @foldersCS5},
            "5.5" => {"files" => @filesCS55,
                    "folders" => @foldersCS55},
            "6" => {"files" => @filesCS6,
                    "folders" => @foldersCS6}
                                                );

################################################################################

open(LOG, ">>$log") || die "Can't open file: $!
";
# check for the version of the CS, using Flash as reference. Photoshop was used before CS5.5.
my $dirname = "/Applications/";
my $file;
my $dir;
opendir(DIR, $dirname) or die "can't opendir $dirname: $!";
while (defined($file = readdir(DIR))) {
     if (-d "$dirname$file" && "$dirname$file" =~ /Adobe Flash CS([0-9].[0-9])/gi || "$dirname$file" =~ /Adobe Flash CS([0-9])/gi) {
     print LOG "$DATE 		 Adobe Creative Suite Software installed is CS$1. 
";
            &checkversion($1);
    }
}
close (LOG);
################################################################################

sub checkversion {
    my $version = shift;
    if ($version == 3) {
        print LOG "$DATE 		 Deleting Adobe CS$version... 
";
        &deleteCS($version);
    }
    elsif ($version == 4) {
        print LOG "$DATE 		 Deleting Adobe CS$version... 
";
        &deleteCS($version);
    }
    elsif ($version == 5) {
        print LOG "$DATE 		 Deleting Adobe CS$version... 
";
        &deleteCS($version);
    }
    elsif ($version == 5.5) {
        print LOG "$DATE 		 Deleting Adobe CS$version... 
";
        &deleteCS($version);
    }
        elsif ($version == 6) {
        print LOG "$DATE 		 Deleting Adobe CS$version... 
";
        &deleteCS($version);
    }
    else {
        print LOG "$DATE 		 CS Suite version is CS$version 
";
    }
}

################################################################################

sub deleteCS {
    my $version = shift;
    my @files = @{$hash{$version}{"files"}};
    my @folders  = @{$hash{$version}{"folders"}};

    foreach my $file (@files) {
        #print "deleting 		 $file
";
        unlink($file) or warn "couldn't unlink $file: $!";
    }
    use File::Path;
    foreach my $folder (@folders) {
        #print "deleting 		 $folder
";
        rmtree($folder) or warn "couldn't delete folder $folder: $!";
    }
}

################################################################################

exit 0;

chuck3000
Contributor

I see this was updated to remove CS6, but how about Creative Cloud or Creative Cloud 2014?
I've found that:
Using Adobe's cleaner tool, specifically the "silent mode (Enterprise users)" script, only disables the software, but doesn't actually clean up after itself. I believe the GUI version does the same thing.
The only thing I found that works, is to run each apps uninstaller (in the Applications) folder, but that requires a GUI and cannot be scripted.

The script above helps with most cleanup, but occasionally I find there are straggler folders and Adobe files left laying around. I've successfully used a find command and removes anything *adobe*, but you must be VERY careful or it will remove files and folders with the word "adobe" in it, or if you have any mounted volumes and you start at root (/), it WILL remove from there too. Here's the echo version for safety. You can change echo to rm -r if you feel dangerous.

find / -iname '*adobe*' -exec echo '{}' ;

I do have some updated info from Adobe that may be helpful regarding file locations for complete reinstall:

Cleaning up a machine of Adobe installed products and starting fresh. Please keep in mind there is a lot of content under these folders.
There are two library folders on the Mac. It is critical to be in the right library folder.

/Library/Application Support/Adobe
/Users/<user name/Library/Application Data/Adobe/*
/Library/Logs/Adobe/*
/Applications/Adobe *
/Applications/Utilities/Adobe*
/Library/Application Support/regid.1986-12.com.adobe (or similar like regid*.com.adobe*)

Would be great if you can update the script to be complete to include CC and CC2014 !
Thanks!

perrycj
Contributor III

@Mauricio][/url

I, too, have tried to use this script to remove CS 5.5 design standard but have had no luck. It runs for 2 seconds and then says successful. I've made the change to make photoshop the reference file here:

open(LOG, ">>$log") || die "Can't open file: $!
";
# check for the version of the CS, using Flash as reference. Photoshop was used before CS5.5.
my $dirname = "/Applications/";
my $file;
my $dir;
opendir(DIR, $dirname) or die "can't opendir $dirname: $!";
while (defined($file = readdir(DIR))) {
     if (-d "$dirname$file" && "$dirname$file" =~ /Adobe Photoshop CS([0-9].[0-9])/gi || "$dirname$file" =~ /Adobe Photoshop CS([0-9])/gi) {
     print LOG "$DATE 		 Adobe Creative Suite Software installed is CS$1. 
";
            &checkversion($1);
    }
}
close (LOG);

Does it need to be made anywhere else? Please let me know and thanks for posting.

Mauricio
Contributor II

@ perrycj

Hi Chris We only used the Adobe "Premium" suites here and I have no access to the Design Standard.
Your change will need to reflect the correct suite, so it looks correct.

You will also need to "compile" a list of files and folders that needs to be deleted for that suite (look at my @foldersCS55 and my @filesCS55)

Basically what I've done is:

•In a clean build Mac run Composer (Normal Snapshot).
•Install the Adobe Suite.
•In Composer > Create Package.
•Look for the Files for Package in the Snashots folder of your package.
•Work out the files and folders and make a comma separated list and create the my @filesCS55 ( ); my @foldersCS55 ( ); entries.

PS: Makes sure you are not deleting shared file/folders used elsewhere like /Library/Automator for example.

Let me know if you need further assistance.
Kind regards
Mauricio

fcloth
New Contributor II

@Mauricio

Thanks for sharing this script. Working great for me. Now that we are on CC 2014, any chance of an update to include CC aka CS7?

Mauricio
Contributor II

@fcloth

Hi Adam

Glad the script is useful.
I've been working on the CC stuff here more on the case of deleting the applications only just to free up HD space, not much time to work on this.
Now with CS 2015 in the mix, deleting CC 2014 may be needed as well.
I'll put together the scripts I have and post here soon.
Regards
Mauricio

Eben_Holub
New Contributor

@Mauricio

Hi Mauricio,

Did you by chance, ever complete the CS 2014 uninstall portion of the script?

Thanks,
Eben