Windows 7 fail to recognize exe generated on windows xp

January 2, 2012 at 01:29:53
Specs: Windows XP/Windows 7, I5/4 GB
i have generated an exe on windows xp. when i tried to run the same exe on windows 7; windows 7 is not able to recognize the exe itself. any advise on this will be good.
Thanks in advance...

See More: Windows 7 fail to recognize exe generated on windows xp

Report •

#1
January 2, 2012 at 02:38:34
What exactly happens when you run this exe on Windows 7. There is no reason why Windows 7 will not recognise and EXE but may not be able to run it. A lot depends on exactly what the EXE is doing.

How did you generate this exe on Windows XP?

It is not unusual for an EXE to be compiled on one version of Windows and not run on another version. You will probably need to compile the exe on Windows 7.

Stuart


Report •

#2
January 2, 2012 at 05:02:08
I built one C# UI exe on windows xp; when i tried to run this exe on windows 7 it is not responding. i am able to run same exe on windows xp.

Report •

#3
January 2, 2012 at 08:07:10
Does this exe need any other files? Is it really a 32 bit app?
Are both the W7 and xp 32 bit?
What do you mean not recognize?

1/3 of highway deaths are caused by drunks. The rest are by people who can't drive any better than a drunk.


Report •

Related Solutions

#4
January 3, 2012 at 08:26:06
When you transferred the EXE to Widows 7 how did you do it?

Did you just copy the EXE or generate an installation package and install it on Windows 7.

The former sometime works with very simple programmes but the latter is usually necessary as that ensures that any supporting DLL that may not present in Windows 7 are moved over.

That also raises the possibility that a DLL that is present in both Windows XP and Windows 7 are different and you end up with a Windows XP DLL on Windows 7.

Compiling on the target OS is the only guaranteed solution.

Stuart


Report •

#5
January 4, 2012 at 00:39:56
Yes Jefro both are the 32 bit machine.
Not recognize means windows 7 is saying unknown format for exe.

StuartS,
I tried both the way- copied manually by using USB; also tried with installer (MSI).
Yes it is using some other DLL also; Now suspect those DLLs are causing the issue.
Thanks for your advice...will update you on the same.


Report •

Ask Question