09-23-2019 01:56 PM
I've got a bunch of systems that have NI package manger 19.0 installed, and I want to upgrade them to 19.5 through a command line process (*.bat file).
I've tried just installing the standalone 19.5 installer, but that won't update the version. I try upgrading a package that requires the new package manager (and has it as a dependency) but it fails saying I need the new NI package manager.
What's the process to cause a NI package manager update through command line?
Thanks!
09-23-2019 05:10 PM
Hi warren_scott,
"I've tried just installing the standalone 19.5 installer, but that won't update the version."
Can you confirm where you got the standalone installer from? Also, can you elaborate more on the error or issue you saw (screenshots would be great). This should work, so the issues you're having are concerning to me.
Thanks.
Aaron Peña
Product Owner, Package and License Management
National Instruments
09-23-2019 05:22 PM
standalone installer came from NI product software downloads page
https://www.ni.com/en-us/support/downloads/software-products/download.package-manager.html#322516
I had downloaded this a few months back and installed as 19.0. Used that and linked to a my own feed to install packages. locked (nipkg.exe lock) ni package manager to prevent updates.
Downloaded ni package manager 19.5 standalone installer as linked above. Tried installing it (command line install of .exe above) and get nothing -- ends with no error, no change.
issued an unlock command against NI package manager (nipkg.exe unlock) and tried installer again (double click on EXE as administrator). get message saying package already installed and will do nothing.
verified version is still at 19.0 per command line.
see attached image.
09-23-2019 05:26 PM
I have found that if I open up NI package manager itself (the already installed 19.0 version by going through start menu) and go to the update screen, it does see that there is a 19.5 version to update to, and I get a message along the top of NI package manager saying my version is out of date and to update. I click the update link at the top of the screen expecting to update just ni pkg manager, but it then went through and updated all my other software packages that were also out-of-date (but NOT desired to be updated, and NOT checked to update). Not expected update behavior.
09-30-2019 11:01 AM
Have you had a chance to look at the screenshot? is there any additional information I can provide to help figure out what is (not) happening?
09-30-2019 02:54 PM
Hi warren_scott,
Apologies for the delay. I've tried to reproduce this behavior per your instructions, but I have not been successful in doing so. A few more questions:
Thanks.
- Aaron
09-30-2019 03:22 PM
1) it updated from LabVIEW 2019 to LabVIEW 2019f2 patch
2) when I set the lock, I just called "nipkg lock" with the hope/assumption that it would lock all/everything (did not specify any package in particular). same with "nipkg unlock"
3) other settings were left alone other than adding a custom feed
Warren
10-03-2019 02:44 PM
Hi Warren,
I can't seem to replicate this issue either. Since you're having so many issues with the NIPM update, I think we should take a deeper look at the situation. The first thing is to get logs: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6FcSAK&l
Then, I would suggest that you open a service request at ni.com/ask and speak to one of our technical support engineers. They'll be able to work with you more quickly on this. If you'd like to post the logs to this thread as well, I'd be happy to take a look also.
Thanks,
10-04-2019 01:27 PM
I think I figured out what was causing the problem.
Turns out I had a package installed that had a dependency on "NI Package Manager" = "19.0" and that caused package manager to not want to install.
10-25-2019 10:35 AM
Is there a way to issue a command line command that will cause the NI Package Manager to update itself like you do through the GUI? Or do you just need to run the stand-alone installer?