Posted on 03-21-2024 07:14 PM
I'm testing a script, but looking for a better suggestion that runs silently without any user invention. Running the uninstaller app isn't ideal.
#!/bin/bash
# Path to the uninstallation apps
UNINSTALL_APP="/Applications/Cisco/Uninstall Cisco Secure Client.app"
DART_UNINSTALL_APP="/Applications/Cisco/Uninstall Cisco Secure Client - DART.app"
# Check if the uninstall app exists and execute it with sudo
if [ -e "$UNINSTALL_APP" ]; then
echo "Uninstalling Cisco Secure Client..."
sudo open "$UNINSTALL_APP"
else
echo "Cisco Secure Client uninstallation app not found."
fi
# Check if the DART uninstall app exists and execute it with sudo
if [ -e "$DART_UNINSTALL_APP" ]; then
echo "Uninstalling Cisco Secure Client - DART..."
sudo open "$DART_UNINSTALL_APP"
else
echo "Cisco Secure Client - DART uninstallation app not found."
fi
Posted on 03-22-2024 07:08 AM
#!/bin/bash
/opt/cisco/secureclient/bin/amp_uninstall.sh
/opt/cisco/secureclient/bin/dart_uninstall.sh
/opt/cisco/secureclient/bin/iseposture_uninstall.sh
/opt/cisco/secureclient/NVM/bin/nvm_uninstall.sh
/opt/cisco/secureclient/bin/umbrella_uninstall.sh
/opt/cisco/secureclient/bin/zta_uninstall.sh
### Uninstall Duo Desktop and Duo Device Health
/Applications/Duo\ Desktop.app/Contents/Library/LaunchServices/com.duosecurity.UninstallDuoDeviceHealth
/Applications/Duo\ Device\ Health.app/Contents/Library/LaunchServices/com.duosecurity.UninstallDuoDeviceHealth
### Uninstall ThousandEyes Agent
/Applications/Cisco/Cisco\ Secure\ Client\ -\ ThousandEyes\ Endpoint\ Agent.app/Contents/Resources/uninstall.sh
exit 0