LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building EXEs and Installers from command line

Is there a way to build an EXE and installer (via Application Builder) through the command line? It looks like it is possible, but I haven't been able to find the commands to accomplish this. We will be adding some .NET components to our LabView application, and I'd like to be able to: - Compile .NET code - Execute Unit tests - Compile LV code (using new .NET assemblies) - Package LV application I know I can control all of this through a VI, but I'd rather not maintain my build process in LabView.
0 Kudos
Message 1 of 6
(3,020 Views)

There is an example that ships with labVIEw. here is the path

 

C:\Program Files\National Instruments\LabVIEW 2010\examples\project\programmatically build\Build Targets via Command Line.vi

 

Guru

Regards
Guru (CLA)
0 Kudos
Message 2 of 6
(3,011 Views)
I don't have that example installed, but it looks like the best solution is to build an executable that wraps BuildTargetBuildSpecification.
0 Kudos
Message 3 of 6
(2,967 Views)

Alex,

 

This KB has some info on this, let me know if it helps!

 

http://ae.natinst.com/public.nsf/web/searchinternal/0413bd4f4bff32f086256e4a007c7a60

 

Jon

 

 

Applications Engineer
National Instruments
0 Kudos
Message 4 of 6
(2,947 Views)

Is that an internal resource?  I'm not able to reach that address (DNS can't resolve it).

0 Kudos
Message 5 of 6
(2,942 Views)

Sorry about the broken link.  Here is the correct one:

http://digital.ni.com/public.nsf/allkb/0413BD4F4BFF32F086256E4A007C7A60?OpenDocument

0 Kudos
Message 6 of 6
(2,927 Views)