I hope you can help i’m trying write an uninstaller script which uses the built in mac uninstaller in AVG Antivirus (free version for mac)…
I have the bash to open the app
open -a /Applications/AVGAntivirus.app/Contents/Backend/utils/com.avg.uninstall.app
but i cant get bash/nor AppleScript to select the uninstall button when prompted.
Has anyone managed or know how i can get this to function correctly. Ideally id like a silent uninstall but cant seem to get the uninstall.sh to run with out user interaction.