I would like to make an OSX command script that removes every trace of any Native Instruments files, drivers and software. I only own a Maschine and an X1 so I don't know what else I am missing but I likely am missing something.
You can download the ni-uninstall.command file by right clicking that link and choosing Save Link As.
Code:
#!/bin/bash
# This script removes all Native Instruments files, software, and drivers.
# https://www.native-instruments.com/en/support/knowledge-base/show/413/how-to-uninstall-native-instruments-software-and-drivers-from-a-mac-os-x-computer/
read -p "Are you sure you want to uninstall all Native Instruments software and drivers?" -n 1 -r
echo
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
echo
echo "Uninstalling..."
sudo rm -rfv /Applications/Native\ Instruments
sudo rm -fv /Library/Preferences/com.native-instruments.*.plist
sudo rm -rfv /Library/Audio/Plug-Ins/Components/Maschine*
sudo rm -rfv /Library/Audio/Plug-Ins/VST/Maschine*
sudo rm -rfv /Library/Application\ Support/Digidesign/Plug-Ins/Maschine*
sudo rm -rfv /Library/Application\ Support/Avid/Audio/Plug-Ins/Maschine*
sudo rm -rfv /Library/Application\ Support/Native\ Instruments
sudo rm -fv ~/Library/Preferences/com.native-instruments.*.plist
sudo rm -rfv ~/Library/Application\ Support/Native\ Instruments
sudo rm -rfv /System/Library/Extensions/NIUSB*.kext
if [[ ${OS_Version} == 10.11 ]]; then
echo "Operating System does not require disk utility to repair permissions."
else
echo "Repairing Disk Permissions"
echo
sudo diskutil repairPermissions /
fi
fi
echo
echo "EXIT"
exit
Bookmarks