Adobe Acrobat XI Pro uninstall script

tcandela
Valued Contributor II

I want to use the following adminguide to uninstall Adobe Acrobat XI Pro with a script, but can't seem to get it to work. The command line command is located at the just about the bottom of the following link.

Does anyone know how to make this command run using a simple script

#!/bin.sh ?????

http://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/mac.html#what-s-new-for-11-x

this is the command being performed via youtube video (substitue XI for the applications folder name)

https://www.youtube.com/watch?v=Knvf7WZdP5w

2 ACCEPTED SOLUTIONS

thoule
Valued Contributor II

<path to remover tool> <path to remover tool> <path to Acrobat Pro.app>

"/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app/Contents/Support/Acrobat Uninstaller.app/Contents/MacOS/RemoverTool" "/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app/Contents/Support/Acrobat Uninstaller.app/Contents/MacOS/RemoverTool" "/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app"

View solution in original post

aghali
New Contributor II
#!/bin/bash

#version 18
sudo "/Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/Library/LaunchServices/com.adobe.Acrobat.RemoverTool" "/Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/MacOS/Acrobat Uninstaller" "/Applications/Adobe Acrobat DC/Adobe Acrobat.app"

#version 15
sudo "/Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/MacOS/RemoverTool" "/Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/MacOS/RemoverTool" "/Applications/Adobe Acrobat DC/Adobe Acrobat.app"

exit 0

View solution in original post

19 REPLIES 19

thoule
Valued Contributor II

Looks to me like the Uninstall for 2015 is located at

/Applications/Adobe Acrobat 2015/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/MacOS/Acrobat Uninstaller

I'm not going to run it on my machine, but if that path doesn't get you want you need, then post what you've tried and the error you get and we'll figure it out from there.

tcandela
Valued Contributor II

hang on,

tcandela
Valued Contributor II

@thoule I am using the command taken from the following url, (close to the bottom of the web page)

http://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/mac.html#what-s-new-for-11-x

looks like i got it working, It's just a simple one liner. (what character can I use to break up this one liner so its still a one liner but on 3 lines) ? ? trying just after " "

I originally spelled a directory wrong which gave me an error.

Doing a littler more testing

#!/bin/sh "/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app/Contents/Support/Acrobat Uninstaller.app/Contents/MacOS/RemoverTool" "/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app/Contents/Support/Acrobat Uninstaller.app" "/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app"

thoule
Valued Contributor II

The guide from Adobe says

 <Remover tool path> <Uninstaller.app path> <Acrobat App path>.

However, in the example right below, it, the second item isn't Uninstaller.app path, but is instead again the Remove Tool path (so yeah, remove Tool path twice). That worked for me (the example, not the documentation).

"/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app/Contents/Support/Acrobat Uninstaller.app/Contents/MacOS/RemoverTool" "/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app/Contents/Support/Acrobat Uninstaller.app/Contents/MacOS/RemoverTool" "/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app"

tcandela
Valued Contributor II

@thoule yes I seen that also and switched my second entry to reference uninstaller.app

I'm unclear on what you did
so do you have your second item referencing uninstaller.app or removerTool?

thoule
Valued Contributor II

<path to remover tool> <path to remover tool> <path to Acrobat Pro.app>

"/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app/Contents/Support/Acrobat Uninstaller.app/Contents/MacOS/RemoverTool" "/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app/Contents/Support/Acrobat Uninstaller.app/Contents/MacOS/RemoverTool" "/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app"

tcandela
Valued Contributor II

@thoule I switched it back to <remover tool> <remove tool> <acrobat pro.app> and it uninstalls.

whats weird though is the log afterwards is not very helpful.

Script result: Forgot package 'com.adobe.acrobat.11.viewer.app.pkg.MUI' on '/'.

Forgot package 'com.adobe.acrobat.11.viewer.preinstall.pkg.MUI' on '/'.
Forgot package 'com.adobe.acrobat.11.viewer.appsupport.pkg.MUI' on '/'.
Forgot package 'com.adobe.acrobat.11.viewer.browser.pkg.MUI' on '/'.
Forgot package 'com.adobe.acrobat.11.viewer.print_automator.pkg.MUI' on '/'.
Forgot package 'com.adobe.acrobat.11.viewer.print_pdf_services.pkg.MUI' on '/'.

No receipt for 'com.adobe.acrobat.11.viewer.preferences.pkg' found at '/'.
No receipt for 'com.adobe.acrobat.a11.AcrobatQfeUpd11
' found at '/'.
No receipt for 'com.adobe.acrobat.a11.AcrobatUpd11001' found at '/'.
No receipt for 'com.adobe.acrobat.a11.AcrobatSecUpd11002
' found at '/'.
No receipt for 'com.adobe.acrobat.a11.AcrobatUpd11003' found at '/'.
No receipt for 'com.adobe.acrobat.a11.AcrobatUpd11004
' found at '/'.
No receipt for 'com.adobe.acrobat.a11.AcrobatSecUpd11005' found at '/'.
No receipt for 'com.adobe.acrobat.a11.AcrobatUpd11006
' found at '/'.
No receipt for 'com.adobe.acrobat.a11.AcrobatUpd11007' found at '/'.
No receipt for 'com.adobe.acrobat.a11.AcrobatUpd11009
' found at '/'.
No receipt for 'com.adobe.acrobat.a11.AcrobatUpd11010' found at '/'.
No receipt for 'com.adobe.acrobat.a11.AcrobatUpd11011
' found at '/'.
No receipt for 'com.adobe.acrobat.a11.AcrobatUpd11012' found at '/'.
No receipt for 'com.adobe.acrobat.a11.AcrobatUpd11013
' found at '/'.
No receipt for 'com.adobe.acrobat.a11.AcrobatUpd11014*' found at '/'.
Forgot package 'com.adobe.acrobat.a11.AcrobatSecUpd11015' on '/'.
Inventory will be updated when all queued actions in Self Service are complete

rqomsiya
Contributor III

I don't have the remover tool.. i only have the "Adobe Uninstaller".. see below screenshot:

619bfd5ca9c84414b2d1af44b2b5e438

mattiasvdm
New Contributor

Same here, no remover tool. Is this something new with the latest updates? I've checked the Adobe admin guide but no information regarding this.

rqomsiya
Contributor III

Hi @mattiasvdm ,

I just got off a call with Adobe support. Here is the solution that worked for me. Looks like you need to call the binary that's located in the /Library folder:

#!/bin/bash

sudo /Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app/Contents/Support/Acrobat Uninstaller.app/Contents/Library/LaunchServices/com.adobe.Acrobat.RemoverTool /Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app

exit 0

mattiasvdm
New Contributor

Thanks! This seems to work.

greenfuse
New Contributor

For Acrobat Pro DC 2017 (Classic Track) the uninstall command is:

sudo /Applications/Adobe Acrobat 2017/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/Library/LaunchServices/com.adobe.Acrobat.RemoverTool /Applications/Adobe Acrobat 2017/Adobe Acrobat.app

marck
New Contributor III

For Acrobat DC 2018 this works

"/Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/Library/LaunchServices/com.adobe.Acrobat.RemoverTool" "/Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/MacOS/Acrobat Uninstaller" "/Applications/Adobe Acrobat DC/Adobe Acrobat.app"

sbirdsley
Contributor

Confirmed for Adobe Acrobat 2017 Pro (Acrobat 2017 Track) removal

#!/bin/sh
sudo /Applications/Adobe Acrobat 2017/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/Library/LaunchServices/com.adobe.Acrobat.RemoverTool /Applications/Adobe Acrobat 2017/Adobe Acrobat.app

aghali
New Contributor II
#!/bin/bash

#version 18
sudo "/Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/Library/LaunchServices/com.adobe.Acrobat.RemoverTool" "/Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/MacOS/Acrobat Uninstaller" "/Applications/Adobe Acrobat DC/Adobe Acrobat.app"

#version 15
sudo "/Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/MacOS/RemoverTool" "/Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/MacOS/RemoverTool" "/Applications/Adobe Acrobat DC/Adobe Acrobat.app"

exit 0

tcandela
Valued Contributor II

@sbirdsley @aghali I updated my adobe acrobat uninstall script. Similar to my XI Pro uninstall script (just change directory/file names)

before i had this "/MacOS/RemoverTool". but execution of the script would say 'removetool' file not found, but it still uninstalled. I updated both XI and 2017 to the same as below (changing the XI/2017 when needed). It's an if/else/elseif script checking for application directory for -d "/Applications/Adobe Acrobat ????"

"/Applications/Adobe Acrobat 2017/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/Library/LaunchServices/com.adobe.Acrobat.RemoverTool" "/Applications/Adobe Acrobat 2017/Adobe Acrobat.app/Contents/Helpers/Acrobat Uninstaller.app/Contents/MacOS/Acrobat Uninstaller" "/Applications/Adobe Acrobat 2017/Adobe Acrobat.app"

atlauren
New Contributor

Thread Bump

Does anyone have script lines for Adobe Acrobat 9 or Acrobat X?

Thanks!

marktway
New Contributor

We've been getting Error 53s from Word and Power Point.  Reinstalling Adobe Acrobat 2020 seems to solve the problem.  Here's a remover for Adobe Acrobat 2020:

#!/bin/bash

#Deletes Adobe Acrobat 2020
sudo /Applications/Adobe\ Acrobat\ 2020/Adobe\ Acrobat.app/Contents/Helpers/Acrobat\ Uninstaller.app/Contents/Library/LaunchServices/com.adobe.Acrobat.RemoverTool /Applications/Adobe\ Acrobat\ 2020/Adobe\ Acrobat.app

exit 0

And a cleaned up version for 2017:

#!/bin/bash

#Deletes Adobe Acrobat 2017
sudo /Applications/Adobe\ Acrobat\ 2017/Adobe\ Acrobat.app/Contents/Helpers/Acrobat\ Uninstaller.app/Contents/Library/LaunchServices/com.adobe.Acrobat.RemoverTool /Applications/Adobe\ Acrobat\ 2017/Adobe\ Acrobat.app/Contents/Helpers/Acrobat\ Uninstaller.app /Applications/Adobe\ Acrobat\ 2017/Adobe\ Acrobat.app
exit 0

Thanks to those here who guided this!

 

tcandela
Valued Contributor II

@marktway I've seen these Word, Excel, PowerPoint 53 errors 3 times on systems with Adobe acrobat pro 2020, 

Looking up the error code showstopper remove a file and uncheck an option. You've probably seen what I'm talking about.

So far I haven't done any unstalling of Adobe acrobat pro 2020 or office.

I'm not sure why these 3 computers had this error 53 while the 40 others with same software didn't