01-21-2011 04:31 PM
I have an app that I am building a distribution for, it is in CVI 9.0.1, and several versions prior to that.
When I build it, it asks for CVI Device Drivers (CVI 9.0.1) from Feb 2009 and CVI Device Drivers (CVI 8.5.1) from March 2008.
Is there a way I can make this use all the stuff from the latest driver discs (the Feb 2009 disc)?
This is an app that runs on a PXI box, so it has a bunch of drivers for that that and some card in the (I think)!
Solved! Go to Solution.
01-24-2011 04:19 PM
Hi Ken,
Here are two things you can do.
Getting the distribution to pull from the latest versions (Feb 2009):
Find the driver that is being pulled from the old disc and install the newer version from the Feb 2009 disc. Once the new driver is installed it will automatically point at the newer disc during the distribution.
Dealing with two discs during the building of the installer:
What you can do is in the driver & components menu (of the edit installer window), you can select "Cache components included from this source" for the distributions it pulls in from the driver cd. That way instead of having to insert discs each time for the build, it will just pull the required source from your hard drive.
Hope this helps!
01-25-2011 09:26 AM
Chris,
Getting the distribution to pull from the latest versions (Feb 2009):
Find the driver that is being pulled from the old disc and install the newer version from the Feb 2009 disc.
How do I do this? I opened the Windows Control Panel Add or Remove Programs, and found National Instruments, but that lists a whole bunch of things? I tried to open the installed from the Driver DVD, but it wouldn't while the Add & Remove for NI was opened, so I took screen shots of the list of drivers installed so I had a list of what was installed.
Then, I closed the ADD & Remove for NI, and started the installer from the Driver DVD. I compared that against the list (screen shots) of what I have installed.
I went through all the components from the Driver DVD Installer, and selected "Leave this feature and its subfeatures installed locally"
I had to hunt through the sub-subfeatures to find parts the installer told me were for things not installed (like VS 2003).
Dealing with two discs during the building of the installer:
What you can do is in the driver & components menu (of the edit installer window), you can select "Cache components included from this source" for the distributions it pulls in from the driver cd. That way instead of having to insert discs each time for the build, it will just pull the required source from your hard drive.
What I had done in the past was to copy the driver discs to my hard drive. Then, when it asks for the driver CD or DVD, I would point to the copied folders on my HD. But, the new DVD set is too big for my HD, with the old DVD.
I'm hoping the selection above, to copy things locally, is how to do the caching you mention. I didn't see anything about caching the components, and hoping the language form NI is changed.
I will try the build in a while, it required a reboot, but I didn't want to loose my notes on this so far.
I will update this later today, after I rebuild my app.
01-26-2011 03:54 PM
Hi Ken,
The "Cache components included from this source" can be found when you go to Manage Distribution, click on your distribution and click edit. Go to Driver and Components Tab, then go down to each of the checked boxes and on the right pane you will see a check box in the Component Source section. Check that and it will ask you still to insert the disc for the first build, but after that you won't have to.
Hope this helps!
01-28-2011 09:44 AM
Thanks for the help. Got this working and found the settings you mentioned.
Strange that some were set to cache and some were not!