LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Commandline option building distribution kits

Is there any Commandline option building distribution kits on CVI to automatically generate distribution kits programatically or using batc files?
Jattie van der Linde
Engineering Manager, Software & Automation
TEL Magnetic Solutions Ltd
0 Kudos
Message 1 of 3
(3,083 Views)
Jattie,

The only way I know you can create a distribution kit in CVI is by going to the Build menu and choosing the option "Creating Distribution Kit."
If I understand your question correctly, you want to pass a commandline option somewhere so that the distribution kit is generated automatically?
In CVI 6.0, the distribution kit is generated with MSI (Microsoft Installer Package) and it cannot be done programmatically. I'm pretty sure this is also true for previous versions of CVI. Does that answer your question?

Regards,

Azucena Perez
National Instruments
0 Kudos
Message 2 of 3
(3,083 Views)
Actually, you can programmatically build the distribution kit through ActiveX automation of the CVI environment. If you have a project, and you have already setup the Build Distribution Kit settings, then you can write a program that will launch CVI, load the project and build the distribution kit. See the example cvi\samples\activex\cvi\cvidemo.prj. The function you would use is called CVI_AppCreateDistributionKit in the cvisrvr.fp.

This may not be exactly what you were looking for, but it's the only way available to programmatically build the distribution kit.

Best Regards,

Chris Matthews
National Instruments
Message 3 of 3
(3,083 Views)