Previous in Contents Next in Contents

Distribution for Netscape Navigator

The procedure for installing the CPC DLL is somewhat different for users of Netscape Navigator. To support these users, build a self-extracting executable file for download. The program that extracts files from .cab files, EXTRACT.EXE, will automatically extract the files in that .cab file (and any subsequent .cab files) if it has been prefixed to the first .cab file.

To build a self-extracting executable file
  1. Create a .cab file (or set of .cab files) as described previously.
  2. At a command prompt, prefix EXTRACT.EXE to the first .cab file (do not prefix EXTRACT.EXE to any other .cab files in the set).
  3. Distribute the self-extracting .cab file (and any subsequent .cab files).

For example:

C:> diamond /f cpcplugin.ddf        ; Build CAB file set cpcplugin.cab
C:> copy /b extract.exe+cpcplugin.cab cpcplugin.exe        ; cpcplugin.exe is self-extracting

Create a link on your Web page to the self-extracting executable for users to download. For example:

<html>

<head>
<title>Standard Client Payment Component Install</title>
</head>

<BODY>
<h2> <align=center><a href="cpcplugin.exe">Install Client Payment Component DLL</a> </h2>
</body>

</html>

Next, you must create a setup program that installs the files to their appropriate directories and registers them.

For information about .cab files and self-extracting archives, see the following Web site:

http://www.microsoft.com/workshop/java/cab.htm


© 1997-2000 Microsoft Corporation. All rights reserved.