Pergunta

Eu tenho um projeto Ni CVI / LabVIEW que compila usando o comando compile.exe no comando -parar.Isso gera os executáveis esperados e funciona bem no PC de desenvolvimento.No entanto, eu também gostaria de criar um kit de distribuição para este projeto usando um comando commandline .

CVI permite-me gerar um kit de distribuição através do IDE e também tropeço no código que me permite usar interfaces ActiveX para abrir projetos e criar kits de distribuição.No entanto, estou procurando especificamente por uma opção de linha de comando.

Se necessário, o arquivo CDS correspondente do projeto está disponível.

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top