Hi mickeycapp3,
Welcome to the HP Forums! I see that you are having some problems reinstalling your software. I know that you were trying from the CD. Here is a link to the Photosmart 5520 software. Try installing that. Before you try installing the downloaded software we will look at doing a un-register and re-register of the Microsoft Installer in case that is what is causing the problem. Go this Microsoft Support page and scroll to Method 1 this will show you how to do it. Let me know how it goes.
Thank you,