NI Package Manager (NIPM)

cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade NIPM from local feed

Solved!
Go to solution

Hi y'all,

 

hope, someone can help / point me to the obvious, I have missed 😉

 

Use-Case is updating NIPM on offline machines

 

What I did: 

1.) Download the NIPM feed on an online machine

 .\nipkg.exe feed-download ni-package-manager-released C:\Temp\NIInstall\NIPM

2.) Copy the folder to an accessible network drive

3.) On the offline machine create and add offline NIPM feed

.\nipkg.exe feed-create C:\Temp\NIInstall\nipp-local <path to network>
.\nipkg.exe feed-add C:\Temp\NIInstall\nipp-local

 

Opening the GUI, everything looks clean and I am notified, that there is a new version of NIPM available.

 

Question

What CLI commands do I have to execute to start the NIPM upgrade? The straight-forward way  gives me an error:

C:\Program Files\National Instruments\NI Package Manager> .\nipkg.exe upgrade ni-package-manager
ni-package-manager is not installed or is not upgradable. No operation will be performed.

 

From the GUI, upgrade is no problem. So..... anyone can tell me, what the trick is? 

 

0 Kudos
Message 1 of 2
(85 Views)
Solution
Accepted by topic author Oli_Wachno

Found it.... after causing Nigel to faint  😉

 

NI PackageManager is a locked package:

 

.\nipkg.exe install --install-also-upgrades --force-locked  ni-package-manager -y --accept-eulas

 

0 Kudos
Message 2 of 2
(58 Views)