我有一个ni cvi / labview项目,它通过在命令行上使用compile.exe命令编译。这会生成预期的可执行文件,并在开发PC上运行精细。但是,我还想为此项目创建一个分发套件使用commandline命令

CVI允许我通过IDE生成分发套件,我也偶然发现了允许我使用ActiveX接口打开项目并创建分发套件的代码。但是我正在寻找一个命令行选项。

如有必要,项目的相应CDS文件可用。

有帮助吗?

解决方案

The short answer is Yes, you can use a command line to create a distribution kit.

The longer answer is that you will have to create your own little executable to do that. LabWindows/CVI distribution kits are completely compatible with Microsoft Windows Installer (MSI) technology, therefore, API calls exist within the SDK to do anything you would like regarding that technology.

Here is a link that should get you on the right path.

http://zone.ni.com/devzone/cda/tut/p/id/3212

(Pay particular note to Tip 3)

Regards, Ryyker

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top