What version of Microsoft Office was on D: ? And what version are you attempting to install?
(Office 360, Office 2010, Office 2007, Office 2003)
Did you actually run uninstall or did you simply delete the folder?
You could also try running the
Microsoft Fix-it for Install/Uninstall.