11 August, 2009

(Re)Installation of EurekaLog

The new RC is going out today, so I decided that it’s perfect time to write about (re)installation process. Some of you may have troubles with it, while most other don’t.

Okay, to make a clean reinstall in case of any problems, you should do the following:
  1. Close all opened Delphi/C++Builder instances.
  2. Uninstall all installed EurekaLog versions.
  3. Remove all folders containing the ExceptionLog.* or ?ExceptionExpert.* files.
  4. Remove EurekaLog installation folder (it is "C:\Program Files\EurekaLab\EurekaLog 6" by default).
  5. Delete all dcu files, related to your project (you already should have deleted dcu files related to EurekaLog on previous step).
  6. Download the latest EurekaLog version (or RC version, if you like).
  7. Install EurekaLog under the same user account (*). I.e. if you run/work in Delphi under "User1" account - then run installer under "User1" account, not "User2".
  8. Note, that there should be your Delphi version present during installation process. I.e. if you have Delphi 7 and Delphi 2009 installed, the EurekaLog's installer should show you both options (switches) during installation.
  9. Restart your PC.
(*) If you need to install EurekaLog under different user account (this can be admin/non-admin case or if you use some build tool, which runs compiler under different account) - then follow these workarounds.

If installer gives you some error, then make sure that anti-virus or any other scanner does not interfere with unpacking files (for example, AV can block access to files due to false-positive alert). Try to clear your %TEMP% folder. Check if you have enough free disk space. You should also try to run installer under admin account (run it elevated under Vista or later Windows versions). And, finally, install all available Windows updates via Windows Update.

If you do not see all installed Delphi versions in installer - then probably your Delphi installation was somehow corrupted and installer do not see your installations. Try to reinstall or repair your Delphi installation.

After installation: check if there are appropriate subfolders in EurekaLog installation directory. For example, if you have Delphi 7 and Delphi 2009 installed, then there should be 2 sets of folders in C:\Program Files\EurekaLab\EurekaLog 6 (substitute with your installation path): one for Delphi 7 and another for Delphi 2009.

If you still do not see EurekaLog in Delphi's IDE after installation (and you DID check appropriate switch and there IS subfolder for your Delphi's version) - check your package settings. Open IDE and go to "Component"\"Install Packages". See if there is EurekaLog package and it has a checkbox marked. If checkbox is unchecked - then switch it on. If there is no EurekaLog's expert package - then click on "Add" button and pick a package from EurekaLog's installation directory (please, pick up the proper package, which corresponds to your Delphi's version).

If you see EurekaLog's options in IDE, but (after enabling EurekaLog for project) compiler says that ExceptionLog file is not found - then add C:\Program Files\EurekaLab\EurekaLog 6\DelphiXX folder to your library path (Tools\Options\Library), where XX indicate your Delphi version (C++ Builder have the similar paths).

If you have too many installed components or 3rd party extensions - you %PATH% environment variable may become too large. The limit on environment block could prevent some packages from being loaded in IDE. Try to uninstall unused components and libraries.

Hope this tiny post will help you to resolve your installation issues :)