Try what Microsoft writes in http://support.microsoft.com/kb/330135
Luckily, you don't need autoplay to install it. Just run the setup program from the cd.
And be sure to fully uninstall Office 2007 before reinstalling the 97 version again. But why should you?
Using XP Pro SP3 Pentium D, I installed Windows 2007 Pro (with Publisher) that overwrote OFFICE 97 Pro to resolve MS Word pdf files conversion issues with graphics. That was an attempt to flip Word text in a final tent object configuration.
Sorry to say that did not happen so I am planning to reload OFFICE PRO 97. The Auto Play function does not come up anymore and I have been using the HD to load S/W. How can I get back the convenience of Auto play?