NI Package Management Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
ChristianNeumann

Add an "remove all" feature to the NIPKG command line interface

Status: Already Implemented

The nipkg.exe help lists the following which supports the ability to remove all packages, see bold text:

 

nipkg remove [OPTIONS] [PACKAGES]

Uninstalls previously installed package(s).
Use "nipkg remove" to remove all packages except locked and essential
packages and their dependencies.
Use "nipkg remove --force-essential --force-locked" to remove all packages
including locked, essential, and NI Package Manager packages.

The old installer had an option to remove all NI Software via the command line:

Automating Uninstallation of NI Software - National Instruments
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LfWSAU&l=en-US

 

While the nipk  command line interface has the "remove" option there is no "remove all" feature. It is only possible to remove single packages.

Dr. Christian Neumann
NI Germany
7 Comments
APena
Member
Status changed to: Development Started
 
APena
Member

Hi Christian,

 

A quick question just to get a little more detail:

 

NIPM itself is installed as a package. Would you expect a 'remove all' command to also uninstall NIPM itself?

 

Thanks.

 - Aaron 

ChristianNeumann
NI Employee (retired)

Hi Aaron,

 

thank you for your reply.

 

Yes, I would expect that the 'remove all' command also uninstalls the NIPM.

 

Best regards,

Dr. Christian Neumann
NI Germany
CL_eisenwr
Active Participant

I think it would also be nice to have an option to remove all except for NIPM

__________________________________
Bill Eisenhower
Certified LabVIEW & TestStand Developer
ChrisStrykesAgain
Active Participant

I think this is an important feature, and could have used it today. I'd usually want it to not uninstall NIPM, but I think the more appropriate action would be for it to literally uninstall everything (including NIPM) by default; I wouldn't be upset if that was the only option.

 

That said, in the interim, I did the following: https://forums.ni.com/t5/NI-Package-Manager-NIPM/Remove-all-NI-packages/td-p/3997583

--------------------------------------
APena
Member
Status changed to: In Development

We are actively working on this functionality for our next release. Take that with all of the usual disclaimers about the possibility of features getting pulled before a release, etc. etc. 🙂

 

Thanks.

 - Aaron

Scott_Richardson
Active Participant
Status changed to: Already Implemented

The nipkg.exe help lists the following which supports the ability to remove all packages, see bold text:

 

nipkg remove [OPTIONS] [PACKAGES]

Uninstalls previously installed package(s).
Use "nipkg remove" to remove all packages except locked and essential
packages and their dependencies.
Use "nipkg remove --force-essential --force-locked" to remove all packages
including locked, essential, and NI Package Manager packages.

Scott Richardson