11-13-2023 06:08 AM - edited 11-13-2023 06:09 AM
Hi all,
I'm trying to locate the Virtualbox License file on managed devices. I followed the guide outlined here https://community.jamf.com/t5/jamf-pro/best-methods-to-search-for-the-existence-of-a-file/m-p/286067 but a Smart Search doesn't yield any results (I personally created a dummy file to check that)
I created an EA with the script outlined
#!/bin/bash
LicenseFilePath="/Applications/VirtualBox.app/Contents/MacOS/ExtensionPacks/Oracle_VM_VirtualBox_ Extension_Pack/ExtPack-license.html"
if [[ -e "${LicenseFilePath}" ]]; then
EA_RESULT="Installed"
else
EA_RESULT="Not installed"
fi
echo "<result>${EA_RESULT}</result>"
I created a Smart Group with EA-Name as Criteria and Value Installed
Any suggestions?
Thanks!
Solved! Go to Solution.
Posted on 11-13-2023 06:28 AM
Found the problem! there's a space too much in the path :)
Posted on 11-13-2023 06:28 AM
Found the problem! there's a space too much in the path :)
Posted on 03-21-2024 03:46 AM
Thanks for this, we just got an email from Oracle asking to track these down.