How To Silently Uninstall An NI Package

Updated Oct 30, 2020

I want to silently automate the uninstallation of an NI Package. How can I do this?

 

You can silently automate the uninstallation of an NI Package using the Command Line Interface with the remove command. In Command Prompt, use the command "C:\Program Files\National Instruments\NI Package Manager\nipkg" help remove to see the help documentation for the remove command.

This command will uninstall all packages:

“C:\Program Files\National Instruments\NI Package Manager\nipkg” remove –force-essential –force-locked -y

If you want to remove specific packages, you need to specify the package name and delete the force-essential flag.