Hi,
First I check the compatibility in Windows 7 Compatibility Center website. Except for the Age Of Empires III Gold Edition, most editions of this games should be working well in Windows 7.Meanwhile, what is the exact symptom when the game went crazy? Better keep all the drivers up to date from the menufacture's offical website, especially the display card driver. We need your system information, 32 bit or 64 bit, model of the pc, display card.
As you did an upgrade to windows 7, it is suggested to remove the game and reinstall it.