Table of Contents
NI Package Manager
NI Package Manager (NIPM) is used to install, update, and manage NI software packages. It supports graphical installation as well as command-line automation, making it suitable for automated deployments and CI/CD workflows.
Command-Line Interface
NIPM provides the nipkg.exe command-line utility, typically located at:
C:\Program Files\National Instruments\NI Package Manager\nipkg.exe
Display available commands:
nipkg help nipkg help install nipkg list
Common operations:
| Command | Description |
|---|---|
nipkg list | List packages |
nipkg install <package> | Install a package |
nipkg upgrade | Upgrade installed packages |
nipkg feed-add <URI> | Register a package feed |
nipkg feed-update | Update feed metadata |
See Controlling NI Package Manager Through the Command Line.
Silent and Unattended Installations
NI Package Manager-based installers support unattended installation through command-line arguments.
Installation Modes
| Option | Behavior |
|---|---|
–passive | No user interaction required, but the installer GUI may remain visible |
–quiet | Fully silent installation without GUI (NIPM 20.7 or newer) |
For automated deployments, –quiet is generally preferable.
Recommended Command
For a compatible NI Package Manager-based offline installer:
Start-Process -FilePath ".\Install.exe" -ArgumentList "--quiet --accept-eulas --prevent-reboot" -Wait -PassThru
For batch files:
start /wait Install.exe --quiet --accept-eulas --prevent-reboot
Common Installation Arguments
| Argument | Description |
|---|---|
–quiet | Run without displaying the installer GUI |
–passive | Run without user interaction, potentially displaying progress |
–accept-eulas | Accept license agreements |
–prevent-reboot | Prevent automatic reboot |
–include-recommended | Include recommended packages |
-y / –yes | Skip confirmation for applicable nipkg commands |
Use –prevent-reboot (with a hyphen). Some NI documentation incorrectly refers to –prevent reboot.
Suppressing the automatic reboot does not eliminate the need for a restart. Driver updates may require a reboot before becoming effective.
For automated installations, avoid –include-recommended unless the additional packages are explicitly required. This reduces unintended software changes.
Unattended Uninstallation
NI software managed by NI Package Manager (NIPM) can be uninstalled through the nipkg.exe command-line utility.
For NIPM-managed packages, use nipkg.exe rather than the legacy NI Software Uninstaller (uninst.exe).
Identifying Installed Packages
Package identifiers may differ from the product names displayed in NI Package Manager or Windows.
List installed packages:
& "C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" list-installed
Filter for specific packages, for example NI Certificates:
& "C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" list-installed | Select-String "cert"
Use the exact internal package identifier returned by the command.
Removing Packages
Uninstall a specific package:
& "C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" remove --yes "package-name"
If removal requires uninstalling dependent packages, NI provides the –allow-uninstall option:
& "C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" remove --allow-uninstall --yes "package-name"
Dependency handling: –allow-uninstall may permit the removal of additional packages. Review dependencies and test the command before automated deployment, especially for shared components such as NI Certificates.
Always specify the package name. Running nipkg remove without a package argument can remove multiple installed NI packages.
Troubleshooting
| Problem | Recommendation |
|---|---|
| Package name not recognized | Use nipkg list-installed to identify the internal package name |
uninst.exe only accepts all | Use nipkg.exe for NIPM-managed packages |
| Removal blocked by dependencies | Check dependent packages before considering –allow-uninstall |
| Unattended removal fails | Run with elevated privileges and check nipkg help remove |
For available options:
& "C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" help remove
References
Deployment with Intune or Group Policy
NI installers can be integrated into software deployment solutions such as Microsoft Intune or Active Directory Group Policy.
PowerShell App Deployment Toolkit (PSADT)
Example using PSADT:
Start-ADTProcess -FilePath "$($adtSession.DirFiles)\Install.exe" -ArgumentList "--quiet --accept-eulas --prevent-reboot"
Verify the exit code and handle reboot requirements through the deployment system.
Recommended Deployment Workflow
-
Identify affected machines and installed software versions.
-
Obtain the official NI offline installer.
-
Test silent installation on a representative machine.
-
Configure installation and detection rules in Intune or GPO.
-
Deploy to a pilot group before broad rollout.
-
Schedule any required reboot.
-
Verify installed versions and application functionality.
Important Considerations
-
Use elevated privileges or the appropriate system deployment context.
-
Check that the installer supports the specified arguments.
-
Test exit-code handling, logging, and reboot behavior.
-
Validate NI hardware and application functionality after updates.
-
Avoid installing unrelated recommended packages unless required.
Troubleshooting
Installer Window Still Appears
Cause: The –passive argument allows a visible installer window.
Solution: Use –quiet with NIPM 20.7 or newer.
Unexpected Reboot
Cause: Incorrect reboot argument or installer-specific behavior.
Solution: Use –prevent-reboot and verify the command against the specific installer. Handle any required reboot separately.
Legacy NI Installers
Older NI installers may use MSI-style arguments such as /q rather than NIPM arguments. Verify the installer technology before selecting command-line options.
