LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What DAQmx files needed to build installer?

I have compiled an executable and am trying to compile an installer for a LV8.5 program. On the client computer, it must communicate with DAQmx hardware. Build parameters automatically include a path (almost to) LV 58. runtime. I want to include DAQmx 8.8 and do not know exactly what files (directories) need to be referenced. v8.8 resides on the development computer. If someone has a build that includes DAQmx, could you take a snapshot of the include box and post it here?

 

 

Labview 8.5
Meas Studio 2008
0 Kudos
Message 1 of 8
(3,180 Views)

When building an installer you can select additional Installers and include DAQmx from the list. There are different installation sizes available based on your distribution requirements.

 

Check out http://digital.ni.com/public.nsf/allkb/E09BA0E2F31D304F86256A640070058E

 

Amit

0 Kudos
Message 2 of 8
(3,147 Views)

Thanks but I'm not asking how to include other installers. This I understand. I need to know where to find the files, directories, whatever the installer needs to install DAQmx. The default points to the E: directory which is an empty CD drive. My DAQmx files on the development computer are buried many levels deep on a hard drive. Inside the DAQmx directory there are multiple levels of subdirectories. There is no documentation (that I can find) that indicates whether the installer needs to point to the DAQmx highest level directory, to a specific subdirectory, to a specific file, to the drive letter on which it resides.... That is why I ask for a snapshot of the installer box with the setting checked. From that I should be able to extrapolate what the installer is actually looking for.

 

Labview 8.5
Meas Studio 2008
0 Kudos
Message 3 of 8
(3,138 Views)
Cached Installers are stored in C:\Program Files\National Instruments\Shared\ProductCache. However, you will need to insert your Driver CD into your E drive at least for the first time you create the installer with DAQmx. During the creation you have the option to create a local cache of the DAQmx drivers and then use that from the next installer creation.
0 Kudos
Message 4 of 8
(3,133 Views)

It sounded so easy when I read it that I was actually excited. But.... I checked the box for DAQmx and pointed it toward the ProductCache directory. LV was not happy about that. It requires a file not a directory so I got an error message but it continued. When I clicked build

it asked for the DAQmx disk. Then it asked for a Measurement Studio 8.5 for VS 2008 disk. How did it even know I had this? What if I didn't? I'm trying to build a Labview program, not MS. Well it sort of allowed me to continue but this is the result.

Also it did not write the  DAQmx files to the ProductCache.

 

------------------------------------------------------------------------------------------------------------------- 

 CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi
>> CDK_Engine_Build.vi >> CDK_Engine_PromptForMissingDist.vi >>
NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi


Loading product deployment information
Loading product deployment information
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
Copying distribution 'NI-DAQmx 8.8, Disk 1' from: E:\ to: D:\My Documents\
LabView Projects\Builds\Valve Dr 05.01\VDr Installer\
Copying distribution 'NI Measurement Studio 8.5.0 for Visual Studio 2008' from:
E:\VS2008\ to: C:\Documents and Settings\All Users\Application Data\National
Instruments\MDF\ProductCache\
 
**************
*** Error: Windows SDK function returned an error. (Error code -12)
The system cannot find the path specified.

*** End Error Report
**************
 
Done building deployment

Labview 8.5
Meas Studio 2008
0 Kudos
Message 5 of 8
(3,126 Views)

Looks like your product cache folder is C:\Documents and Settings\All Users\Application Data\National Instruments\MDF\ProductCache\

 

The reason the installer build script may be asking for your MS CD is because some common component was installed from that CD. Check out http://digital.ni.com/public.nsf/allkb/033C2379AB4F3A84862572130017FA59.

 

You can also check http://digital.ni.com/public.nsf/allkb/842DC4802B0A33AD862572E200592DAB for some 'workarounds'

 

You will need to keep installer CDs accessible at least for your first installer. Just make sure you cache all components you may need in the future. I just checked my cached folder and found C:\ProgramData\National Instruments\MDF\ProductCache\NI-DAQmx 8.8 [8.80.49154] (I'm using Vista so my folders are different.)

 

Hope this helps. Sorry but you will need the CDs...

 

Amit

0 Kudos
Message 6 of 8
(3,121 Views)

"I just checked my cached folder and found C:\ProgramData\National Instruments\MDF\ProductCache\NI-DAQmx 8.8 [8.80.49154]"

 

Thank you. This is what I've been asking about from the beginning. Is there a way to install this from the CDs directly to this directory?

 

 

Labview 8.5
Meas Studio 2008
0 Kudos
Message 7 of 8
(3,111 Views)

I have a downloaded version of the driver DVD. I compared the folder D:\NI Software\Driver DVD-Feb09\Products\NI-DAQmx with C:\ProgramData\National Instruments\MDF\ProductCache\NI-DAQmx 8.8 [8.80.49154] and they are similar. So in answer to your question, you should be able to copy it off the DVD from that location. However, it may not get registered in C:\ProgramData\National Instruments\MDF\Bin, which stores the installer's information. Your best bet will be using the installer to do it for you. What I did was to create a dummy installer in a project that included all installers I ever planned to use, run time engines, MAX, DC power, etc. Ran this installer once and it asked me for all CDs one after another. But now that this is done, I never get promted for a CD again. The downside is that everytime I add a new driver or upgrade something I need to add this to my cache. Also it currently takes up 1.8 GB on my harddrive.

 

Amit

0 Kudos
Message 8 of 8
(3,107 Views)