How to Include Legacy NI Installers Into a Package Installation

Updated May 4, 2023

Environment

Software

  • NI Package Builder

This article will explain the steps you need to execute in NI Package Builder, to build a legacy NI installer into a package installer, compared to including a 3rd party installer.

  1. Follow the article Running Non-Package EXE Distributions .
  2. Check, if the setup.exe of your legacy NI installer supports the /nomutex flag, by running setup.exe /nomutex from CMD.
    • If the installer wizard opens, the exe support the flag.
    • If the help window with a warning about invalid command line parameters open, the exe does not support the flag.
  3. If the setup.exe does not support the flag, replace it with the setup.exe from a newer NI legacy installer.
  4. Do not forget to add the /nomutex flag to your call in the custom execute.
  5. Build your package installer.

The built package installer will now also install NI software, which was not released by NI in the NI Package Format.