Age of Mythology msxml 4.0 is not installed correctly

Age of Mythology requires MSXML 4.0 to run properly. If you don’t have it installed you will encounter the following error when trying to start the game:
"MSXML 4.0 is not installed correctly. It is required to run the game."

MSXML 4.0 is a set of services that allow applications written in JScript, VBScript, and Microsoft development tools to build Windows-native XML-based applications. To fix this error you simply need to to download and install MSXML 4.0 from the Microsoft website:

  1. Download msxml.msi. Go to this Microsoft support page:, click Download and download msxml.msi
  2. Run msxml.msi with Windows XP Service pack 2 compatibility. Right click on your msxml.msi and select properties. Select the compatibility tab and run the program under Windows XP (Service pack 2) compatibility. Once this is done double click on msxml.msi to install MSXML 4.0.
  3. Restart your computer. Restart the computer when you are prompted and try starting the game again.

IF AND ONLY IF after installing msxml.msi and restarting your computer you still experience this error there’s an alternate solution you can try:

  1. Download msxmlcab.exe. Go to this Microsoft support page:, click Download and download msxmlcab.exe
  2. Run msxmlcab.exe. When the download is complete double-click msxmlcab.exe. When you are prompted, select the desktop as the location for the extracted file. Then, click OK.
  3. Extract Msmxml 4 into your System 32. On the desktop, right-click the file, and then extract the new files to the desktop. Copy the files that are extracted in step 3 to the following folders:

    Note – Only 64bit Windows users will have the SysWOW64 folder.
    Note – In this path, <drive> represents the drive on which the operating system is installed.
  4. (Optional) Register the MSXML 4 dll. Click Start Start button, and then click Run. In the Run box, type:
    regsvr32 MSXML4.dll
    and then click OK. If everything worked, you should receive the following message:
    DllRegisterServer in msxml4.dll succeeded.
    Note – this will likely NOT work on 64bit Windows, but also may not be necessary.
  5. Restart the computer and try starting the game again.

For a full list of instructions you can check out the official Microsoft post on this error here. If you have any trouble installing MSXML 4.0 or are still experiencing this error, please post as much information as possible, including what you’ve tried already and what operating system you currently have installed.

    August 16, 2013 at 1:46 am

    It’s still not working no matter how many times I download it. It still comes up with the same problem

      Just to clarify, you’ve done the following steps:

      1. Click Download and select msxml.msi from here
      2. Run the msxml.msi installer by double clicking it (and it installed successfully)
      3. Restart your computer and try starting the game again

      If the answer is yes and you’re still getting the “MSXML 4.0 is not installed correctly. It is required to run the game.” error. Please specify which operating system you’re using and which video card you are using. From some very quick googling it seems that if you are on Windows 8 you MAY need to also download and install MSXML 6 from here as well though I’m skeptical.

      For a full official Microsoft solution to the problem see this Microsoft Support Thread. Best of luck!

        kim andre
        August 23, 2013 at 11:49 am

        it wont dowload… what am i doing wrong?? :(

          What won’t download? msxml.msi? I just tried downloading using this link and it downloaded fine.

          Are you trying to download on Windows 8? Also which country are you trying to download from, perhaps that matters.

    September 17, 2013 at 2:01 pm

    Everything I try to do with MSMXL installnation it always stops at Publishing Product Information, any help?

      September 17, 2013 at 2:23 pm

      Okay So I got that fixed, but I tried it with 6 it didn’t work, again, and I finally got MSXML4 into the system32 directory but now it tells me that it’s not compatible with windows 8

        Just to clarify, have you tried downloading and installing MSXML 6.0?

        You might not be able to install 4.0 on a Windows 8 machine, so try installing 6.0 first and running the game. If it doesn’t work can you post the error message that you get? Also if it doesn’t work be sure to check this support post for MSXML 4.0 from Microsoft.

        November 2, 2013 at 2:54 pm

        i had the same problem how did you fix it

          Run msxmlcab.exe to extract the dll and then copy MSXML4.dll into these folders:

          Once this is done try starting Age of Mythology again.

    for the ppl who didn’t worked this, try selecting in compatibility (right click on the shortcut, then properties) ande select compatibility for windows xp service pack 2, or something similar (it is all right if it has something to see with windows xp) and then tick the tab, that worked for me

      Thanks for the tip! I’ll add it to the steps above

    October 4, 2013 at 6:29 am

    i have installed msxml4.0. in windows 7 but same problem comes when i run the game. it starts for sometime and after that it hang my computer what should i do now???

      My immediate guess for that would be either that your anti-virus is interfering with Age of Mythology or that you have a hardware issue. If the game hangs after a few minutes, something in your computer may be overheating/your power supply may be failing.

      What video card are you running, and have you had problems like this with other games?

    October 26, 2013 at 1:59 am

    Hi! , i’m type regsvr32 MSXML4.dll at RUN MENU , and appear The Module ” MSXML4.dll ” may not compatible with the version of WIndows that you’ re running.check if the module compatible wuth an x86 (36-bit) or x64(64-bit) version of regvsr32.exe ! help i need solution you! :( , my operation system : Windows 7 Ultimate : x64 (64-bit) , help me!

      If you couldn’t install the game via msxml.msi for 64 bit machines you have to do an extra step. Copy paste the MSXML4.dll file which should already be in you C:\Windows\System 32 directory to your C:\Windows\SysWOW64 directory. You may not even have to run the regsvr32 command for this to work.

      Try that, try starting the game, and let me know if it works! I’ll update the post for other 64 bit users.

      Sabine M Martinez
      December 31, 2016 at 11:24 am

      I also have Windows 8.1 but nothing works. What all did you do to make it work?

    January 10, 2014 at 3:59 pm

    Hi, i have MSXML4.dll file is in both C:\Windows\System 32 directory and also in my C:\Windows\SysWOW64 directory. (and have tried all of the instructions above) but when i try to start the game (age of empires III) a pop up says “error MSXML 4.0 is not installed correctly. It is required to run the game”. I have also enabled the game viz my firewall and still the same error message appears? help? I am using windows 7 (my control panel says “flash player is 32-bit” but says “system type: 64-bit operating system”? help please :)?

      The firewall likely isn’t an issue, instead there is probably something wrong with the way you installed MSXML4. Have you tried using the installer (msxml.msi) instead of extracting the files manually? Also when you extract the files manually there are two dlls (msxml4r.dll & msxml4.dll), make sure you copy both to your System 32 and SysWOW64 directories and then restart your computer and try again.

        January 22, 2014 at 10:07 am

        I have tried both manual and using the msxml.msi. I’m still having the same issue. I’m running windows 7 64bit. Super annoying. Any simple fix for this?

          January 26, 2014 at 5:56 pm

          Yes so have I and I still have not found a solution yet.?

            Hmm I’m not sure. I have 64 bit Win 7 and haven’t had any problems like this. A few more questions:

            1. Have you guys also registered the DLLs after copying them into the directories? If so which commands did you use? It appears that if you’re on 64 bit windows you have two version of regsvr32, and you’ll have to use the right one or the process will fail. See this post for more details:
            2. Though I’m skeptical that this would actually help, try the clean boot procedure mentioned in the Microsoft support page:
    William A.U.
    December 4, 2014 at 6:42 pm

    Awesome. Thanks a ton for the tutorial.. It worked. I nearly gave up when I failed numerous times no thanks to a outdated version of the msi setup. The compatibility setting change worked.

    January 5, 2015 at 4:43 pm

    I have a different problem… The game starts well, with the video and everything, and then, the blue loading bar appears, and apparently loads everything. But then the screen goes black and I can’t do nothing because I can’t see the menu. Can U help?

    August 10, 2015 at 10:18 am

    thanks for help

    Darcus Manian
    September 12, 2015 at 2:59 am

    when i tried to install msxml appear to have been to solve this problem…sorry sucks english…please respond..

    September 14, 2015 at 1:17 pm

    I wonder if you can help me…I have age of mythology and titans expansion both of which I can’t play now due to windows in their infinite wisdom upgrading my laptop to windows 8.1(was 8)…I tried system restore then downloading msxml.4 and 6 didn’t work…all I get now is …please login with administrator privileges and try again…..WHAT DOES THIS MEAN!!

    October 17, 2016 at 2:59 am

    will it work on windows 10?

      would like to know this myself

        I just tried it on my Windows 10 install and MXSML 4.0 installed without complaint. Are you seeing any errors when you try to install it?

    Sabine M Martinez
    December 31, 2016 at 11:22 am

    I have Windows 8.1 and can’t play this Game. I tried MXSML 4.0 and I received error message. I tried MXSML 6.0 and also received error message. This sucks….

      Hi Sabine,

      What kind of error message did you see when you tried to install MSXML 4.0? I’ve been able to successfully install it on my current OS (Windows 10 Pro) and was able to install it on Windows 7 as well but I know some people have been unable to install it. An exact error message might help others narrow down the cause of the problem.


    June 13, 2017 at 11:22 pm

    is this msxml4.0 works on windows 8?

    April 2, 2018 at 12:05 pm

    thanks man, working !

Leave a Reply

Play nice
>> All posts, unless specified otherwise, are original and created solely for The Game Engine. Please credit anything you use or reference from this site.
Was this site helpful?
>> The Game Engine is a non-profit personal project. Please consider a small donation so we can keep helping you with your games.