10-25-2019 02:34 PM
Hi Bill,
Try "nipkg upgrade --accept-eulas -y" to silently upgrade everything. "nipkg upgrade --accept-eulas -y ni-package-manager" will upgrade just NIPM.
Thanks,
10-25-2019 03:00 PM
I tried this with NIPM 19.0 & 19.5 and it does work. Even running as admin did not help.
The only available action for ni-package-manager is Launch.
11-01-2019 11:19 AM
I was able to use the following command line to upgrade NIPM 19.0 to 19.5:
nipkg upgrade --force-locked --accept-eulas --assume-yes ni-package-manager
Note: If you might be in a situation where the target computer has NIPM 19.0 installed and no one has launched NIPM since NIPM 19.5 became available, then you should run nipkg update from the command-line first, so that NIPM can "refresh its feeds" in order to see the latest updates (e.g. NIPM 19.5) before running the above command.
Allen Hsu
National Instruments
11-01-2019 12:54 PM
The given command does work for 19.0.0 to update to 19.5.1. However it does not appear to work for 19.5.0 to get to 19.5.1
However I was able to work out a way via a series of commands to get 19.5.0 to be updated to 19.5.1. I hope this can be simplified to the update and upgrade commands like 19.0->19.5.1. Having the single consistent self-updating command would make it easy for updating older deployments.
NIPM 19.5.0 to 19.5.1 upgrade script
nipkg update nipkg upgrade --accept-eulas --assume-yes ni-package-manager-released-feed nipkg update nipkg upgrade --accept-eulas --assume-yes ni-package-manager-upgrader nipkg upgrade --accept-eulas --assume-yes system-windows-x64 nipkg upgrade --accept-eulas --assume-yes ni-package-manager-deployment-support nipkg upgrade --force-locked --accept-eulas --assume-yes ni-package-manager
11-07-2019 03:27 PM
Now that NIPM 19.6 is available, I tried the to upgrade 19.5.1 via the command line to 19.6. The update and upgrade combination does not work. However my 19.5.0->19.5.1 procedure did work.
11-25-2019 09:54 AM
Updating NIPM via the command line might be easier with the offline installer automation as shown in this thread.
05-19-2021 09:33 AM - edited 05-19-2021 09:43 AM
I'm confused, so how can I upgrade NIPM using command line? I tried different options suggested in this thread and non of them working.
ni-package-manager is not installed or is not upgradable. No operation will be performed.
I saw that with NIPM is installed also
ni-package-manager-upgrader 20.7.1.49158-0+f6 windows_x64 Application used to upgrade the package manager.
Can I use it somehow from command line to upgrade NIPM?
EDIT:
Nevermind, I figured it out 😅
C:\Program Files\National Instruments\NI Package Manager\Updater>Install.exe --passive