02-09-2018 02:59 PM
I have built an executable using labview 2017 32-bit. The .exe runs file on my development system. I've installed the runtime engine for 2017 32 bit on my target machine, but when I try to run the executable on the target machine I get an error that says:
"The version of this file is not compatible with the the version of the 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 ptrogram, and then contact the software publisher."
Development Machine is Intel i7 core CPU, 64-bit Operating system. Running Windows 7 Professional, Service Pack 1
Target Machine is Intel i7 core CPU, 64-bit Operating system. Also running Windows 7 professional, Service Pack 1
I tried building a very simple VI that added two numbers together and displayed the result and built a .exe out of that and it does the same thing so I don't think it has anything to do with drivers or anything exotic. I have also confirmed that the 32 bit runtime is installed on the target.
I'm probably just doing something wrong but I have no idea what it is - any ideas?
Solved! Go to Solution.
02-09-2018 06:26 PM
On the advanced page of the installer builder, there is an entry for "system requirements". Could it be you accidentally specified "Windows 8 or later" there?
02-12-2018 11:08 AM
I checked it and it says Windows 7 SP1 or later, which I expect is correct.
Follow on question - Does the executable have to have an installer? I've just been running (or attempting to run) the executable on the target machine, I thought if I installed the required components (runtime environment and drivers etc. ) that would be okay. Is this wrong?
02-12-2018 11:12 AM
One more piece of information:
We have a company volume license and someone from IT helped me get 2017 setup (and it seems to work fine), but I notice that when I launch it it says "Unregistered" on the splash screen. Is it possible it thinks I don't have a license for the application builder? This seems unlikely as the .exe runs on my development system. Thought I would mention it.
02-12-2018 01:51 PM
unregistered is not the same as unactivated and if can build an executable, things are fine.
Which exact runtime engine did you install?
02-12-2018 02:19 PM
This is what shows in NI Max under software on target machine.
Labview Runtime 2017 f2 17.0.0
I'm inclined to believe that the issue is related to the development machine in that I also tried to run the executable on another machine and got exactly the same error.
02-12-2018 03:35 PM
One additional piece of information. At one time I had the 64 bit 2017 installed on my development machine. Is it possible that some artifact of that is causing the executable to behave this way?
02-20-2018 12:31 PM
I finally figured out what the problem was. My development machine had a disk encryption program (Symantec End Point Protection) that was installed furtively by out IT department. This program encrypts all files on the local hard drive. When those files were copied to the target machine they would still be encrypted. I don't understand the Symantec End Point logic here but I suppose they probably have some method to export the files to another machine. In any case, I got IT to remove the encryption program and unencrypt my drive and then everything worked as expected.
02-20-2018 01:25 PM
Thanks for the update and solution. I will bookmark it as ammunition just in case our IT department ever gets one of these ideas. 🙂