It sounds like windows is applying a compability fix to the setup file in error and telling it that it is running on an older operating system. This often happens when you run an installer and then afterwards you get asked if it ran correctly. If you answer no then it applies a fix.
If you right click on the installer exe and pick properties you should check nothing is set on the compatibility tab. Renaming the installer exe should also bypass this 'helpful' Windows feature.