We’ve been using the following command to reveal an app in the Finder after it is installed via Self Service. (Firefox, in this example):
/usr/bin/su - "/usr/bin/stat -f%Su /dev/console" -c "/usr/bin/open -R '/Applications/Firefox.app'"
Procedure
- Add the Files and Processes payload to your Self Service policy
- Adjust the above snippet for the specific app to reveal in the Finder
- Add the customized snippet to the Execute Command field
- Save and test