This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

An Error Occurred While Installing a Package in NI Package Manager

Updated Nov 1, 2024

Reported In

Software

  • Package Manager

Issue Details

While installing software through NI Package Manager (NIPM), I get one of the following error messages:

An error occurred while installing a package: <package-name>.
An error occurred while removing a package: <package-name>.
An error occurred while installing the MSI at: <package-name> 
LabView Install Error 2022-06-20 15_56_17-Inbox - Danijel.Antic@tridonic.com - Outlook.png

 

 

Solution

This is the generic error that NI Package Manager returns when there is an issue installing or removing a package.
 

  1. Look at NI Package Manager error logs to determine the underlying issue. It is recommended to start with errorlog.txt. Looking at the end of that log should show the most recent error that occurred. 
Note: You may need to enable MSI logs if the error occurred while running an MSI within a package that was installing. NI does not recommend leaving MSI logs enabled when not troubleshooting installation issues. Enabling MSI logs will increase the time it takes to install packages. If enabled for troubleshooting, you should disable them after troubleshooting is complete. 

 

  1. If the error is not clear, contact NI Support or post to the NI Package Manager Discussion Forums


Refer to the following for initial troubleshooting steps:

  • Install all pending Windows updates.
  • Deactivate your firewall and antivirus software.
  • Upgrade to the latest version of NI Package Manager.
  • Restart NI Service Locator and NI Configuration Manager in Windows Services.
  • Check that there is enough free storage on your hard drive to install the software. Minimum storage can be found in the Readme file for the software.
  • Check that the %temp% directory has the correct permissions.
  • Install the packages you are attempting to install using its offline distribution, if available.
  • Try installing the latest version of this package available.
  • Install the packages you are attempting to install with administrator rights while logging in as an administrator on the PC(right-click on the installer and select Run as administrator).
  • Check if the system had any OS upgrades recently (Windows 10 to Windows 11 e.g.). These upgrades can have an impact on File Folder names or paths that are designated on the NI Package Manager for installations.
  • Install packages individually, drivers like DAQmx, CompactRIO, NI-Sync and more can be installed individually and not as part of a bundle installation.


If the initial troubleshooting steps above do not resolve the issue, uninstall all NI software using Windows and reinstall the requested software using the offline installer.