LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV 8 app builder - advanced installers confusion

GS,
Thanks for the log file. It did help out a good bit! I was able to find out that there seems to be a dependency from DAQmx to DIAdem in a very round about way. The best, most permanent, solution seems to be the following:
1. Uninstall DIAdem
2. Copy the contents of the DIAdem cd to your hard drive.
3. Reinstall DIAdem from your hard drive.
 
This would cause the build process for your application to look on your hard drive for the "DIAdem distribution" instead of trying to find it in your cd drive.
 
In the log file, it looks like the builder is looking for the DIAdem distribution on your E:\ drive, so theoretically, placing the DIAdem CD in your CD drive when running the builder may solve the problem. However, you'd have to have the disk in the drive every time you built an application with DAQmx 8.
 
I suggest placing the installation CD in your CD drive first, because that is the least painful. If you are able to successfully build your app, try the uninstall and reinstall method for the more permanent solution.
 
I know this is a hassle and I am notifying our R&D department of the issue.
 
Please post back let us know if either of these two solutions seems to solve the problem.
 
Best Regards,
 
Chris C
National Instruments
Application Engineering
0 Kudos
Message 11 of 24
(1,465 Views)

Chris,

I'm glad you found something.  I'm working with a beta version of DIAdem so I don't have an official CD yet. I assume it will be the same thing if I unzip the installer to my hard drive and point the installer there. I deleted the installer last time after I installed DIAdem just to clean things up.

Also regarding the files necessary for DAQmx 8.0 in the installer. Do I need to copy all the files from both CDs?

George

0 Kudos
Message 12 of 24
(1,464 Views)
Hey GS,
You're correct in your assumption about DIAdem. Once you unzip the installer on your hard drive you can then point the installer there.
 
As for the second question about if you need both driver cds, I think that will depend on which drivers you're using. I suggest copying the contents of both cds just in case, that way you'll get all of DAQmx as well as NI-488.2, etc. Please post to let us know how it goes.
 
Chris C
Applications Engineering
National Instruments
 
0 Kudos
Message 13 of 24
(1,430 Views)
GS,
I think I may have mis spoken earlier. Once you have the installation files copied from your CD or you copy and extract the installation files to your hard drive, you'll only need to point the Installer Builder to these locations once (you don't need to uninstall and reinstall anything). You can point the Installer Builder to the proper location by going to the Installer properties in the LabVIEW Project Explorer, then select "Additional Installers". One of the parameters is "installer source location". Navigate to the location of the files you copied to your hard drive. That should do it. You shouldn't need to uninstall anything at this point (this was what I was mistaken about before). Post to let us know how things are going.
 
Chris C
National Instruments
0 Kudos
Message 14 of 24
(1,415 Views)

I was waiting for the Beta3 version of DIAdem before trying this again. I now have my installer pointing to the installer for DIAdem and it no longer gives me an error. I am getting a confusing dialog box now though. During the build I get the following message:

    Unable to locate the installer source for the "National Instruments Device Drivers - November 2005" distribution.

    Locate the distribution and try again.

I then point it to the exact same directory that I have listed for NI-DAQmx 8.0 under Additional Installers. It then finishes the build with no problems (although it sure takes it time). Why is asking me again for the directory?

 

George

0 Kudos
Message 15 of 24
(1,404 Views)

Hey GS,

Thanks for getting back to us to let us know things are working, although not without glitches. Do you notice this "duplicate path" behavior every time you try to build the installer, or just the first time? Thanks.

Chris C

National Instruments

0 Kudos
Message 16 of 24
(1,389 Views)
The "duplicate path" behavior happens every time I try to build the installer.
 
George
0 Kudos
Message 17 of 24
(1,390 Views)
GS,
I'm having a hard time replicating the behavior you're seeing on my end. I've tried installing a fresh copy of LabVIEW 8, and then built an installer including additional installers. I didn't seem to have the same problem that you described. Would you be willing to post screen shots of the following?:
1. Screen shot of the "additional Installers" screen from within the build properties window with the correct path indicated.
2. The error during the build telling you to locate the correct path BEFORE you have chosen the correct path.
3. The error during the build telling you to locate the correct path AFTER you have chosen the correct path.
 
Thanks!
 
 
Chris C
National Instruments
0 Kudos
Message 18 of 24
(1,368 Views)

GS,

After looking a little further into this, I think I may know what is causing the "duplicate prompting". When you include DAQmx in your installation, DAQmx also pulls in other products that it depends on, like MAX. So the installer will also prompt you for the location of MAX, even though you've already specified the location of the DAQ driver.

To fix this double prompting, you have to go to the "additional installers" page and change the path of all of the products that the additional installer depends on to the correct directory (so if you select DAQmx, you'd also have to change the path for MAX since DAQmx depends on MAX). To be safe, what you can do is select each item in the additional installers list and see what the "Distribution Title" is. For each item with a distribution title named "National Instruments Device Drivers - Date", change the path to the location on your hard drive where you copied the installation cds.

I know this is a little confusing so please let us know if you'd like any clarification or if you have any questions. In any event, post to let me know if these steps do or don't help out and we can continue from there. Thanks for your patience in this whole process!

Chris C
National Instruments
0 Kudos
Message 19 of 24
(1,351 Views)

I did have the path to MAX set to the same path as DAQmx. I didn't have NI IEEE 488 set to anything, but my app doesn't use it. The other one that wasn't set that might have something to do with my app was LV8 deployable license.

But I just tried to rebuild again and now I'm getting an error shown below. I don't know what's causing this problem now.

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

Loading product deployment information
Loading product deployment information
Reading distribution information from path: "C:\Program Files\National Instruments\DAQmx8 installer1"
Loading product deployment information
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
Reading distribution information from path: "C:\Program Files\National Instruments\DAQmx8 installer1\"
Reading distribution information from path: "J:\DDBTSTSY\Engineering 8089\Common Pump\CP Durability\Builds\Rev 1.313\Volume\"
Reading distribution information from path: "C:\Program Files\National Instruments\DAQmx8 installer1\"
Copying distribution 'National Instruments Device Drivers - November 2005' from: C:\Program Files\National Instruments\DAQmx8 installer1\ to: J:\DDBTSTSY\Engineering 8089\Common Pump\CP Durability\Builds\Rev 1.313\
Reading distribution information from path: "C:\Program Files\National Instruments\DAQmx8 installer1\"
Reading distribution information from path: "J:\DDBTSTSY\Engineering 8089\Common Pump\CP Durability\Builds\Rev 1.313\Volume\"
Copying distribution 'Setup' from: J:\DDBTSTSY\Engineering 8089\Common Pump\CP Durability\Builds\Rev 1.313\Volume\ to: J:\DDBTSTSY\Engineering 8089\Common Pump\CP Durability\Builds\Rev 1.313\
Reading distribution information from path: "J:\DDBTSTSY\Engineering 8089\Common Pump\CP Durability\Builds\Rev 1.313\Volume\"
 
**************
*** Error: Windows SDK function returned an error. (Error code -12)
The system cannot find the file specified.
*** End Error Report
**************
 
Done building deployment
 
0 Kudos
Message 20 of 24
(1,340 Views)