Skip to main content
Question

How to run a un-install app

  • February 25, 2021
  • 3 replies
  • 17 views

Forum|alt.badge.img+4

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

Forum|alt.badge.img+4
  • Contributor
  • February 25, 2021

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
Forum|alt.badge.img+18
  • Valued Contributor
  • February 25, 2021

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.


Forum|alt.badge.img+4
  • Author
  • Contributor
  • February 26, 2021

ok thanks guys. Got it sorted.