Skip to main content

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!

Customize Anyconnect Module Installation on MAC Endpoints


Solved: Deploying AnyConnect without the Web Security Modu... - Jamf Nation Community - 115166


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


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 @mvu suggest with just installing everything and removing what we did not need.


talkingmoose/Choices-Packager: Creates an Apple Installer package bundled with a Choices XML file (github.com)


Cisco has a quite decent guide on the topic:

https://support.umbrella.com/hc/en-us/articles/23515921165844-How-to-deploy-Cisco-Secure-Client-via-JAMF-MacOS 


Thanks everyone for the suggestions. Haven't gotten around to trying this yet!


Reply