/build/static/layout/Breadcrumb_cap_w.png

Script to Uninstall Adobe Flash Player on Mac OSX

Does anyone have a working script, or even an idea on how to script the silent removal of Adobe Flash Player from a Mac? It's easily done on Windows using a script that runs the Adobe uninstall tool, but can't yet find a suitable way to do it on the Mac. Thanks for any ideas you might have.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: Clayton CorrĂȘa 3 years ago
White Belt
0

I couldn't find a way to uninstall Adobe Flash Player on Windows. Can you please help me with that script?

Posted by: horacior 3 years ago
Second Degree Brown Belt
0

For Windows:


This is what I'm using for our environment. You will need to download the uninstaller from the adobe website, then you create an Online Kscript like the picture below, include the .exe as a dependency.

It works like a charm, no user interaction is needed.

WbL+zT2J+cAAAAAElFTkSuQmCC


For macOS:

I use an Online ShellScript


#!/bin/sh

# Pull current logged in user into 'user' variable.
user=`ls -l /dev/console | cut -d " " -f 4`


#Uninstalling Flash Player now
sudo /Applications/Utilities/Adobe\ Flash\ Player\ Install\ Manager.app/Contents/MacOS/Adobe\ Flash\ Player\ Install\ Manager -uninstall


#Removes old installation logs if any

sudo rm -rf /Applications/Adobe/Flash\ Player


 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ