Table Of Contents

Creating Packages with LabVIEW Package Builder

Version:
Last Modified: November 17, 2017

Create packages in LabVIEW to deploy to clients.

Before creating packages, install a supported version of LabVIEW and LabVIEW Package Builder to your host. Create content to include in your package, such as a source distribution, package project library, or executable.
spd-note-note
Note  

You cannot include VIs from your project directly in a package. To package VIs, you must create a source distribution.

  1. In the Project Explorer in LabVIEW, right-click Build Specifications and select New»Package.
  2. 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. Package Manager and other packages will use this name to reference the package you create.
  3. Under Source Files, specify which files or build specification outputs you want to install.
  4. Under Destinations, set up any destination folders where you plan to install the package in the client.
  5. Under Shortcuts, you can add a shortcut to the Startup menu on a Windows system 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, SystemLink on Windows also creates a shortcut in the Windows Program menu for any application in your project.
  6. Under Package Attributes, specify the display name and synopsis for your package. The display name is what users will see in the NI Package Manager or NI SystemLink Web Application 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 Required, Recommended, or Suggested and specify version ranges.
    2. To prompt the user to install your package when they install a related package, select Enhanced.
  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 Package Manager.
  9. Under Advanced, set your package to run executables or scripts while it installs or uninstalls. For example, you can specify whether installation or uninstallation waits for a certain action to complete. On Linux systems, you can also specify whether the application is a startup application.
  10. Click Build. You should see an .nipkg file (Windows) or .ipk file (Linux) in the destination you specified.

Next, add packages to a feed to begin distributing the package to other systems.


Recently Viewed Topics