Display Message or Lock Screen During Post Image Policy with Startup Trigger

mottertektura
Contributor

Greetings!

I have a Post Image Policy that runs a script (mostly other policies with custom triggers) with a Startup trigger. I'd like to display a message at the login screen (or lock the screen even better) until it completes. I've tried using jamfHelper...

/usr/local/bin/jamf launchJAMFHelper -path '/Library/Application Support/JAMF/bin/jamfHelper.app'

...both in the script and with a custom trigger that calls a payload-free package with a postInstall script but neither seemed to do the trick. Also tried cocoaDialog as well but wasn't able to get that to run at the login window.

Anyone doing anything similar, might be able to recommend a workflow, or have any suggestions?

Thanks!

2 REPLIES 2

kbingham
New Contributor III

I was having this same issue. I ended up creating a pkg that runs your JAMFHelper script. I set a trigger to run that pkg first in my postInstall script.

mottertektura
Contributor

Thanks @kbingham , I wasn't able to get that to work but I'll try again!