Skip to main content
Question

Self Service: Reveal App After Install

  • July 5, 2017
  • 1 reply
  • 1 view

dan-snelson
Forum|alt.badge.img+30

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

1 reply

Wakko
Forum|alt.badge.img+19
  • Valued Contributor
  • July 5, 2017

@dan.snelson Neat little script! Thanks