Uninstalling the Retrospect 6.x backup client
Something I liked about the old Installer VISE Retrospect backup client installer was that it had an “Uninstall” function. That ability was lost when Retrospect’s builders switched to using standard Apple .pkg installers. There was an unofficial AppleScript uninstaller that was posted in the Retrospect forums, but it didn’t address the issue of 10.6′s receipts being stored in a different directory. So I’ve built this script to take care of uninstalling Retrospect 6.x clients:
sudo killall retroclient
sudo killall pitond
sudo rm -rf /Applications/Retrospect\ Client.app
sudo rm -rf /Library/StartupItems/RetroClient
sudo rm /Library/Preferences/retroclient.state
sudo rm -rf /Library/Receipts/retrospectClient.pkg
sudo rm -rf /Library/Receipts/retroclient.pkg
sudo rm /var/db/receipts/com.retrospect.retroclientstartupitems.pkg.bom
sudo rm /var/db/receipts/com.retrospect.retroclientstartupitems.pkg.plist
sudo rm /var/db/receipts/com.retrospect.retrospectclient.pkg.bom
sudo rm /var/db/receipts/com.retrospect.retrospectclient.pkg.plist
Script available here on my GitHub repository.
It should stop both older and newer Retrospect 6.x clients on both 10.5.x and 10.6.x and clean up all application, settings and receipts files. Because I also wanted to be able to hand this script off as needed to those not necessarily comfortable with running scripts, I’ve also built a script-only installer package to run these commands. It’s posted here for download.