Installing an NI Product Package on an Offline Machine

Publish Date: May 30, 2018 | 16 Ratings | 1.75 out of 5 | Print | Submit your review


This tutorial describes how to install software found in NI Package Manager on an offline machine. This will enable you to install software on an offline machine that cannot access an connection. This tutorial uses the NI Help Viewer and NI-DAQmx as examples.

Table of Contents

  1. Find and Prepare Files to Transfer on an Online Machine
  2. Create an Offline Feed
  3. Install Product Packages on the Offline Machine

1. Find and Prepare Files to Transfer on an Online Machine

From an online machine that has internet connection, you can install and run NI Package Manager to download the files you need. Then, you prepare the files before moving them to your offline machine.

  1. On the online machine, download and install NI Package Manager, if not already installed
  2. Launch NI Package Manager.
  3. Find your desired product on the Browse Products tab and click Install.  As an example, this screenshot shows the NI Help Viewer product.

    Figure 1. NI Help Viewer in NI Package Manager
  4. When the installation is complete, go to the Installed tab and search for your product. Hover over the product to see its package name in the hover text.

    Figure 2. Hover text showing the NI Help Viewer's package name, ni-help-viewer

Back to Top

2. Create an Offline Feed

  1. Open a command window to C:\Program Files\National Instruments\NI Package Manager and execute the following commands. The destination directory name can be a local folder on the computer (e.g. C:\feeds\myfeed) or a shared network folder (e.g. \\mynetwork\feeds\myfeed). The package name must be the package name displayed in the hover text in NI Package Manager in the previous step:
    1. nipkg.exe download --all-deps --destination-dir="C:\feeds\<Your Folder Name>" <package name>
    2. nipkg.exe feed-create "C:\feeds\<Your Folder Name>"

    For example, here are the commands for the NI Help Viewer package:

    1. nipkg.exe download --all-deps --destination-dir="C:\feeds\NI Help Viewer Download" ni-help-viewer
    2. nipkg.exe feed-create "C:\feeds\NI Help Viewer Download"

      Figure 3. Command Prompt - Example for downloading and creating an offline feed for the NI Help Viewer
  2. The download --all-deps command downloads the primary package and all required dependencies. If you are creating an offline feed for a product that also recommends additional optional packages, you must also complete the following commands to include those additional optional packages in the offline feed.

    Note: This step does not apply to the NI Help Viewer.

    The following example uses NI-DAQmx:

    1. Execute nipkg.exe install ni-daqmx

      Figure 4. Command Prompt - Example of how to determine the package names for the optional recommended packages of the NI-DAQmx

    2. Press “n” not to continue, but note the Recommended packages.
    3. Repeat the download --all-deps step shown above for each recommended package that you want to include in the offline feed.
    4. Repeat the feed-create step shown above.
  3. Move both the NI Package Manager installer .exe and the feed folder you created to the offline machine.
    Note: Alternatively, if the offline machine can access a shared network folder, you can move the NI Package Manager installer .exe and feed folder to a shared network folder instead.

Back to Top

3. Install Product Packages on the Offline Machine

  1. Install NI Package Manager on the offline machine.
  2. Launch NI Package Manager and click the Settings gear.
  3. Enable the Show available packages and feed management tools checkbox.

    Figure 5. General section on the Settings tab
  4. Select Feeds and then click Add.

    Figure 6. Feeds section on the Settings tab

  5. Browse to the folder containing the feed you created in the previous section, and click Add to register the feed on the offline machine.

    Figure 7. Add Feed dialog box
  6. In NI Package Manager, go to the Packages tab and search for the product. Select the product and click Install to install it.

    Figure 8. Install the NI Help Viewer on the offline machine.

Back to Top

Bookmark & Share


Rate this document

Answered Your Question?
Yes No