This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

How Can I Silently Install a NI Package Manager Feed?

Updated Oct 19, 2020

Environment

Software

  • Package Manager

Other

Microsoft System Center Configuration Manager (SCCM)

  • How do I install individual software found in NI Package Manager on an offline machine that cannot access ni.com?
  • I want to silently install NI Software though a batch file, that I can use in Microsoft System Center Configuration Manager. What is the recommended workflow?

This KnowledgeBase describes how to silently register and install NI software through a NI Package Manager feed. In addition to this document, the following introductory topics from the NI Package Manager Manual may be helpful:

 

  If you want to create a customised installer to install a specific list of NI software consider using NI Package Builder instead.
 
 

Add Feed from a Local or Network Directory

  1. Use an PC with the desired software installed to Create a Custom Feed in NI Package Manager.
  2. Either copy the Feed Folder to the target system, or ensure the files are in a network location that target systems can access.
  3. Make sure NIPM is installed on the target. If not either download and install from the Package Manager Download Page, or follow How Can I Silently Install NI Package Manager?
  4. Open Command Prompt, or create a batch file with the following commands:
cd C:\Program Files\National Instruments\NI Package Manager
nipkg.exe feed-add "<file path of feed>"
nipkg.exe feed-update
nipkg.exe install <Package name> -y --accept-eulas

Make sure to change "<file path of feed>" to the file destination of the feed folder. This destination can be a local or network directory.
You can also give your feed a custom name. Make sure to create a simple feed name with no symbols or spaces. In the below example "NXG3feed" is used.

Example:

cd C:\Program Files\National Instruments\NI Package Manager 
nipkg.exe feed-add --name=NXG3feed "C:\feeds\NXG3"
nipkg.exe feed-update
nipkg.exe install ni-labview-nxg-3.0.0 -y --accept-eulas 
pause

Add Feed from URI

  1. Make sure NIPM is installed on the target. If not either download and install from the Package Manager Download Page, or follow How Can I Silently Install NI Package Manager?
  2. Open Command Prompt, or create a batch file with the following commands:
cd C:\Program Files\National Instruments\NI Package Manager
nipkg.exe feed-add <URI>
nipkg.exe feed-update
nipkg.exe install <Package name> -y --accept-eulas
Example:

Additional Information

SCCM Usage: Create a Batch File Application in SCCM

You can distribute the suggested batch file above through SCCM by creating a Batch File Application or Package. Further information is provided in the System Center Configuration Manager Documentation: