NI Package Manager (NIPM)

cancel
Showing results for 
Search instead for 
Did you mean: 

Updating NI-Service Locator via Command Line Scripting

Solved!
Go to solution

A couple weeks ago, we were alerted by CrowdStrike that one of the National Instruments components installed on our 300+ PLTW computers has a security vulnerability in the NI-Service Locator.  In researching this, we found that NI has released this patch that should correct the problem as ours are on v16.0.0.  I've downloaded the offline .iso file and extracted all the files to install, but I cannot script this to completely install.  It looks like it installs the NI-Package Manager but gets stuck at waiting for the NEXT button to be pressed for the actual patch of the service locator.  Any ideas how I can get this to complete work?  Here is where I am at right now with my command line. . .

 

"\\network share path\NI\Install.exe" --accept-eulas --autoinstall-nipkg --hide-completion --prevent-reboot  

 

I have tried adding in the --quiet switch, but I get the following error, and it doesn't suppress the gui anyways, so obviously, it doesn't work.  I've tried the typical /S & /qn but those don't work either.

nipkg_error.PNG

0 Kudos
Message 1 of 3
(139 Views)
Solution
Accepted by wvhs2590

If you are using NIPM before 20.7, you could try --passive, see this article:
Automating the Unattended Installation of NI Package Manager (NIPM) 

Scott Richardson
https://testeract.com
Message 2 of 3
(98 Views)

Thank you for the response.  While --passive didn't work (the script never even attempted to install) --progress-only did work and everything automated fine.  Only downside is the GUI was showing, naturally.  Which I am ok with at this point.  Thanks again!

0 Kudos
Message 3 of 3
(72 Views)