Automating the Unattended Installation of NI Package Manager (NIPM)

Updated May 15, 2020

Reported In

Software

  • Package Manager

Issue Details

  • How can I perform an unattended installation of Package Manager?
  • I'm automating the unattended installation of NI software which depends on Package Manager. How can I install Package Manager first?

Solution

​​​​​This process supports Package Manager 19.5 and earlier. For more information on how to automate Package Manager installations for later versions (including Package Manager itself), see the latest NI Package Manager Manual .
  1. Navigate to the Package Manager download page.
  2. Click Individual Offline Installers to download an offline installer for a specific version of Package Manager.
  3. Mount the downloaded .iso.
  4. Run Command Prompt as an administrator and navigate to the root directory of the mounted .iso to find Install.exe.
  5. Pass the following command and flags: start /wait Install.exe --passive --accept-eulas --prevent-reboot
  6. Pass the following command to verify the installation was successful: echo %errorlevel%
Note:
  • A return code of 0 indicates that the package was successfully installed.
  • A return code of -125071 indicates the package was successfully installed, but your machine requires a reboot.
  • For all other return codes, visit ni.com/support

Troubleshooting:

If the steps above fail, the installer format you are using may no longer be supported. Go to the Package Manager download page to find the updated format of the installer. Download the installer again and retry the steps above.


 

Additional Information

Older versions of NI Package Manager prior to 19.0 used the flag \q to start the silent installation instead of --passive --accept-eulas --prevent-reboot