LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot build Installer with NI-DAQmx Configuration Support 9.6.1

Running labview 2011 SP1 f2

 

All SW/Device Drivers are up to date. error code -21, see attached for more details.

 

Things tried:

 

Updated just about all NI software

 

repaired Labview, device drivers, OPC and DSC as individuals.

 

Running out of options, its something specific to my machiene, other developers can build this given the same setup.

 

Ideas?

------------------------------------
Jon Kokott
CLA, CLED, CTD, MCP C#
0 Kudos
Message 1 of 2
(2,351 Views)

-          The following are possible reasons and solutions for this error: 
#1. Installer specifications file is corrupted.  For example, an old version of an installer specifications file could have been copied into the project. 
-Go to Tools>>Advanced>>Mass Compile and mass compile the directory where the error is located.  Mass compiling is necessary for VI compatibility with a particular version of LabVIEW.  If this does not work then delete the saved installer settings from the project window and create a new one with the same settings.  
#2. Additional installer components have been overwritten 
-Referring to the knowledge base Why do I get a Missing Distribution Error when trying to build an installer from LV 8.0, an installer build always refers to the original installer source.  For example, if you are using the NI-DAQmx driver (with additional component MAX 4.0) and later install Measurement Studio (With additional component MAX 4.1) this will cause an error because the installer is still referring to MAX 4.0.  Point the installer to the original content on the driver-cd or the hard drive.   
#3. Installing drivers before you installed LabVIEW or Updating your drivers 
-The same driver and LabVIEW version, which the VI was written in, must be used to build a functioning installer.  If an upgrade has occurred then make sure to include updated versions of the run time engine and driver.  The driver and LabVIEW versions can be upgraded , in which case you can include the updated version of the driver and run time engine when you try to include additional installers.  Make sure that the driver is properly installed for the specified version of LabVIEW in order to upgrade code for new drivers and software.  Make a back up of your current project for reference.  Open the project in the specified version of LabVIEW and go to Tools>>Advanced>>Mass Compile and mass compile your code

0 Kudos
Message 2 of 2
(2,325 Views)