I am looking for information on how the API VerifyVersionInfo determines the OS and Service Pack level. I need to know which registry settings (or anything else) the API uses so I can fool an installer.
I have an application with an installer that will only work with XP SP2, but I would like to have the installer work with XP SP3 also. My idea was to create a script which will be ran XP SP3 systems prior to the applications installation which switches the registry settings the VerifyVersionInfo API uses to XP SP2 values. After the application is installed, I would just run another script to return the registry settings back to their original XP SP3 values.
Thanks in advance for the help.