Self Service: Reveal App After Install

dan-snelson
Valued Contributor II

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

  1. Add the Files and Processes payload to your Self Service policy
  2. Adjust the above snippet for the specific app to reveal in the Finder
  3. Add the customized snippet to the Execute Command field
  4. Save and test

82926f1544ce4b8bb99494bd5d6a0bec

1 REPLY 1

Wakko
Contributor II

@dan.snelson Neat little script! Thanks