My Hp DVD / CD RW is not reading prog

My Hp dvd writer 300i will burn cds and dvds but when I need to install a program it tells me error “Only part of a read/write process memory was completed” now we have tried switching the cable from master to slave and the jumper to master, slave, and cable none seems to work. HELP!!! PLS.

I have a: