User selection to remove Adobe apps using Swift Dialog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Here is another goodie! As everyone knows (or maybe it is just me), that the Adobe apps are a real pain to deal with, and I have come up with a script that will facilitate the removal of any Adobe apps that are discovered on a user's system.
The script will go thru and import a directory listing all of the adobe apps that it can find and determine the highest "year" that is installed, and when the user is presented with the removal options, it will NOT allow them to remove the the highest year versions, but will allow them to remove previous versions. I will also remove any CS6 and older files, outdated Adobe reader apps, outdated Acrobat apps & Safari flash plugin
You can also pass the year when a new version becomes available and it will (optionally) present the user with a message stating that there is a newer version available if they don't already have it installed.
There are two critical functions for this process noted here:
extract_version_code()
: (This handles any "descrepencies" from Adobe's BaseVersion naming convention). I use the CFBundleShortVersionString
plist entry to determine the Baseversion number, but Adobe is not 100% consistent with their numbering scheme, so editng the CASE statement in this function can allow for changes to the version string.
adobeJSONarray
: This handles the Application name and its SAPCode.
I have tested the most common apps all the way back to 2022, but I don't have access to anything older to verify against. So if anyone has versions 2021 and older and can test, please let me know what you find out.
Script can be found here: https://github.com/ScottEKendall/JAMF-Pro-Scripts/tree/main/RemoveAdobeApps
Selection Screen (Note the 2025 versions are disabled as they cannot be removed since they are the highest level year on their system. I also used the 2026 version to test the notice function):
Confirmation of their choice
Removal screen
I have tested against this list of products, but not able to test anything older than 2021...if any can test those versions, please let me know...
A sample of the AdobeCCUninstaller --list command. Not all of them follow the same number scheme, so had to make special accommodations for that...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
This looks great. Thank you @ScottEKendall!
