***********************************************************
              Deploying Delphi Applications
***********************************************************

Please read this entire file before deploying Delphi 4 app-
lications, components, or libraries. This file is provided
pursuant to the INPRISE No-Nonsense License Statement and
provides information on deploying Delphi 4 applications.

Table of Contents
===========================================================

  1.  General Application Deployment
  2.  Components and Packages
      2.1 Distributing Custom Packages
      2.2 INPRISE Runtime Packages
      2.3 Runtime packages: Client/server and Enterprise
      2.4 Runtime packages: Professional Edition
      2.5 Runtime packages: Standard Edition
  3.  The Borland Database Engine (BDE)
  4.  ActiveX Controls (OCXs)
  5.  Sample Images
  6.  InterBase Deployment
      6.1 Applications that use the 32-bit Local InterBase
      6.2 The 32-bit four-user InterBase Server
      6.3 The 16-bit Local InterBase
  7.  Multi-tiered Distributed Application Services (MIDAS)
  8.  VisiBroker
  9.  SQL Links deployment (client/server applications)
      9.1 SQL Links redistributable files
      9.2 InterBase
  10.  Fractal Image Format (FIF) software
  11. JPEG compression software
  12. Data compression library (zlib)
  13. Delphi Utilities
  14. Removed Or Modified "Redistributable" Files


1. General Application Deployment
===========================================================
Delphi 4 applications do not require a runtime interpreter
DLL. All you have to provide is your .EXE file and any DLLs
or BPLs that it calls. For simple applications you can
distribute a standalone .EXE file. If you have used runtime
packages with your application, be sure to include all
required BPLs with the distribution. For applications that
use the Borland Database Engine (BDE), you must use an
INPRISE-certified installation/deployment utility, such as
InstallShield Express.

If you use InstallShield, treat .BPL (package) files just
like other DLLs. From the Setup Checklist, open Groups and
Files, then click Add Group. You can create a group called
"Packages" for BPLs; to install packages in the
Windows\System directory, choose <WINSYSDIR> as the desti-
nation directory. (We recommend installing .DLL and .BPL
files in the Windows\System directory.) Then click Launch
Explorer to select the .BPL files you want to deploy.


2. Components and Packages
===========================================================
2.1 Distributing Custom Packages
--------------------------------
If you distribute Delphi 4 packages to other developers, be
sure to supply both .DCP and .BPL files. You will probably
also want to include .DCU files as well as documentation.
Package Collection (.DPC) files, created with the Package
Collection Editor, offer a convenient way to distribute all
the files associated with a package or group of packages.

2.2 INPRISE Runtime Packages
----------------------------
In accordance with the General Terms That Apply to Compiled
Programs and Redistributables, you may redistribute
INPRISE-supplied runtime packages only for the purpose of
executing application programs created with Delphi. You may
not modify these packages in any way. By default the
redistributable runtime packages are installed in the
\Windows\System directory (for Windows95) or
\Windows\System32 (for Windows NT).

Although this software may include packages other than
those listed below, only the packages listed below are
redistributable.

You may NOT redeploy INPRISE-supplied design-time-only
packages. You may not recompile or redistribute any
INPRISE-supplied components or libraries for use by other
developers.

Packages that you develop may not have the same names as
INPRISE-supplied packages. If you distribute component
libraries or other packages, it is recommended that you
avoid using the default DCLUSR40 package name, since this
will cause naming conflicts with other developers.

2.3 Runtime packages: Client/server and Enterprise Editions
-----------------------------------------------------------
If you are a licensed user of Delphi 4 Client/server or
Enterprise, redistributable runtime packages include the
following:

  DSS40.BPL
  IBEVNT40.BPL
  QRPT40.BPL
  TEE40.BPL
  TEEDB40.BPL
  TEEUI40.BPL
  TLIB40.BPL
  VCL40.BPL
  VCLDB40.BPL
  VCLDBX40.BPL
  VCLJPG40.BPL
  VCLMID40.BPL
  VCLSMP40.BPL
  VCLX40.BPL

2.4 Runtime packages: Professional Edition
------------------------------------------
If you are a licensed user of Delphi 4 Professional,
redistributable runtime packages include the following:

  IBEVNT40.BPL
  QRPT40.BPL
  TEE40.BPL
  TEEDB40.BPL
  TEEUI40.BPL
  TLIB40.BPL
  VCL40.BPL
  VCLDB40.BPL
  VCLDBX40.BPL
  VCLJPG40.BPL
  VCLSMP40.BPL
  VCLX40.BPL

2.5 Runtime packages: Standard Edition
--------------------------------------
If you are a licensed user of Delphi 4 Standard, redist-
ributable runtime packages include the following:

  QRPT40.BPL
  VCL40.BPL
  VCLDB40.BPL
  VCLDBX40.BPL
  VCLJPG40.BPL
  VCLSMP40.BPL
  VCLX40.BPL


3. The Borland Database Engine (BDE)
===========================================================
Delphi 4 applications that use the Borland Database Engine
(BDE) to effect database access require that you distribute
the BDE with the application.

In accordance with the Additional License Terms for BDE,
you may distribute the BDE files with your application
using an INPRISE-certified Redistributable Install program
such as InstallShield Express or another compliant install
program. You may redistribute only those BDE files selected
by the INPRISE-certified installation program.

See the BDE Links deployment notes in the file
BDEDEPLOY.TXT (found in the BDE directory) for specific
information regarding deploying the BDE with database
applications created in Delphi.


4. ActiveX Controls (OCXs)
===========================================================
Delphi includes ActiveX Controls (OCXs) for use in your
applications:

  o Chart FX, copyright SoftwareFX Inc.
  o VisualSpeller Control, copyright Visual Components,
    Inc.
  o Formula One (spreadsheet), copyright Visual Components,
    Inc.
  o First Impression (VtChart), copyright Visual
    Components, Inc.
  o Graph Custom Control, copyright Bits Per Second Ltd.

The version of each of these OCXs shipped with Delphi may
be redistributed in custom Delphi applications. Such
redistribution is subject to the General Terms That Apply
to Compiled Programs and Redistributables.


5. Sample Images
===========================================================
Delphi includes a library of redistributable bitmap images
normally installed in the subdirectory:

  \Program Files\Common Files\Borland Shared\Images

Delphi also includes a database EVENTS.DB with licensed
images from PhotoDisc. The images in this database are
copyright PhotoDisc, Inc. 1995 and may not be
redistributed.


6. InterBase Deployment
===========================================================
6.1 Applications that use the 32-bit Local InterBase
----------------------------------------------------
Delphi Client/server and Delphi Professional include a
development license for Local InterBase. They do not,
however, include rights for deployment or redistribution of
any InterBase component. To deploy InterBase applications,
you must purchase Deployment Kits; contact InterBase Soft-
ware Corporation for details. See the collateral sheet
(printed information) or the file IBKEY.TXT for additional
information.

6.2 The 32-bit four-user InterBase Server
-----------------------------------------
Delphi Client/server contains the 32-bit five-user Inter-
Base Server for Windows 95. (This server also runs under
Windows NT.) Purchase of Delphi Client/server, however,
does not include deployment or redistribution rights for
any InterBase Server files. Customers who wish to deploy
InterBase Server applications must separately purchase
individual copies of the InterBase Server; contact
InterBase Software Corporation for details. See the
collateral sheet (printed information) or the file
IBKEY.TXT for additional information.

6.3 The 16-bit Local InterBase
------------------------------
Delphi Client/server is shipped with the 16-bit version of
Delphi 1.0, which includes a copy of the 16-bit Local
InterBase and deployment rights for that software. For
information about deployment of the 16-bit Local InterBase,
refer to Section 4b of the DEPLOY.TXT file for Delphi 1.0.


7. Multi-tiered Distributed Application Services (MIDAS)
===========================================================
Delphi 4 Client/server and Enterprise editions include a
development license for the Multi-tiered Distributed
Application Services Suite (MIDAS). MIDAS comprises the
Business ObjectBroker, OLEnterprise, the Remote DataBroker,
and the ConstraintBroker Manager (SQL Explorer). Purchase
of Delphi Client/server or Enterprise, however, does not
include deployment rights for this software. Customers who
wish to deploy applications that use MIDAS must purchase a
separate license for each server on which MIDAS is
installed.

Handle the installation of the executable and related files
for a multi-tier application the same as for general
applications. Some of the files that comprise MIDAS may
need to be installed on the client computer and others on
the server computer. See the text file LICENSE.TXT on the
MIDAS CD for specific information regarding licensing and
redistribution rights for MIDAS.

For the Remote DataBroker and ConstraintBroker portions of
MIDAS, the file DBCLIENT.DLL must be installed onto the
client computer and registered with Windows. On the server
computer, the files DBCLIENT.DLL and STDVCL40.DLL must be
installed and registered for the Remote DataBroker and
DBEXPLOR.EXE for the ConstraintBroker. Installation
programs such as InstallShield Express automate the process
of registering these DLLs. To manually register the DLLs,
use the TRegSvr demo application or the Microsoft utility
REGSERV32.EXE (not included with all Windows versions). The
MIDAS deployment CD provides install programs for the
client and server portions of OLEnterprise and the Business
ObjectBroker. Use only the Setup Launcher on the MIDAS CD
to install OLEnterprise.

A server deployment license is not required for deploying
DBCLIENT.DLL and STDVCL40.DLL in an application in which
the client and server reside on the same machine. These two
files are the Client Dataset Redistributables referred to
in the License Statement.

For more information on MIDAS, see INPRISE's World Wide Web
site at the URL below, or contact your local INPRISE sales
office. 

  http://www.inprise.com/midas/

For a list of files and components in MIDAS, see:

  http://www.inprise.com/midas/papers/components.html


8.  VisiBroker
===========================================================
<Information to be supplied by Legal?>


9. SQL Links deployment (client/server applications)
===========================================================
9.1 SQL Links redistributable files
-----------------------------------
See the BDE/SQL Links deployment notes in the file
BDEDEPLOY.TXT (found in the BDE directory) for specific
information regarding redeploying the SQL Links software.
(SQL Links is available only with the Client/server and
Enterprise editions of Delphi 4.)

9.2 InterBase
-------------
When deploying an application that uses SQL Links for
Interbase, you must install MSVCRT.DLL in the Windows
system directory of the target machine.

See the BDE/SQL Links deployment notes in the file
BDEDEPLOY.TXT (found in the BDE directory) for specific
information regarding redeploying the SQL Links software
for InterBase.


10. Fractal Image Format (FIF) software
===========================================================
The Delphi CD includes software for decoding and display of
images compressed in Iterated Systems' Fractal Image Format
(FIF). This software is copyrighted by Iterated Systems,
Inc. and may be deployed or redistributed subject to the
terms in Iterated Systems' licensing agreement and other
accompanying documentation.


11. JPEG compression software
===========================================================
The Delphi CD includes software for JPEG image compression
and decompression. This software and its source code are
distributed by the Independent JPEG Group and copyrighted
by Thomas G. Lane. For conditions of distribution and use,
see the README file that accompanies the software.


12. Data compression library (zlib)
===========================================================
The Delphi CD includes zlib data compression software. This
software and its source code are copyrighted by Mark Adler
and others and may be used and distributed subject to the
conditions specified in the file zlib.h.


13. Delphi Utilities
===========================================================
Delphi 4 comes with a number of helper, utility appli-
cations. All of these utility programs are included with
Delphi 4 for use in designing applications. None of the
utility programs that come with Delphi 4 may be redist-
ributed with deployed applications. These utility programs
include, but are not limited to:

  Resource compiler
  Database Explorer
  SQL Explorer (Client/server & Enterprise editions)
  Database Desktop
  GREP
  Open Help
  Package Component Editor
  SQL Monitor (Client/server & Enterprise editions)
  TDump
  TRegSrvr


14. Removed or modified "Redistributable" files
===========================================================
INPRISE RESERVES THE RIGHT TO REMOVE OR MODIFY INDIVIDUAL
REDISTRIBUTABLE FILES FROM THIS INPRISE SOFTWARE PRODUCT,
AT ANY TIME PRIOR TO RELEASE OF THE PRODUCT, REGARDLESS OF
WHETHER SUCH FILES CONTINUE TO BE LISTED AS
"REDISTRIBUTABLE" UPON RELEASE OF THE PRODUCT. INPRISE
SHALL HAVE NO OBLIGATION WHATSOEVER IN CONNECTION WITH ANY
FILE WHICH IS LISTED AS "REDISTRIBUTABLE" BUT HAS BEEN
REMOVED FROM THE PRODUCT PRIOR TO THE PRODUCT'S RELEASE.


===========================================================
Unless otherwise noted, all materials provided in this
release are Copyright 1983 - 1998 by INPRISE Corporation.
========================= END =============================

