Question

J'ai un projet NI CVI / LabVIEW qui compile en utilisant la commande Compile.exe sur la commande Commandline.Cela génère les exécutables attendus et fonctionne bien sur le PC de développement.Cependant, je voudrais aussi créer un kit de distribution pour ce projet à l'aide d'une commande Commandline .

CVI me permet de générer un kit de distribution à travers l'EDI et j'ai également trébuché sur le code qui me permet d'utiliser des interfaces ActiveX pour ouvrir des projets et créer des kits de distribution.Cependant, je cherche spécifiquement une option de commande de commande.

Si nécessaire, le fichier CDS correspondant du projet est disponible.

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top