Support Forum: Get Support for Patch My PC Products and Services

Commercial Products: Support for Our Enterprise Product for Microsoft ConfigMgr and Intune => Commercial/Paid Products: Support and General Questions (ConfigMgr and Intune) => Topic started by: asgeirk on November 22, 2023, 05:45:54 AM

Title: Cisco AnyConnect config files
Post by: asgeirk on November 22, 2023, 05:45:54 AM
Been reading this article about deploying Cisco AnyConnect with additional modules.
https://patchmypc.com/how-to-bundle-cisco-anyconnect-modules-to-install-in-a-specific-order
The configuration.xml deploys correctly for the main module.

My question is how to deploy config files for additional modules?  Create .mst or are there easier ways of doing it?
I need configuration files for the NAM and Umbrella modules.
Title: Re: Cisco AnyConnect config files
Post by: Liviu (Patch My PC) on November 22, 2023, 06:12:27 AM
Hello asgeirk,

Are the config files for those additional modules XML files as well?

If that's the case, you can specify those additional xml files in the "Additional files" section, and modify the script we use as an example to copy those additional file to the right destination path.

You can duplicate lines 189-201 and adjust them to account for your new configuration files.
Title: Re: Cisco AnyConnect config files
Post by: asgeirk on November 22, 2023, 06:43:58 AM
Yes, I was looking into that.  The config file for Umbrella is <anyname>.json and for vpn it's a <anyname>.xml.
Title: Re: Cisco AnyConnect config files
Post by: Liviu (Patch My PC) on November 22, 2023, 06:46:05 AM
The process should be the same then.

Duplicate lines 189-201, modify them to copy your json and your new xml file.
It should work.
Let us know if it won't.
We recommend running a test on a few devices before deploying this to production.