I have two uninstall scripts that must run before a Managed Install, how can I connect them?
I have a Managed Install for Kaspersky Endpoint Security 10. Before running this KES will install, Malwarebytes and MS Forefront must be removed. I have an uninstall script written for each.
Currently my process is:
- Run MWB uninstall script sometime in advance
- Schedule Forefront uninstall script
- Schedule KES MI one hour after step 2
But there is a big problem.. if a PC is offline when either of the scripts run, they don't get MWB or FF uninstalled, but KACE will push the MI if the PC checks in, which causes a bunch of trouble.
How can should I do this? Can a script launch the MI? Can the MI launch a script? Can one script do everything?