LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Installer Build Requestion DAQmx 8.6

I am attemping to build an installer for an exe.  The exe build was successful but when I try to build the installer it asks for "DAQmx 8.6, Disk 1" I have inserted the disk without any luck, the error doesn't state the specific file it is looking for.  The installer builds successfully if I don't include DAQmx as an additional installer.  I have also tried mass complie, creating a new project, fresh builds (exe and installer), and even repairing LabVIEW.  I am using LV 8.5.1 and have DAQmx 8.7 on my machine.  Is there anyway to tell the installer to use DAQmx 8.7 rather than 8.6?
0 Kudos
Message 1 of 4
(2,865 Views)
Hi martym,

Have you seen this article?

Why Do I Get A "Missing Distribution" Error When Trying to Build an Installer from LabVIEW 8.0?
http://digital.ni.com/public.nsf/allkb/C3666BA408F81E59862570D20056E692?OpenDocument


My guess is that, when you include DAQmx 8.7, there is some shared component that hasn't been updated from DAQmx 8.6.  Inserting the original 8.6 install disc should fix this, but it may be that you have had a different version of 8.6 (such as 8.6.0f6) on your system than on your disc (you can check the full version number in Measurement & Automation Explorer under the software tab).

I would recommend installing the latest version of DAQmx (8.7.1)
http://joule.ni.com/nidu/cds/view/p/id/965/lang/en

to see if that updates the component and fixes the problem.  If not, please create a log when you try to build the installer and post it here by:

   1. Navigate to the C:\Program Files\National Instruments\LabVIEW 8.X directory.
   2. Open up the LabVIEW.ini file and copy the "CDK.EnableLog=true" text to the bottom of the file. Enabling this feature will cause a detailed debug log to be written to your temp directory.
   3. Save the changes and close the ini file.
   4. Attempt to build your installer

The debug log should be located in the %temp% directory of your computer (%...% means a computer variable). To determine where this temp directory is located, follow the steps below:

   1. Select Start » Run, type in "cmd" and then press OK.
   2. Type "set" in the command prompt. This will return all of your computer's variable names.
   3. Look for TEMP in the list of variable names. You should see something like "TEMP=C:\DOCUME~1\user\LOCALS~1\Temp".
   4. Navigate to this directory using Windows Explorer. You should see a file named "Name.log" where "name" is the name of your build specification. For example, you might see "My Installer.log" if the name of your build specification is "My Installer".
Eric V
National Instruments
Applications Engineer
Certified LabVIEW Associate Developer


"I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"
0 Kudos
Message 2 of 4
(2,849 Views)
Eric,

    Thanks for the help, but no success yet.  I have installed the latest verison of DAQmx.  However, when building the installer it still requests DAQmx 8.6.  I have tried using a CD which contains DAQmx 8.6, but it does not accept it.  Perhaps this is due to a different version on the CD than the build it looking for (The CD I have may not be the one used to orignially install 8.6 on this machine).  I have tried to enable the log file generation per your instructions, but I can't find it on my computer.  I have tried searching for all files with the extenstion ".log" but don't see any with my installer build name.   Would the log file still be created if the build does not run to completion?  I am forced to cancel the build since it does not accept the DAQmx CD I do have.  Thanks for your assistance.

Marty
0 Kudos
Message 3 of 4
(2,819 Views)
Hi martym,

The log should be created in any case.  It may be that it is hidden.  Please check (Tools » Folder Options in Windows Explorer) and on the view tab make sure the "Show hidden files and folders" bubble is checked and the "Hide extensions for known file types" is unchecked, then click "Apply to All Folders."

Rather than search your whole hard drive, click Start » Run, type %temp% into the command box and click ok.  This should launch a Windows Explorer window already in the folder where the log file should be created.

If you still can't find it, let me know.
Eric V
National Instruments
Applications Engineer
Certified LabVIEW Associate Developer


"I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"
0 Kudos
Message 4 of 4
(2,797 Views)