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

Please read this entire file before deploying Delphi 5 app-
lications, components, or libraries. This file is provided
pursuant to the INPRISE No-Nonsense License Statement and
provides information on deploying Delphi 5 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: Enterprise Edition
      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 five-user InterBase Server
  7.  Multi-tiered Distributed Application Services (MIDAS)
  8.  VisiBroker
  9.  SQL Links deployment (Enterprise edition only)
      9.1 SQL Links redistributable files
      9.2 InterBase
  10. JPEG compression software
  11. Data compression library (zlib)
  12. Delphi Utilities
  13. Removed Or Modified "Redistributable" Files


1. General Application Deployment
===========================================================
Delphi 5 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 5 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 DCLUSR50 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 5 Enterprise,
redistributable runtime packages include the
following:

  DSS50.bpl
  IBEVNT50.BPL
  INET50.BPL
  INETDB50.BPL
  NMFAST50.bpl
  QRPT50.BPL
  TEE50.BPL
  TEEDB50.BPL
  TEEQR50.bpl
  TEEUI50.BPL
  VCL50.BPL
  VCLADO50.bpl
  VCLBDE50.bpl
  VCLDB50.BPL
  VCLDBX50.BPL
  VCLIB50.bpl
  VCLIE50.bpl
  VCLJPG50.BPL
  VCLSMP50.BPL
  VCLX50.BPL

The runtime package VCLMID50.BPL and WEBMID50.BPL are
associated with Multi-tiered Distributed Application
Services (MIDAS).
As such, redistribution of this package is subject to the
same requirements as redistribution of MIDAS. See the file
LICENSE.TXT for specific rights and limitations regarding
MIDAS and redistribution.

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

  IBEVNT50.BPL
  INET50.BPL
  INETDB50.BPL
  NMFAST50.bpl
  QRPT50.BPL
  TEE50.BPL
  TEEDB50.BPL
  TEEQR50.bpl
  TEEUI50.BPL
  VCL50.BPL
  VCLBDE50.bpl
  VCLDB50.BPL
  VCLDBX50.BPL
  VCLIB50.bpl
  VCLIE50.bpl
  VCLJPG50.BPL
  VCLSMP50.BPL
  VCLX50.BPL

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

  VCL50.BPL
  VCLDB50.BPL
  VCLJPG50.BPL
  VCLSMP50.BPL
  VCLX50.BPL

3. The Borland Database Engine (BDE)
===========================================================
Delphi 5 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.

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 Enterprise and Professional editions 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, available separately
from INPRISE. For more information on InterBase, see
INPRISE's World Wide Web site at http://www.borland.com, 
or contact your local INPRISE sales office.

6.2 The 32-bit five-user InterBase Server
-----------------------------------------
Delphi Enterprise contains the 32-bit five-user Inter-
Base Server for Windows 95. (This server also runs under
Windows NT.) Purchase of Delphi Enterprise, 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, available 
separately from INPRISE. For more information on InterBase, 
see INPRISE's World Wide Web site at http://www.borland.com, 
or contact your local INPRISE sales office.


7. Multi-tiered Distributed Application Services (MIDAS)
===========================================================
The Delphi 5 Enterprise edition includes a development 
license for the Multi-tiered Distributed Application 
Services Suite (MIDAS). MIDAS comprises the Business 
ObjectBroker, the Remote DataBroker, and the 
ConstraintBroker Manager (SQL Explorer). Purchase of Delphi
Enterprise edition, 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 MIDAS.DLL must be installed onto the
client computer and registered with Windows. On the server
computer, the files MIDAS.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).

A server deployment license is not required for deploying
MIDAS.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.borland.com/midas/

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

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


8.  VisiBroker
===========================================================
This product does not include deployment rights for the
VisiBroker CORBA ORB.  When deploying an application
requiring CORBA services, you must first obtain VisiBroker
Deployment licenses, available separately from INPRISE.
 
For more information on VisiBroker, see INPRISE's World 
Wide Web site at the URL below, or contact your local 
INPRISE sales office.

   http://www.inprise.com/visibroker/
 

9. SQL Links deployment (Enterprise edition only)
===========================================================
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 Delphi 5 Enterprise
edition.)

9.2 InterBase
-------------
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. 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
===========================================================
The utility programs included with Delphi 5 may NOT be
redistributed with deployed applications. These utility 
programs include, but are not limited to:


  SQL Explorer (Enterprise only)
  SQL Monitor (Enterprise only)
  Database Explorer (Professional and Enterprise only)
  Database Desktop (Professional and Enterprise only)
  Openhelp (Professional and Enterprise only)
  Package Collection Editor (Professional and Enterprise only)
  WinSight (Professional and Enterprise only)
  GREP
  TDump
  TLibImp
  Image Editor 
  

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 - 1999 by INPRISE Corporation.
========================= END =============================

