10-13-2023 02:27 AM
Hello,
I am tasked with integrating the creation of a distribution of a LabWindows/CVI 2017 project into our CI/CD pipeline.
I have already found some information on the command line interface here Using the LabWindows/CVI Command Line Interface - NI. However, it occurs to me that this CLI is only capable of building the .exe and not the actual installer.
Therefore my question is: Is there a way to automate the creation of a distribution?
Kind regards,
Moritz
10-16-2023 04:43 AM
You may not know that CVI itself can be interfaced via ActiveX to perform some tasks like loading and running a project, creating an .EXE ... and building a distribution kit!
All these features are included in a sample project located in <CVI Samples Folder>\activex\cvi\cvidemo.csw
Another useful example to look at is build.csw found in the same folder: this creates a command-line application that you can use to build a project; I suppose you can start from this example to create a new one that can build distribution kits.