04-18-2024 10:45 PM
I am working on a project for which I had to build an exe from my VI. After making the exe I had to run that .exe on Windows XP 32bit system, but every time it shows that you file is not a valid Win32 application. I searched on net and found out that maybe it is because of different .NET framework as Windows XP uses old version of that. Is there any way of running this .exe build on Windows XP 32 bit. The .exe build is made from LabVIEW 2024 Q1 version. I have attached all the files of exe build in a zip.
04-18-2024 11:50 PM - edited 04-18-2024 11:51 PM
I'll not expect other result from 64-bit executable running on 32-bit OS:
Microsoft (R) COFF/PE Dumper Version 14.39.33523.0
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file A350_CPCS_GUI.exe
PE signature found
File Type: EXECUTABLE IMAGE
FILE HEADER VALUES
8664 machine (x64)
7 number of sections
65A1A0E2 time date stamp Fri Jan 12 21:28:18 2024
0 file pointer to symbol table
0 number of symbols
F0 size of optional header
22 characteristics
Executable
Application can handle large (>2GB) addresses
You should install LabVIEW 2024 32-bit and rebuild your app.
And don't forget that on the target PC the according LabVIEW Run-Time 2024 needs to be installed. Windows XP is officially not supported by the latest LabVIEW, but it might still work.
04-19-2024 12:46 AM
Hi
You may be helped from reading this :
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6seSAC&l=da-DK
NI officially killed the ability to deploy any built executable code to XP for anything based on LabVIEW 2016 or newer. But they left a little hacker backdoor open.
Regards
04-22-2024 08:45 AM
@softball wrote:
Hi
You may be helped from reading this :
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6seSAC&l=da-DK
NI officially killed the ability to deploy any built executable code to XP for anything based on LabVIEW 2016 or newer. But they left a little hacker backdoor open.
Regards
Or Save for previous version and build the .exe in 2016 🙂
04-22-2024 09:13 AM
Hi Yamaeda
Well, I haven't tried myself, but since the hack is about accepting XP, even though the gods said Windows 7, then the trickery should work even for LV 2020 SP1 out of the box 🤔
Regards