How to fake OS bit version check on some software

I have an application which has detection of my windows version. And it only goes through when it checks that its 32-bit version. As far as I know that my Windows 7 64-bit has compatibility to run 32-bit application, but how can I cheat/fake program to pass that check? :)


Solution 1:

Why would a piece of software care if it's on 64-bits if it's designed for 32? It should work regardless if it's on 64 or 32 bits. Are you sure it's not the Windows version check that fails over being on Windows 7? I've had this for some driver-setups for my Asus motherboard, they claimed to be not compatible with Windows 7, but would work on Vista. Easily solved by setting the compatibility mode for the installer (right click on the program -> properties -> compatibility tab, and choose which windows version it should emulate).