6
How to Deploy Cisco AnyConnect with Jamf
5. If you run the command below, it will output all the XML key value pairs that are supported by
Cisco AnyConnect to your Desktop.
NOTE: The section of the command below that is in red is a drag and drop of the AnyConnect.
pkg le from the AnyConnect dmg that we mounted on the Desktop in step 2 of this guide. Your
version number may vary.
/usr/sbin/installer -showChoicesXML -pkg /Volumes/AnyConnect\ 4.10.04065/
AnyConnect.pkg -target / > ~/Desktop/anyconnect_choices.xml
6. Open the anyconnect_choices.xml le to examine the key value pairs.
7. As we examine the le, you will notice keys named childitems that contain an additional key
named choiceDescription. Each app is identied by its choiceIdentier key and its installation
status is identied by the choiceIsSelected key. If you look at the choiceIdentier key, which is
in blue text, you will see the choice is for the VPN app, which is in red text. If you look at the
choiceIsSelected key, which is in blue, you will see an integer of 0 which means the VPN app will
NOT be installed. If the integer was set to 1, then the VPN app would be installed. The integer is
what decides if an app will be installed. 0 means don’t install and 1 means install.
Close this le when you’re done examining it.
In the next section, we will go over creating a custom Cisco AnyConnect installer package that will
apply the anyconnect_choices.xml le and a anyconnect_prole.xml settings le that will include
the VPN server information.