Creating Packages for Distribution

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

You can create packages and deploy them to clients through NI Package Manager or SystemLink.

Before creating packages, create a source distribution, packed project library, shared library, .NET assembly, or executable to include in your packages.

Note  You cannot distribute stand-alone VIs.
  1. In the Project Explorer window, right-click Build Specifications and select New»Package.
  2. In the Package Properties dialog box, under Information, enter the name you want to use for your package in Package name. The package name must be all lowercase and contain no spaces. NI Package Manager and other packages use this name to reference the package you create.
  3. Under Destinations, set up any destination folders where you plan to install the package in the client.
  4. Under Source Files, specify which files or build specification outputs you want to install.
  5. (Windows 64-bit) Under Shortcuts, you can add a shortcut to the Startup menu if you want your application to run as soon as the system starts up. You can also add a shortcut to the Desktop or Program Menu on Windows. By default, LabVIEW adds a shortcut in the Windows Program menu for each application included in the package.
  6. Under Package Attributes, specify the display name and synopsis for your package. The display name is what users will see in the Package Manager or NI SystemLink when they install your package. The synopsis is the first line of the description that users see before they click on a package to see its full description.
  7. Under Dependencies, specify dependencies on any currently installed packages.
    1. Configure the relationship of the dependency. You can define a dependency as requiredrecommended, or suggested and specify version ranges.
    2. To prompt the user to install your package when they install a related package, place a checkmark in the Include enhanced relationship checkbox.
  8. Under Version Information, specify the version of your package and what version you want to display to the user. If you remove the display version, the user sees the full version in the Package Manager.
  9. Under Advanced, set your package to run executables or scripts while it installs or uninstalls. For example, you can specify whether the process for installing or uninstalling the package waits for a certain action to complete.
  10. Click Build. You should see an (Windows 64-bit) .nipkg file or (NI Linux Real-Time) .ipk file in the destination you specified.

You can distribute the package to clients through Package Manager or SystemLink. (Windows 64-bit) Your clients can use Package Manager or SystemLink to subscribe to a feed to find and install your packages. (NI Linux Real-Time) Your clients can install packages through SystemLink or from the command line on the NI Linux Real-Time target. Package Manager does not support .ipk files.

Related Information

NI Package Manager

NI SystemLink

WAS THIS ARTICLE HELPFUL?

Not Helpful