It depends on which I SPY title you have. The reliable answer is printed on the box — turn it over and look at the system requirements along the bottom, and it will list the supported versions of Windows.
If your copy predates Vista, it may still work, since Vista retained a good deal of compatibility with earlier Windows releases. If it does not, running the installer in compatibility mode for the original operating system is usually enough to get it going.