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.
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