Skip to content
⌘ NSIS Forum Archive

nsis and platforms (xp 64)

6 posts

mojmir#

nsis and platforms (xp 64)

Hello again,

finally i have some installer and i gave it to users, but those with windows xp 64bit reports
that they cannot run the installer, receiving this message:
"The image install.exe is valid, but is for machine type other than the current machine"

i quickly checked and the install.exe is really 32bit, so there must be something else.
the installer is build on win7 64bit.

is it supposed to work the way i do it?

Best regards,
Mojmir
Anders#
NSIS version?

What happens if you open it in the 32bit version of dependencywalker.com on that XP machine? (There are normally some errors but all import functions used by the .exe should be OK)
LoRd_MuldeR#
If you open the Install.exe in CFF Explorer, what "File Type" and "File Info" does it show?

And, if you go to "Nt Headers" -> "Optional Header", what does it show?

Most important: "Magic", "Major/MinorOperatingSystemVersion" and "Major/MinorSubsystemVersion".
mojmir#
i am using nsis 2.46.5 unicode version. shall i try another version?

i have no xp64, but i will try to install it during the week and let you know.

CFF explorer:
Magic 010B (PE32)
Major OS Ver 0005
Minor OS Ver 0000
Major Sub Ver 0005
Minor Sub Ver 0000
LoRd_MuldeR#
Originally Posted by mojmir View Post
i am using nsis 2.46.5 unicode version. shall i try another version?
If you want to have Unicode support - which you definitely should nowadays! - you have no other choice except for NSIS 3.0 Alpha.

Personally, I use Unicode NSIS v2.46.5 all the time. And will probably continue to do so until 3.0 becomes stable.

Originally Posted by mojmir View Post
i have no xp64, but i will try to install it during the week and let you know.
I do have a Windows XP x64 machine for testing purposes. And have not noticed any issues.




So, are you 100% sure that it's the Installer EXE itself that causes the error and not some other EXE included in (or called by) the Installer?

For example, EXE files compiled by Visual Studio 2012+ do not run on Windows XP - by default.

Originally Posted by mojmir View Post
CFF explorer:
Magic 010B (PE32)
Major OS Ver 0005
Minor OS Ver 0000
Major Sub Ver 0005
Minor Sub Ver 0000
So it's definitely a 32-Bit binary. And it's supposed to run on Windows NT 5.0 (aka "Windows 2000") and later.

I see no reason why that shouldn't run on Windows XP x64 😕
mojmir#
thanks you for all the responses.

in order to test it i installed win xp 64 in virtual and the installer works flawless as expected.

so i asked this user who reported the errr to me about, he tried it and it works for him too now. (it was not the same build, but heavily similar). so i guess he forgot to install redistributables or something.

anyway thank you for the informations!