Installing the CML Sample Files

There are two possible sources for the CML sample application files:

If you are installing the CML application from the Web, follow these steps:

To install the CML application files from the Web

  1. Connect to the Microsoft Platform SDK download site at http://msdn.microsoft.com/developer/sdk/bdg.asp.
  2. Under Download the BDG Sample Applications, click Download the Corporate Media Library sample application.
  3. If you see an Internet Explorer dialog box that lets you choose whether to run the program from its current location or save it to disk, click Save this program to disk.
  4. In the Save As dialog box, move to a folder into which you want to download the sample application, and click Save.
  5. Using Windows Explorer, find the folder where the downloaded .exe file was saved, and double-click it. The .exe file self-extracts, populating the folder with the CML application's files and folders. By default, these files are extracted into the Inetpub\Wwwroot\FmLib folder.

If you are installing the CML application from a CD, follow these steps:

To install the CML application files from a CD

  1. Open Windows Explorer.
  2. Find the Samples\FmLib folder on the distribution CD and copy it to the \Inetpub\Wwwroot 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
CML.dll ..\FmLib\Component\x86
CMLC.dll ..\FmLib\Component\UserInfo\x86
CMLC.cab ..\FmLib
Msderun.dll ..\FmLib\Component\x86
SQL scripts ..\FmLib\SQL Scripts
CML ASP files various subfolders of FmLib
FmLib sample data tables ..\FmLib\Data

After you have copied the FmLib application to your hard disk, you need to register its COM components. Use the following procedure.

To register the FmLib components

  1. Using a command prompt open the folder containing the CML.dll component, Inetpub\Wwwroot\FmLib\Component\x86.
  2. Type regsvr32 CML.dll.