04-01-2013 12:49 PM
I have a LabVIEW executable that I created under LabVIEW 2012, using Runtime Environment 2012 f3. All the software was created, and runs on Windows XP, 32-bit. The LabVIEW executable works without a problem on this system.
Now when I take that executable and run it on a laptop that has Windows 7 64-bit, and the LabVEIW RTE 2009, I get:
The version of this file is not compatible with the version of Windows you’re running. Check your computer’s system information to see whether you need an x86 (32-bit) or x64(64-bit) version of the program, and then contact the software publisher.
Any ideas? Thanks.
04-01-2013 12:54 PM
Why are you using the 2009 RTE when you built the exe in 2012. Did you install the 2012 RTE as well?
04-01-2013 01:01 PM
Why are you using the 2009 RTE when you built the exe in 2012. Did you install the 2012 RTE as well?
The laptop is running 2009 RTE and didn't want to update. Could this cause the issue?
2012 RTE is only installed on the workstation where the LabVIEW code is being written.
Thanks.
04-01-2013 01:10 PM
You need the RTE to match the version you built the EXE in. I would say that is your problem. The RTEs do install in parallel with each other.
04-01-2013 01:48 PM
I downloaded serveral differant RTE from the NI website, but when I try to open them I get the same message. The only one I can install is RTE 2009.
I un-installed RTE 2009, and tried installing the others without any success.
04-01-2013 02:02 PM
What's the message?
You may have insufficient rights to install the Runtimes. If that's the case, you need to get your IT department involved.
04-01-2013 02:03 PM
Create an installer for your EXE. By default the RTE is part of the installer. Run the installer on the computer you want to run your program.
04-01-2013 02:18 PM
I orginally tried to create an installer with the RTE 2012 being included. When I tried running the installer is when I orginally got the message. After that I just tried to run the EXE.
04-01-2013 02:51 PM
@Sebastian2011 wrote:
I orginally tried to create an installer with the RTE 2012 being included. When I tried running the installer is when I orginally got the message. After that I just tried to run the EXE.
Again, What message?