Select Source Dialog When Building an Installer in LabVIEW

Updated Oct 19, 2018

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module

Driver

  • Instrument Drivers

Issue Details

I have built an application in LabVIEW and now want to create an installer to distribute my application. I want to include other installers (NI LabVIEW Run-Time Engine, NI-VISA, NI-DAQmx, NI-MAX, etc.) with my LabVIEW application. I have left the "automatically select recommended installers" checked, but when I try to build my installer I get a message saying:

Some installers you selected for this build are not available on this computer. The preselected media below contain the required installers.
 

Why am I getting this dialog and how do I include these additional installers in my build?

Solution

You are getting the Select Source dialog because there are software's installer dependencies missing for your build. 

The solution to these dependency errors depends on how you installed the installers: 
  • If you downloaded the additional installer from ni.com/downloads and deleted the source, you will need to download the same version and unzip it again before you build, and point the Installer source location field to this new folder.
    • Point the Select Source dialog to the directory in which setup.exe was extracted. For IVI drivers and self-extracting executables (.exe), the WinZip Self-Extractor extracts files to C:\National Instruments Downloads\. If your download came as a .zip file, point it to where the extracted media is located.
  • If you installed your additional installer from a CD or USB, you will need to put that CD or USB into your drive before building your installer.
  • If you installed from a network location, you will need to still have access to the files on the network drive or one of the two above options.
  • If the software on the PC was installed from a LabVIEW-built installer, the "Select Source" dialog may reference that LabVIEW-built installer. You will have to point to that installer, force reinstall the same software stack as the computer that built the original installer, or upgrade your drivers to newer versions. Learn how to force reinstall your software here: Force Reinstall Non-Working or Corrupt NI Software.

Additional Information

LabVIEW requires the additional installer’s source MSI and .id files that were used for installation on the development machine to be able to install the additional installer on other machines. These source files are not usually left on the development machine after installation. The Installer source location field tells LabVIEW where to find these needed source files. LabVIEW will, by default, set this field to the last location used to install the additional installer on the development machine. This should be the root directory of the location from which you installed the product, usually on a CD or network drive.

Some of these shared installer dependencies may have had a new version installed by another NI product and that product will be required in order to build the installer.
For example, say you install NI-DAQmx 8.0 which also installs Measurement & Automation Explorer (MAX) 4.0. As a result, MAX 4.0 will be installed on your computer.
Later you decide to install Measurement Studio 8.0 which installs an newer version of MAX (4.1) and overwrites the previous version of MAX (4.0) (note: the version numbers of MAX are just an example and don't reflect real revisions shipped with various products). Now, NI-DAQmx 8.0 depends on Measurement Studio, and when you build an installer that includes NI-DAQmx 8.0 it will need to copy the Measurement Studio installer from the distribution that installed it. So while you aren’t directly including Measurement Studio you are including a shared dependency that it updated, and the Application Builder needs to copy the installer of that dependency.
 

WAS THIS ARTICLE HELPFUL?

Not Helpful