previousupnext

7 Installing LeapHeap

Perform the steps below to install LeapHeap on your machine. If you encounter any problems, refer to the subsections to learn more. Installing LeapHeap is a carefree process; installation is easy to repeat or undo. Familiarity with the Windows NT user interface and the registry editor is assumed.

  1. Log in as administrator
  2. Unzip the files in the LeapHeap download to a new directory on your hard drive (say C:\LeapHeap). It does not matter what the directory is called, except it should be visible to all accounts of a multi-user configuration.
  3. Run the program 'InstallLeapheapRegistry.exe' by double-clicking it in Windows Explorer. It will take a second or so to complete.
  4. Run the program 'InstallLeapheapFiles.exe'. This should take about a minute, during which messages about the files it is copying or skipping will be written to the screen.
  5. Shut down and restart the machine. LeapHeap is now installed, however the remaining steps are recommended for first-time users.
  6. Copy the Internet Explorer executable 'iexplore.exe' to the LeapHeap directory. This file may be sited in one of several places, and is best located using the Tools-Find menu option in Windows Explorer.
  7. If the Operating System is Windows Server 2003, create a subdirectory named 'iexplore.exe.local' under the LeapHeap directory; copy the DLLs in the LeapHeap directory into this subdirectory. If the Operating System is Windows 2000 or XP create a file named 'iexplore.exe.local' in the LeapHeap directory; the content of the file is irrelevant.
  8. Close the browser you are using to read these instructions (it does not matter whether it is Internet Explorer or another browser), start the copy of Internet Explorer that is in the LeapHeap directory, and navigate back to this page.
  9. Start the registry editor and navigate to the key:
    HKEY_CURRENT_USER\Software\LeapHeap\iexplore.exe\Log
    If it does not exist something has gone wrong. Otherwise verify that the current date and the time you started Internet Explorer are shown in the LastExecutedAt value.
  10. Run the confidence test program 'HeapTest.exe'. This takes a few minutes. It runs in three phases, the progress of which is reported to the screen. With Windows 2000 or XP, you must first create a 'heaptest.exe.local' file; with Windows Server 2003, a populated subdirectory.

Congratulations, you are running your first LeapHeap-enhanced application!


7.1 How InstallLeapheapRegistry Works
7.2 How InstallLeapheapFiles Works
7.3 The Confidence Test
7.4 Running an Application
7.5 Uninstalling LeapHeap