Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have few installer executables which are 32 bit versions. When i tried to install those programs by executing on Windows-7 OS, it gave following error:

The version of this file is not compatible with the version of windows you are running. Check you computer's system information to see if u need a x86(32-bit) or x64(64-bit) version of the program.
  1. Does this mean older 32 bit version executables cannot run on Windows-7 64 bit OS?

  2. How can i get older 32 bit version executables running on Windows-7?

  3. If i generate some executable by compiling a C file using MS-VS2005 on a Windows-7 64 bit system, what version that generated executable would be, 32 bit or 64 bit?

Thanks,

-AD

share|improve this question
    
Are you sure they are not 16-bit executables? –  Hello71 Jun 30 '10 at 19:04
    
Since that's exactly the same error message as when I try running any .com file... –  Hello71 Jul 3 '10 at 1:47

2 Answers 2

up vote 0 down vote accepted

Does this mean older 32 bit version executables cannot run on Windows-7 64 bit OS?

Generally 32bit executables just work. However it is possible for the programmer to hard code version limits (or check the version incorrectly).

How can I get older 32 bit version executables running on Windows-7?

It depends why it is failing. Opening the exe's properties in Explorer and making selections on the Compatibility tab is the simplest approach. MS have more sophisticated compatibility tools which can provide all sorts of behaviour overrides.

If i generate some executable by compiling a C file using MS-VS2005 on a Windows-7 64 bit system, what version that generated executable would be, 32 bit or 64 bit?

It depends on the project settings. The Windows SDK C/C++ compiler has supported 64bit for quite some time.

share|improve this answer
    
Thanks for pointers. Changing the settings in Compatibility Mode tab for the file in questions, did not resolve the issue. So now what more i can try to get it working? –  goldenmean Jun 30 '10 at 10:16
    
@goldenmean: Are you running an edition of Win7 that supports XPMode? If yes then use that. Otherwise you'll need to work out why the application is failing, and this can be very hard. –  Richard Jul 1 '10 at 7:05

Alternatives of running 32 bit exe would be to install a virtual machine and installing 32bit os in. not sure if there is other alternatives.

I suppose it is based on what you program in that c program that affect whether it affect being run in either 32bit or 64bit os. and would thus most probably be running in 32bit only.

take a look at this MSDN

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.