3 weeks ago
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!
Solved! Go to Solution.
3 weeks ago
@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.
3 weeks ago
@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.
3 weeks ago
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.
3 weeks ago
But If I do "less than or equal to" the lastest version that will work right?
3 weeks ago
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.
3 weeks ago
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.
3 weeks ago
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.