LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

run exe from lab view

I have made autorun.vi.
From this vi i want to install my software, for that have setup.exe (Application file).
How i can open setup.exe from lab view.
setup.exe is a exe made from LV Application builder 7.1.
 
Thanks
Kaustubh
VC (Pune)
INDIA
0 Kudos
Message 1 of 3
(2,534 Views)

I can't look at your VI, but I'm not sure I understand - you want to use a LV EXE to run a LV installer?

If you don't have the run-time engine installed, the EXE can't run, and you need to install the RTE, which requires you run the installer, which you want to run from the EXE, which requires the RTE...

If you want to autorun Setup.exe when a CD is inserted, and you're using windows, have a file called Autorun.inf in the CD's root directory and place the following lines into it:

[autorun]
open=setup.exe

This should cause setup to run when the CD is inserted.

If you still want to know how to call an EXE from LV, that can be done by using the System Exec VI from the Communications palette.


___________________
Try to take over the world!
Message 2 of 3
(2,527 Views)

Thanks.

I got a solution and i made a Autorun CD program in Lab View.

Thanks.

Kaustubh

VC (Pune)

INDIA

 

0 Kudos
Message 3 of 3
(2,508 Views)