LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make a program that doesn't need to be installed?

I would like to create a small exe that can run on a windows computer without having to install anyting.  Is this possible?

 

Thanks

Mike

0 Kudos
Message 1 of 42
(4,297 Views)

I am sure I have seen a thread on here about this before, and I seem to recall the answer was no. 

 

I will have a look to see if I can find a link.

 

(I assume you mean without installing the LabVIEW Runtime Engine either?)

0 Kudos
Message 2 of 42
(4,286 Views)

Yes i would like to be able to have an exe on a USB key and be able to run it on whatever computer it gets pluged into.

0 Kudos
Message 3 of 42
(4,273 Views)

LabVIEW exe's will require the appropriate (i.e. same version as the exe was developed in) LabVIEW Run Time Engine to be installed. This is not unlike Visual C++ or Visual Basic, the difference is that with those development systems the Run Time is installed as a part of the massive Windows install.

 

The LabVIEW RTE is a free (if big) download and there isn't a license to install it on other computers. To create an exe will require having the Professional Development System, or the appropriate add-on.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 4 of 42
(4,272 Views)

You will need the LabVIEW Run-Time Engine in order to run EXEs built with LabVIEW.  But as long as you have that, you can just copy EXEs to wherever you want them.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 42
(4,271 Views)

So this information gets less and less relavent, but LabVIEW 7.1 and older EXEs can be ran on a computer without the runtime engine installed if you include the runtime engine files in the same folder as the EXE.  Check it out here on LAVA.

 

http://lavag.org/topic/1103-runtimeless-installer-and-labview-applications/

 

Of course who makes LabVIEW 7.1 EXEs anymore?  7.1 does include the majority of the tools we use today in LabVIEW 2012 but you may find your self frustrated trying to implent some feature you are use to having.

 

EDIT: Here is another link with the relavent information.  http://lavag.org/topic/13166-running-labview-app-on-cdrom-without-run-time-engine-installed/

Message 7 of 42
(4,249 Views)

That's a bummer that it can't be done anymore, but thanks for all the help.

 

Mike

0 Kudos
Message 8 of 42
(4,226 Views)

One other thing, did you find any posts about Cameyo.  I've heard some success with making a stand alone LabVIEW program with it.

 

http://forums.ni.com/t5/LabVIEW/Labview-exe-as-portable/td-p/2122520

0 Kudos
Message 9 of 42
(4,209 Views)

I know this can be done up to Version 8.5 (I have done this a lot). Copy these files (C:\Program Files\National Instruments\shared\LabVIEW Run-Time\8.5) to a new folder, then drop your compiled Labview 8.5 executable into this folder. Copy to thumb drive or CD/DVD, and run. Before the chorus of nay-sayers to this approach chime in, there are many cases of sending demo applications to customers, potential customers to run an application without having to install programs (many do not like or refuse to install anything strange). Also, many company computers are tightly administered and will take forever, if allowed, to push runtime files. These are situations out of our control. So, to have an option to run LabVIEW applications from CD/DVD/Thumb-drive is important. I'll make a point to do the same for 2009 and newer, since that compatibility wall and Windows 7 that is looming really close, and XP is no longer supported by Microsoft, watch for NI to drop XP. Sometimes, companies get a little too big for some of these little things... just look what happened to IBM.... NI take note.

0 Kudos
Message 10 of 42
(4,036 Views)