The registry file for Windows 98/ME works fine under XP (the target folder needs to be edited to list the path you installed the game to). The install program should have taken care of that, though, unless you did not install it from an account with administrative privileges.
In Regedit, check to see if you have anything under;
HKEY_LOCAL_MACHINE\Software\CDV Software Entertainment AG\Divine Divinity