How to verify a ModelMaker Code Explorer installation?
This document explains how to verify your ModelMaker Code Explorer installation and how to solve installation problems.
Applicable to versions MMX 1, 2, 3, 4, 5 and 6.x The text assumes a MMX 6.x installation, substitute 1, 2, 3, 4, 5.x where applicable.
Directories and files
You should have these directories (actual path names depending on your actual install dir / drive)
- C:\program files\ModelMakerTools
The root directory, does not contain files - C:\program files\ModelMakerTools\Midex\6.00
Or whatever version or you installed. Contains all explorer related files such as mmx_bds5.dll.dll, the user manual etc.
If any of these directories or files is missing you need to run the installer again.
Registry settings: HKEY_LOCAL_MACHINE
You should have these keys:
- HKLM\Software\ModelMaker\midex\6.0
containing at least a string value named InstallDir pointing to the actual install path. For example: "C:\program files\ModelMakerTools\Midex\6.00" (omit quotes).
If any of these keys / values is missing, you may either run the installer again or manually add them. Make sure you enter the correct directory names.
Registry settings: HKEY_CURRENT_USER
You should have these keys:
- HKCU\Software\ModelMaker\Shared\Templates
containing values that are the registered templates. For example:
value name=Array Property
value string data="C:\Program Files\ModelMakerTools\Shared\Templates\ArrayProp_List.pas",Wizards
This key and it's values are non-essential for ModelMaker Code Explorer. Registering a new code template will auto create whatever is missing.
You do not need any keys or values in HKCU\Software\ModelMaker\Midex\6.0 or any of its sub keys
Delphi IDE Integration
The ModelMaker Code Explorer installer integrates the explorer with all installed Delphi IDEs. To change integration at a later time, use the explorer | Properties | IDE Integration tab (only available in MMX 4.01 and higher). On the download page a utility is available that for the same purpose. Changing IDE integration settings requires restarting Delphi.
Technically Delphi IDE integration is for each Delphi IDE done through a string value in HKEY_CURRENT_USER.
HKCU\Software\Borland\Delphi\5.0\Experts - for Delphi 5
HKCU\Software\Borland\Delphi\6.0\Experts - for Delphi 6
HKCU\Software\Borland\Delphi\7.0\Experts - for Delphi 7
HKCU\Software\Borland\BDS\3.0\Experts - for Delphi 2005
HKCU\Software\Borland\BDS\4.0\Experts - for Delphi 2006
HKCU\Software\Borland\BDS\5.0\Experts - for Delphi 2007
For each Delphi version installed you should find a string value named MidexExpert " Correct spelling is essential to avoid problems with future installs! The string data should point to the actual explorer dll as found in the MMX install directory. For example (Delphi 5)
value name =MidexExpert
value string data =C:\program files\ModelMakerTools\Midex\6.00\Midexd5.dll
The dll names for the other Delphi IDEs are: midexd6.dll, midexd7.dll, mmx_bds3.dll, mmx_bds4.dll, mmx_bds5.dll
If ModelMaker Code Explorer is not loaded by Delphi - no menu item visible in the IDE View menu - , this is caused by a missing MidexExpert value for that IDE. You can manually add the value. Make sure you define the correct dll for that IDE.


Entity Insight