Copy link to clipboard
Copied
Hey!
Trying to use the RemoverTool in Acrobat X Pro to cleanly uninstall it with the licensing, prefs etc using the command line.
16.7 16 Macintosh Deployments — Enterprise Administration Guide
It errors on the last line ERROR Removing the file: /Applications/Adobe Acrobat X Pro.
Anyone know how to stop this from happening?
Thanks
Copy link to clipboard
Copied
This line?
$ sudo "/Applications/Adobe Acrobat X Pro/Adobe Acrobat Pro.app/Contents/Support/Acrobat
Uninstaller.app/Contents/MacOS/RemoverTool" "/Applications/Adobe Acrobat X Pro/Adobe Acrobat
Pro.app/Contents/Support/Acrobat Uninstaller.app/Contents/MacOS/RemoverTool"
"/Applications/Adobe Acrobat X Pro/Adobe Acrobat Pro.app"
The "sudo" command should work but try executing it logged on to the Terminal app as "root".
Also make sure your backup and antivirus are turned OFF.
Copy link to clipboard
Copied
Thanks for your reply Sabian,
Yes, thats the command
I'm running it as root and have no AV installed or running.
We use Casper Suite to deliver this command and it completes but fails the delete with ERROR Removing the file: /Applications/Adobe Acrobat X Pro
Be nice to have it cleanly exit
Copy link to clipboard
Copied
Does the console log indicate more detail?
If not, have you tried using FSEventer to log the activity to try and catch details on the uninstall failure?
Copy link to clipboard
Copied
Got fed up so uninstalled it using this
rm -fdR /var/root/Library/LaunchAgents/com.adobe.*
rm -fdR /Library/Application\ Support/Adobe/
rm -fdR /Library/Internet\ Plug-Ins/AdobePDFViewer.plugin
rm -fdR /Library/Preferences/com.adobe.acrobat.pdfviewer.plist
rm -fdR /Applications/Adobe\ Acrobat\ X\ Pro
rm -fdR /Library/Application\ Support/Adobe/Acrobat\ 10\ AMT
rm -fdR /Library/Application\ Support/Adobe
rm -fdR /Library/Application Support/Mozilla/Extensions/*adobedotcom
rm -fdR /Library/Automator/Save\ as\ Adobe\ PDF.action
rm -fdR /Library/PDF\ Services/Save\ as\ Adobe\ PDF.app
rm -fdR /Applications/Adobe\ Acrobat\ X\ Pro
rm -fdR /Library/Preferences/Adobe\systems
rm -fdR /Library/Internet\ Plug-Ins/AdobePDFViewer.plugin
rm -fdR /Library/Application\ Support/Adobe
rm -fdR /Library/Preferences/com.adobe*
rm -fdR /Library/Preferences/com.Adobe*
rm -fdR /Library/Logs/Adobe
rm -fdR /Library/Preferences/Adobe
rm -fdR /Library/Preferences/Acrobat*
USERS="$(ls -1 /Users)"
for USERDIR in $USERS; do
rm -fdR /Users/$USERDIR/Library/Application\ Support/Adobe
rm -fdR /Users/$USERDIR/Library/Preferences/Acrobat*
rm -fdR /Users/$USERDIR/Library/Preferences/Adobe
rm -fdR /Users/$USERDIR/Library/Preferences/com.adobe*
rm -fdR /Users/$USERDIR/Library/Preferences/com.Adobe*
rm -fdR /Users/$USERDIR/Library/Preferences/Adobe*
done
Copy link to clipboard
Copied
That'll do it.
Copy link to clipboard
Copied
The RemovalTool does not delete the alias to the Adobe Uninstaller package in /Applications/Adobe Acrobat X Pro/. When RemovalTool attempts to delete the Adobe Acrobat X Pro folder, it fails because it's not empty. That's your error.
If you remove the alias first, using the command "rm /Applications/Adobe\ Acrobat\ X\ Pro/Acrobat\ X\ Uninstaller", the RemovalTool command will delete the /Applications/Adobe Acrobat X Pro/ folder and exit as you wish.
For what it's worth (and for the record), the RemovalTool in Acrobat Pro XI deletes the alias properly.
Thanks for the original post; I was looking for instructions on uninstalling Acrobat Pro at the time!
Copy link to clipboard
Copied
Of course, in more testing, I found that RemovalTool still occasionally failed to remove the folder. I found that the folder removal was being blocked by a hidden .DS_Store file in the folder. I have no idea how that file was getting there (something about my Casper-based installation packages, no doubt), but it's something else to check for when preparing your removal scripts.
Haven't double-checked the Acrobat Pro XI RemovalTool's behavior yet.