EA - Adobe Illustrator - Application Path

dwynn
New Contributor III

The application name for Adobe Illustrator remains the same regardless of the version installed, which makes it challenging to identify specific versions based on the file path alone. I need to create an Extension Attribute (EA) that can detect different installation paths for Adobe Illustrator, such as:

  • /Applications/Adobe Illustrator 2024/Adobe Illustrator.app
  • /Applications/Adobe Illustrator 2025/Adobe Illustrator.app

This will allow me to create a smart computer group in Jamf Pro and effectively scope updates for each version.

I’ve tried the following script, but it doesn’t seem to be working as expected. Any advice on how to get this working would be greatly appreciated!

dwynn_0-1730993760392.png

 

 

 

1 ACCEPTED SOLUTION

sdagley
Esteemed Contributor II

@dwynn You can use Patch Management definitions to create a Smart Group for a specific year version of Adobe apps. Create a record for the apps you're looking to differentiate in the Patch Management section of Jamf Pro, then for your Smart Group criteria click Show Advanced Criteria, choose Patch Reporting Software Title, then select the patch reporting entry for the specific year app you're looking for.

View solution in original post

6 REPLIES 6

sdagley
Esteemed Contributor II

@dwynn You can use Patch Management definitions to create a Smart Group for a specific year version of Adobe apps. Create a record for the apps you're looking to differentiate in the Patch Management section of Jamf Pro, then for your Smart Group criteria click Show Advanced Criteria, choose Patch Reporting Software Title, then select the patch reporting entry for the specific year app you're looking for.

dwynn
New Contributor III

That is a great idea. One problem I see is that I have to select each version of Illustrator I want to add to the group. If a new version is released, say, 30.0, then I'll have to come back and add it to the group. I'm trying to make this as dynamic as possible. 

dwynn_0-1731000239284.png

 

 

dwynn
New Contributor III

But If I do "less than or equal to" the lastest version that will work right?

sdagley
Esteemed Contributor II

Correct <= to latest version if you're ok for that to change when Jamf updates the definition. For orgs that like to defer the availability of updates (e.g. we defer the monthly Office for Mac updates 21 days) use <= a specific version and then tweak the criteria manually when ready for a newer version.

Prnchimanshu911
New Contributor

You can try this EA Once.

#!/bin/sh

# Initialize result variable
result="Not Installed"

# Loop through potential Adobe Illustrator installation paths
for year in {2024..2026}; do
if [ -e "/Applications/Adobe Illustrator $year/Adobe Illustrator.app" ]; then
# Append found version to result
result="Adobe Illustrator $year"
fi
done

# Output the result for Jamf
echo "<result>$result</result>"

Note : Adjust the year range {2024..2026} based on the expected versions you want to detect.

Thank you! I used @sdagley suggested solution and it works like a charm. Use "less than or equal to" the latest version on the criteria and it will show all machines with it installed.