Hi,
I'm currently testing the Cisco AnyConnect bundle operations described in your article here (https://patchmypc.com/how-to-bundle-cisco-anyconnect-modules-to-install-in-a-specific-order). So far this is working great for me, but large scale AnyConnect upgrades have a very high failure rate in our experience. We've always done AnyConnect upgrades with a Task Sequence in ConfigMgr, and I'm trying to siphon the functionality from the task sequence into the Pre/Post script solution in PatchMyPC.
One of the things we do is kill all the AnyConnect processes before attempting to install the Core module. If the Core fails, we attempt to kill the processes again, and repeat this several times.
So my question is: Will the post script run even if the initial upgrade of the Core module fails? If it does, that makes my solution easier since I can just attempt to kill the processes and reinstall the Core again in the post script.
If it does not, I can add a pre script to the Core upgrade to kill the AnyConnect processes. But I think I'll only get one shot at that. I can't run the pre script multiple times, and I probably shouldn't attempt to install the Core module from the pre script (or maybe I could, and then the actual upgrade would effectively take no action?)...
Thanks
A pre-script will not run if the core installation fails.
In regards to a prescript to kill the processes you can actually use our right click options for manage conflicting processes. This will let you target apps to close, more info can be found here: https://patchmypc.com/manage-conflicting-processes-when-updating-third-party-applications
You can also use this KB to get more info on the pre/post script options: https://patchmypc.com/custom-options-available-for-third-party-updates-and-applications#custom-scripts
You mean the post-script will not run, right?
Ah, I never saw that Manage Process List button in the conflicting processes window! Thanks.
If the main install fails yes it will not run!
Does the pre-script run before or after the Manage Conflicting Processes functionality occurs?
Hey Jared
The pre-scripts will run after managing conflicting processes functions.
Thanks Adam!