Please note that there is no way to install all packages in a feed just by knowing the feed URI. However, you only need to specify the name(s) of the top-level package(s) in the feed, and NIPM will automatically also install all dependencies, recursively. If you include the --include-recommended flag on the nipkg.exe install command, it will additionally install all recommendations as well.
Add Feed from a Local or Network Directory
- Use a PC with the desired software installed to Create a Custom Feed in NI Package Manager .
- Either copy the Feed Folder to the target system or ensure the files are in a network location that target systems can access.
- Make sure NIPM is installed on the target. If not, either download and install from the Package Manager Download Page, or follow the steps in this article to install it silently: How Can I Silently Install NI Package Manager?
- 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(s)> -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. If you want to install multiple packages just place the names of the packages separated by a space.
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
- Make sure NIPM is installed on the target.
- Open the 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 (external links):