Office XP was not properly uninstalled.
I would take the following approach:
1. Totally uninstall Office 97.
2. Take a look at MSFT KB articles 158658 and 254250, which explain how to
completely remove Office 97.
3. Next, totally uninstall Office XP using Add/Remove Programs. There may
also be a KB article on how to completely uninstall Office XP, but I've
never looked for it.
4. Then install Office XP. Don't bother with Office 97.
If you continue to have problems installing Office XP, I would suggest
calling MSFT for installation help.
; See Howard Kaikow's web site.