Hey all,
I've created a policy that places the McAfee EPO Agent install app onto a user's computer, and would like to run a script in that policy to open the app to start the agent install.
The problem is McAfee prompts for admin credentials to allow it make changes, and even if the end user is an admin on their machine, I don't want this prompt to pop up. I thought I could possibly use AppleScript to open the app and then enter text into the username/password fields, but I've run into two problems. 1: the applescript app then needs permission in Accessibility under Security & Privacy, and 2: even after granting permissions it just fails to input text into the username field and ends at that point.
I've added an image of the script.
Any ideas? Even if it's something completely different than the AppleScript route. I'd like for the app to be opened w/o the user needing to input credentials so the install can run its course.