01-28-2020 07:59 AM
I changed the .dmg to RW, but no matter what I add to the transform file and save it, it doesn't do anything. For the installation, I don't want all the boxes checked by default, I only want the VPN checked. Trying to create a pac
08-18-2020 12:24 PM
08-18-2020 12:43 PM
09-28-2020 01:38 PM
I pulled apart the package and took a look at the installation scripts. There is no built-in way to limit which components of AnyConnect are installed during a silent installation. However, you can automate the removal of components you don't want. For example, if you only want the VPN client to be left you can run this command after installing the package:
/usr/bin/find /opt/cisco -iname \*_uninstall.sh -not -name anyconnect_uninstall.sh -not -name vpn_uninstall.sh -print0 | xargs -0 -n1 -ISCRIPT /usr/bin/sudo 'SCRIPT'
Insuring that hostile / unwanted uninstall scripts are not already in the /opt/cisco folder tree prior to package installation, is left as an exercise for the reader.
I've tested this on MacOS Catalina, Mojave, and High Sierra using AnyConnect 4.8.03052.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide