LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

making an distribution application with CVI 8.1.1

I just upgraded to LabWindow  CVI 8.1.1. My question is creating a distribution application. I've written a small program (maybe a hundred lines of code, using two calls to a DAQ card). I needed to get the program unto a laptop to run a small NI USB DAQ card. I took me more then two hours to create a distribution application of 600mB big. The process kept asking for the May Driver 2007 CD's,  the Nov Driver 2005 device driver CD's then ask for Measurement Studio CD then for the CVI CDROM. After a good two hours it finally finished a whopping two folders. Volume and Volume2 that would not even fit on a CDROM. I had to zip it to get it on the CDROM. There has to be bare bones version. A distribution CD used to be 6 or 7Mb big.I know you need the run time engines and uninstallers but there has to be a sane version of making a quick distribution application.
0 Kudos
Message 1 of 2
(3,017 Views)

Hi leichner,

My first question is what drivers did you select in the Drivers & Components tab of the Edit Installer dialog?

Now, since you mentioned that you were using DAQ, I assume you selected the NI-DAQmx 8.5 driver option. You may have already noticed this, but you can expand the DAQmx driver tree and see several additional options to select. Expanding this tree shows you different NI-DAQmx Runtimes you can alternatively choose. By default, the Full option is selected which includes both development and run-time support (in general, it includes everything). This will be your biggest package. I would suggest choosing one of the Runtime options since you are deploying and you don't need any development support. This in turn will reduce the size of your installer. You notice that as you select the different Runtime option, the "Total Size of Included Components" field reduces. Also at the top-right of the dialog, you can see what components are stripped out for each version of the Runtime. See the attached screenshot "DAQmx Runtimes.jpg".

Essentially what happens is when you select a driver, during build time of your distribution package, our deployment framework tries to locate the components you selected from the last location that they were installed from. In your case, the driver CDs.  Now, you may have also noticed in the Drivers & Components tab, you do have the option of caching components which copies the component parts to the local cache on your computer when it builds the installer. This will speed up building time.

Hope this provides some insight! If you are still having issues or are confused, let me know.

Best Regards,

Jonathan N.
National Instruments
0 Kudos
Message 2 of 2
(3,007 Views)