Building a Package Using the Command Line Interface
- Updated2025-10-07
- 1 minute(s) read
Building a Package Using the Command Line Interface
Use the command line interface to build a package with your source files.
Before you build a package, you must assemble the intended source files and subdirectories into a single directory.
- Open a command prompt.
-
Change directories to the location of Package Manager.
The default location is C:\Program Files\National Instruments\NI Package Manager.
-
Run the following command: nipkg
pack "<directory
containing package source files>" "<destination of .nipkg file>".
For example, if you enter nipkg pack "C:\temp\MyTestPackage" "C:\temp", Package Manager creates the .nipkg file in the temp directory.
Related Information
- Accessing the Command Line Interface for Package Manager
Modify the execution of Package Manager processes by using the Package Manager command line interface nipkg.exe or the Package Manager GUI command-line NIPackageManager.exe.
- Assembling a File Package
Assemble a File package by creating a root directory that contains subdirectories, source files, and configuration files.
- Assembling a WinInst Package
Assemble a Windows Installer (WinInst) package by creating a root directory that contains subdirectories, source files, and configuration files.
- Package Components
A package is comprised of a root directory containing subdirectories, payload files, and configuration files that define the result of the package's installation on the target system.
- Assembling a EULA Package
Assemble an End-User License Agreement (EULA) package by creating a root directory that contains subdirectories, source files, and configuration files.