How to run a un-install app

robbo007
New Contributor III

Hi,
Is there a way to push an un-install app to clientes via jamf and have it run automatically? I cant see the payload option in the policies. I'm trying to un-install the f-prot antivirus from machines and I've only seen the un-install app. They don't seem to have a script for this.
Thanks,

3 REPLIES 3

mav_eric_jx
New Contributor III

I would make a custom Composer package that includes the un-install app and add a post-install script, that calls the un-install app. This script could be as simple as

open <path to the app> uninstall

scottb
Honored Contributor

And to add to that...often there is a run script inside of the app/package that can be run. Look inside of said app for that.
You can then drop the app into someplace like '/private/tmp/' or '/Library/Application Support/your_folder'
Use a post-install script in Composer to run it.

robbo007
New Contributor III

ok thanks guys. Got it sorted.