Need more detail to troubleshoot this properly.
Let's start with the basics...
- You're trying to install which upgrade version of Photoshop exactly?
- Is your CS5 a Creative Suite or standalone Photoshop?
- You enter the upgrade serial number. The installer asks you to enter the serial number from an earlier qualifying product
- From which version is the qualifying serial number that is being rejected? Suite or Standalone?