Downloading and Installing the PT Admin Sample Files
Because the PT Admin application is designed to be an administrative tool, it should be installed on the Internet Information Server (IIS) Administration Web Site rather than the IIS Default Web Site The following instructions describe how to perform this installation.
Note that if you install the application on the IIS Default Web Site, you do not need to determine the number of the port. The port number used for the IIS Default Web Site always defaults to 80.
There are two possible sources for the PT Admin sample application files:
- The Microsoft Platform SDK site on the World Wide Web.
- A distribution CD containing the PT Admin application files and sample database files.
To install the PT Admin application files from the Web
- Connect to the Microsoft Platform SDK download site at http://msdn.microsoft.com/developer/sdk/bdg.asp.
- Under Download the BDG Sample Applications, click Download the Performance Tracking Administration sample application.
- An Internet Explorer dialog box will appear that lets you choose whether to run the program from its current location or save it to disk. Click Save this program to disk.
- In the Save As dialog box, navigate to a folder into which you want to download the sample application and click Save.
- Using Windows Explorer, find the folder where the downloaded .exe file was saved (the folder you specified in step 4), and then double-click the file. The .exe file self-extracts, populating the folder with the PT Admin application's files and folders.
Note The default location into which these files are extracted is the %systemroot%\system32\inetsrv\PT folder.
To install the PT Admin application files from a CD
- Open Windows Explorer.
- Navigate to the Samples\PT folder on the distribution CD. Copy the folder to the %systemroot%\system32\inetsrv folder on your hard disk.
For both Web and CD installations, the following files will be copied to the locations indicated.
File name or type |
File installation location |
LitWare.dll |
..\PT\vbComponent\x86 |
NLS.dll |
..\PT\nls\x86 |
SQL scripts |
..\PT\SQL Scripts |
PT scripts |
..\PT\Scripts |
PT Admin sample data tables |
..\PT\Data |
After you have copied the PT Admin application to your hard disk, you need to register its COM components. To do so, use one of the following procedures:
To register the PT Admin components
- Click Start, point to Programs, and then click Command Prompt.
- Using a command prompt, open the folder containing the LitWare.dll component, which is defaulted to be:
%systemroot%\system32\inetsrv\PT\vbComponent\x86.
- Type regsvr32 LitWare.dll.
- Using a command prompt, open the folder containing the NLS.dll component, which is defaulted to be:
%systemroot%\system32\inetsrv\PT\nls\x86.
- Type regsvr32 NLS.dll.
- Close the Command Prompt window to exit.