You are unable to install VMware Tools in an Ubuntu or Solaris guest when the guest CD-ROM drive is locked. The contents of the VMware Tools ISO image seem wrong or corrupted.
With some guest operating systems, including Ubuntu Linux and Solaris, you might encounter problems installing VMware Tools when the guest CD-ROM drive is locked. The guest is prevented from noticing media changes and thus reading the VMware Tools ISO image in the guest's virtual CD-ROM drive.
To work around this problem:
Eject the CD-ROM from within the guest and retry the VMware Tools installation.