XiaLab at University of Ottawa

Skip Navigation Links

DAMBE for Windows

Please cite:

Xia X. 2018. DAMBE7: New and improved tools for data analysis in molecular biology and evolution. Molecular Biology and Evolution 35:1550–1552.

Installation instructions:

  1. The installation instruction here is for Windows, but you can also run DAMBE on Linux or Macintosh computers.
  2. If you have installed a previous version of DAMBE, please uninstalled it before installing the new version by clicking

    Start|Settings|Control Panel|Add/Remove Programs

    and proceed to remove DAMBE completely. Check C:\Windows\System32 to make sure that DllWithDialog.DLL is deleted (and manually delete it if it is not) before installing a new version of DAMBE.

  3. Please download one of the following installation packages and click it to install DAMBE. There will be a number of DNA sequence files in the installation directory. Note that I have used different file extension (or type) to designate different data files for different programs. It is always a good practice to use one particular file type to designate one particular file format.
  4. Tips for computer managers of teaching labs

Some of DAMBE's functions do not work with files in OneDrive. You should copy the files to a local folder and read the files into DAMBE from the local folder.

You may encounter error messages such as “Error number 339 component comdlg32.ocx or one of its dependencies is not correctly registered – a file is missing or invalid”) (where the bolded file may be another file name, such as comctl32.ocx, msinet.ocx, richtx32.ocx, etc.). If this happens, follow the procedures below:

  1. If the error message involves mscomctl.ocx, or comctl32.ocx. Download Update_mscomctl.ocx_comctl32.ocx.exe and install it.
  2. If the error message involves comdlg32.ocx, comctl32.ocx, richtx32.ocx, or msinet.ocx
    • Check if comdlg32.ocx, comctl32.ocx, richtx32.ocx or msinet.ocx is in the C:\Windows\System32 directory (for 32-bit Windows) or the C:\Windows\SysWow64 directory (for 64-bit Windows). If not, download comctl32.ocx, comdlg32.ocx, richtx32.ocx or msinet.ocx to C:\Windows\System32 (32-bit Windows) or C:\Windows\SysWow64 (64-bit Windows). You may need to download to another directory and then copy them to C:\Windows\System32 or C:\Windows\SysWow64 directory. If they are already there, leave them there and DON’T copy over them.
    • Run cmd.exe with Administrative privilege (e.g., right-clicking cmd.exe and click “Run as Administrator”). Once you see the command prompt, change directory to C:\Windows\System32 or C:\Windows\SysWow64, and type at the command line:
    • regsvr32.exe /u COMDLG32.OCX
      regsvr32.exe /u richtx32.ocx
      regsvr32.exe /u msinet.ocx

      regsvr32.exe C:\Windows\System32\COMCTL32.OCX (for 32-bit Windows)
      regsvr32.exe C:\Windows\System32\COMDLG32.OCX (ditto)
      regsvr32.exe C:\Windows\System32\richtx32.ocx (ditto)
      regsvr32.exe C:\Windows\System32\msinet.ocx (ditto)

      regsvr32.exe C:\Windows\SysWow64\COMCTL32.OCX (for 64-bit windows. Yes, full path needed even if you are in the SysWow64 directory.)
      regsvr32.exe C:\Windows\SysWow64\COMDLG32.OCX (ditto.)
      regsvr32.exe C:\Windows\SysWow64\richtx32.ocx (ditto.)
      regsvr32.exe C:\Windows\SysWow64\msinet.ocx (ditto.)
(Contact me at xxia@uottawa.ca if you have any problems. I typically answer user queries right away by email.)
© 2016. XiaLab. All Rights Reserved.
Visits since Feb. 8, 2018: 34087