objective-see / BlockBlock

BlockBlock provides continual protection by monitoring persistence locations.
GNU General Public License v3.0
626 stars 39 forks source link

How to Manually Uninstall 0.9.7 #4

Closed tjluoma closed 4 years ago

tjluoma commented 4 years ago

I went to uninstall 0.9.7 and found that I cannot.

I launched the 0.9.7 installer, and "Uninstall" is greyed out.

I tried to re-run the installer, thinking that I could then uninstall it, but the installer failed with "Install Failed".

If I need/want to manually uninstall, is there anything besides this folder:

/Library/Objective-See/BlockBlock/

and this file:

$HOME/Library/LaunchAgents/com.objectiveSee.blockblock.plist

?

0xmachos commented 4 years ago

There's also

I ran mdfind blockblock | grep -v '/Users/' to find them.

objective-see commented 4 years ago

The latest installer (v1.0.0) should remove any version of BlockBlock (including betas). However if you want to remove it manually, the commands can be found in the in/uninstaller script.

Said commands (for the beta) include:

#remove launch agent
launchctl unload "~/Library/LaunchAgents/com.objectiveSee.blockblock.plist"
rm "~/Library/LaunchAgents/com.objectiveSee.blockblock.plist"

#remove launch daemon
launchctl unload "/Library/LaunchDaemons/com.objectiveSee.blockblock.plist"
rm "/Library/LaunchDaemons/com.objectiveSee.blockblock.plist"

#remove binary, rules, etc
rm -rf /Library/Objective-See/BlockBlock/
tjluoma commented 4 years ago

The latest installer (v1.0.0) should remove any version of BlockBlock (including betas).

Yes, but the latest installer will only work on 10.15, and I have multiple Macs which cannot be upgraded to that.

objective-see commented 4 years ago

Ah fair point! ...the manual steps should work, or an older version (such as v0.9.9.4) may work too!