1. Add the PureCoverage product and cache directories to your system PATH environment variable. (For a system service, it is important to add these directories to your system PATH, not just your user PATH. Some systems require you to be an administrator to change these variables.)
2. Reboot your machine so the system uses the new value.
3. Instrument Internet Information Server (IIS) without running it. To do this, from the command prompt where the program is located (for example, C:\Winnt\System32\Inetsrv), type:
coverage /Run=no /Out=inetinfo_pure.exe inetinfo.exe
4. Use Regedit.exe to edit the ImagePath registry value. Go to \HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services, press F3 to search for service values that contain Inetinfo.exe, and change the value to the fully qualified file name of the instrumented IIS. For example, if Inetinfo.exe is installed in C:\Winnt\System32\Inetsrv, you would type:
C:\Winnt\System32\Inetsrv\Inetinfo_pure.exe
(Some systems require you to be an administrator to change these keys.)
Note: When you search for service values, note the corresponding DisplayName value. These values are seen in the Services control panel, used in a later step. Commonly used services include FTP Publishing Service, IIS Admin Service (or Gopher Publishing Service, if you're using IIS 3.0), World Wide Web Publishing Service, and Microsoft SMTP Service.
5. Double-click the Services icon in the Control Panel and select each service that you changed in Step 4.
6. Stop the services and then click Startup (for NT), or Properties (for WIndows 2000).
7. In the Service dialog box, select Allow Service to Interact with Desktop. (This way, PureCoverage is visible while you run the service.)
8. Select Manual, and then click OK.
9. Use the Task Manager to verify that Inetinfo.exe is not running (if it is, reboot your machine).
10. Select the World Wide Web Publishing service and then click Start. This launches the instrumented service application, which launches PureCoverage. The service will time out, displaying an error dialog box, as PureCoverage instruments the DLLs that IIS loads; click OK to ignore this error dialog box. If PureCoverage displays instrumentation warnings regarding DLLs in use, click OK to ignore these warnings. After many DLLs are instrumented, the Services panel will eventually display Started next to the web publishing service. PureCoverage is now monitoring Internet Information Server.
11. When you have finished monitoring, reset any registry keys you changed in Step 4.
(C) Copyright IBM Corporation 1993, 2010.