Common Tasks
- Updated2025-04-10
- 1 minute(s) read
Refer to the following tasks for step-by-step guidance for creating or editing a new or existing package-based distribution.
Building Packages
- Based on your goal, determine the best method
to distribute your packages.
Goal Method Deploying through NI Package Manager. Package repository Distributing multiple packages that have dependencies with one another. Consolidating package file updates in one location. Deploying to a machine that does not have Package Manager. Package installer Deploying to a machine that is not connected to a network. - Set up your packages to plan for potential
updates. Note For example, you could place all commonly updated files in a single package, you could create packages based on package size, or you could create packages based on the logical function of the content.
In This Section
Related Information
- Creating a New Package
Follow these steps to configure and build a new package containing files you specify.
- Custom Executes
Custom executes are executables or batch scripts that can be run during a package transaction.
- Defining Package Relationships
- Setting Discovery Exclusions
Customize the Package Builder DiscoveryExclusion.txt file to exclude specific file dependencies during discovery performed on input files and directories. Package Builder automatically includes all dependent packages in the feed when building a local repository.
- Creating a Feed Without Dependent Packages
Use nipkg, the Command Line Interface (CLI) of NI Package Manager, to create a directory feed without dependent packages.
- Deploying Packages Without Installers or Repositories
You can deploy a single package without using an installer or repository if you are deploying to a target machine that already contains NI Package Manager and any required dependencies.
- Determining File Dependencies
- Including TestStand Sequence Files and Workspaces
- Performing Build Operations With the Command Line Interface
You can use the command line interface (CLI) of Package Builder to load a solution and build the packages, repositories, and installers in the solution.
- Updating Package Files and Dependencies
- Executing Install and Uninstall Commands