06-02-2014 06:13 AM - edited 06-02-2014 06:14 AM
Hi,
i make my vi file, and build an I create an executable ( build it on win 7 . 64 bits) ( on my cumputer it work fine)
i put the three files on another computer ( win xp )
Application.aliases
Application.exe
Application.ini
but i get the error( not valid win32 application error ) message when execute exe file
Help me Please,
Thank you in advance.
06-02-2014 06:54 AM
Hey khga123,
is the correct runtime engine installed on the xp machine?
Regards,
CMW..
06-02-2014 07:17 AM
Hi,
no, What is Runtime engine ?
Thank you for respond!
06-02-2014 07:20 AM - edited 06-02-2014 07:24 AM
The Run-Time Engine is a program that must be installed on any machines you wish to run the executable on. You can either bundle it in when you build an installer (instead of a standalone exe). Or just download the appropriate version from National Instruments and install it on your Windows XP machine. What version of LabVIEW do you have?
Here are a few of the more common versions:
LabVIEW 2013 (32 bit) - http://www.ni.com/download/labview-run-time-engine-2013/4059/en/
LabVIEW 2013 (64 bit) - http://www.ni.com/download/labview-run-time-engine-2013/4061/en/
LabVIEW 2012 (32 bit) - http://www.ni.com/download/labview-run-time-engine-2012/3433/en/
LabVIEW 2012 (64 bit) - http://www.ni.com/download/labview-run-time-engine-2012/3435/en/
LabVIEW 2011 (32 bit) - http://www.ni.com/download/labview-run-time-engine-2011/2534/en/
LabVIEW 2011 (64 bit) - http://www.ni.com/download/labview-run-time-engine-2011/2536/en/
06-02-2014 07:23 AM
Hey,
for information about the runtime engine, check out this link,
http://zone.ni.com/reference/en-XX/help/371361K-01/lvconcepts/using_the_lv_run_time_eng/
In your case I would recommend to create an installer.
Mark the "Automatically select recommended installers" in the Additional Installer palette. Then install your application on the second machine.
Regards,
CMW
06-02-2014 07:28 AM
Thank you,
i will see if it works 🙂
06-02-2014 07:39 AM
1) Make sure you have the right RunTime Engine installed on the second computer
2) Make sure you didn't build your EXE with a setting that you need at least Windows 7 to run it.
06-02-2014 03:02 PM
Hi,
Thank you all for your respond,
now another problem come, when i do all what you said.
on win xp installer said error message that it only work on 64 bits windows!!
how i can make it work on 32 and 64 bits windows,,??
Thank you in advance
06-02-2014 03:27 PM
Build it as a 32 bit exe using a32bit LabVIEW IDE. Yes you can have LabVIEW x32 and LabVIEW x64 on the same machine using the same license key.
06-02-2014 03:55 PM
ok Thank you 🙂