Posted on 02-16-2024 10:50 AM
Hi. What is the preferred/best way to create a custom PKG from the developer's PKG? An example is Cisco AnyConnect.
If I run the installer for Cisco AnyConnect manually, I get the options to deselect certain things, such as Web Security or ISE Posture. If I were to deselect these options, how could I make sure those options get deselected for everyone else when deploying via Jamf? (since it will install without a GUI) Would this be done via Automator?
Thanks!
Posted on 02-16-2024 11:01 AM
Posted on 02-16-2024 11:18 AM
There are other options, but you could use this:
1. Push the Cisco Secure Client Package
2. Add a post-install script (below) to run after
#!/bin/bash
/opt/cisco/secureclient/bin/amp_uninstall.sh
/opt/cisco/secureclient/bin/dart_uninstall.sh
/opt/cisco/secureclient/bin/iseposture_uninstall.sh
/opt/cisco/secureclient/NVM/bin/nvm_uninstall.sh
/opt/cisco/secureclient/bin/umbrella_uninstall.sh
exit 0
Posted on 02-16-2024 12:52 PM
We stopped using AnyConnect a few years ago. However, unless something has changed, AnyConnect uses something called a custom.xml to customize the options that are installed when you deploy the client. This process is a complete and total mess, and we wound up doing what @obi-k suggest with just installing everything and removing what we did not need.
Posted on 02-20-2024 06:11 AM
Posted on 02-20-2024 06:13 AM
Cisco has a quite decent guide on the topic:
Posted on 03-19-2024 04:53 PM
Thanks everyone for the suggestions. Haven't gotten around to trying this yet!