The short of it is that I have to create a custom script outside of Casper that I will be manually launching. I've tried using a script within Casper via a policy to do what I want, but it just doesn't run the script correctly and install the software. I will attempt this at some point in the future, but I figured for now I can create a script that doesn't exist in the JSS to do what I need. The script I've created will call two policies via the command: "jamf policy -event "CustomTriggerName"
This works great so long as there isn't a policy currently running. However, if a policy is running this causes the script to skip that command which causes the rest of the script to fail.
I'm wondering how others have dealt with this. I imagine a loop that checks for the process "jamf" and waits until it goes away except that "jamf" is always running. I could of course force "sudo killall "jamf" but I don't want to kill any policy running in the background either.
I'm open to ideas/suggestions.
