Thank you!
The accepted solution in the thread referenced above is, using pre-install script.
"
disable network filter
stop network system extension
"
What are the commands to perform these in preinstall script.
As of now, these are the operations we perform in preinstall:
Unload the application from launchctl (launchctl asuser $GSUID /bin/launchctl unload $AGENT_PLIST_PATH)
rm -rf /Library/LaunchAgents/com.myapp.plist
We kill both UI and Extension process in preinstall using pkill
Post
Replies
Boosts
Views
Activity
@Robert_Developer
What are the commands to perform these in preinstall script.
As of now, these are the operations we perform in preinstall:
Unload the application from launchctl (launchctl asuser $GSUID /bin/launchctl unload $AGENT_PLIST_PATH)
rm -rf /Library/LaunchAgents/com.myapp.plist
We kill both UI and Extension process in preinstall using pkill
I am not sure, if it is visible in comments to reply above.
The target machine is MacOS