Registry value (or file) that contains OS version
Posted on 2008-06-12
I am a software tester, and I have a software program that was built for Windows XP and specifically looks for XP SP2 when it installs. If it does not find XP or SP2, the front-end installer program stops the install. This program will eventually make its way to Windows Vista, so my goal is this:
I'd like to "trick" this front-end installer into thinking it is on Windows XP SP2, so that the program at least attempts to install itself. I realize the implications of doing this, but I'd like to attempt it anyway.
So my question is: does anyone have any insight into where in the registry (or a file) that applications usually query to find out the current version? I've searched through the Vista registry for any instance of XP or the current OS build number (got the build number by running winver on an XP machine) and changed all of these to reflect an XP build. Is there a program out there that does this? I've also ran the installer in compatibility mode.