Thursday
I want to trigger a script to run after the app is installed from Self Service. Currently the app is installed manually via Self Service. Its not a package, its from the Mac Apps/Jamf App Catalog.
I want a custom event trigger that will run the script when the app is installed.
What do I put here that will make that happen:
Any other settings I need to configure in this script policy to make it run proper?
Basically I want to run a simple script that will make Chrome Default but only after its been installed. I do not want to use a package (policy) to install Chrome, I want to keep installing it from Mac Apps/Jamf App Catalog which allows me to keep it up to date.
Thursday
Jamfs Mac Apps use Apples MDM framework to install and update the app, there is no way to hook a script on to this. You can use Mac Apps to update Chrome on devices but the initial install will need to be a policy if you need to run a command with it.
Thursday
If timing isn't critical you could create a policy that runs once per computer with your desired script, and scope the policy to members of a smart group. Then have that smart group check for computers with the application name (and maybe version). When you first create the policy it'll run on existing machines with the app, but just once. After that as a new machine installs the App Store app in question then the computer will become part of that smart group (when inventory is next collected) and thus get the policy executed. A little awkward, but it should work.
Thursday
Yea I thought about doing it that way but I want something more instant vs having the computer to do an inventory check. We need something more like workflows in Jamf, if this then that....
Thursday
As Mac Apps is via the MDM, Script will be executed via JAMF Policy (binary installed on the device), it's not possible to integrate it like a workflow, Creating a Smartgroup is the best way, if I am not wrong your device doesn't need to wait for Inventory update once the Application installed, Device sends the list of installed Application list as remote command so it should be quite fast
Friday
So when an application is installed from Self Service it pushes the list of apps to the Jamf?
Friday
Friday
But the app we are installing are from Jamf Apps Catalog/Mac Apps not a policy. If it was a policy I would just run the script right after within the same policy.
The script would be a policy. Just wonder if their is a way I can custom trigger that script policy to run when the app is install on the user's computer.