============================================================ Deploying Delphi Applications ============================================================ Please read this entire file before deploying Delphi 6 app- lications, components, or libraries. This file is provided pursuant to the Borland No-Nonsense License Statement and provides information on deploying Delphi 6 applications. Table of Contents =========================================================== 1. General Application Deployment 2. Components and Packages 2.1 Distributing Custom Packages 2.2 Borland Runtime Packages 2.3 Runtime packages: Enterprise Edition 2.3.1 VCL applications 2.3.2 CLX applications 2.3.3 Common redistributables 2.4 Runtime packages: Professional Edition 2.4.1 VCL applications 2.4.2 CLX applications 2.4.3 Common redistributables 2.5 Runtime packages: Personal Edition 2.6 Restrictions on CLXDisplay API (Qt.pas) usage 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. DataSnap applications (formerly MIDAS) 8. WebSnap Applications and Interbase 9. VisiBroker 10. SQL Links deployment (Enterprise edition only) 10.1 SQL Links redistributable files 10.2 InterBase 11. JPEG compression software 12. Data compression library (zlib) 13. Windows Common Controls 14. Delphi Utilities 15. Removed Or Modified "Redistributable" Files 1. General Application Deployment =========================================================== Delphi 6 applications do not require an interpreter DLL. In general, 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. CLX applications are an exception to this as you must always redistribute qtintf.dll. If you have used runtime packages with your application, be sure to include all required BPLs with your distribution. 2. Components and Packages =========================================================== 2.1 Distributing Custom Packages -------------------------------- If you distribute Delphi 6 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 Borland Runtime Packages ---------------------------- In accordance with the General Terms That Apply to Compiled Programs and Redistributables, you may redistribute Borland-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 system-files directory of the computer (commonly this is the \windows\system on Windows98 or Me, \WINNT\System32 on Windows NT and Windows 2000 computers). Although this software may include packages other than those listed below, only the packages identified below as redistributable may be redistributed by you. You may NOT redeploy Borland-supplied design-time-only packages. You may not recompile or redistribute any Borland-supplied components or libraries for use by other developers. Packages that you develop may not have the same names as Borland-supplied packages. If you distribute component libraries or other packages, it is recommended that you avoid using the default DCLUSR60 package name, since this will cause naming conflicts with other developers. 2.3 Runtime packages: Enterprise Editions ----------------------------------------------------------- If you are a licensed user of Delphi 6 Enterprise, redistributable runtime packages include the following: adortl60.bpl bdecds60.bpl bdertl60.bpl cds60.bpl dbexpress60.bpl dbrtl60.bpl dbxcds60.bpl dcloffice2k60.bpl dsnap60.bpl dsnapcon60.bpl dsnapcrba60.bpl dsnapent60.bpl dss60.bpl ibxpress60.bpl indy60.bpl inet60.bpl inetdb60.bpl inetdbbde60.bpl inetdbxpress60.bpl ibevnt60.bpl midas.dll nmfast60.bpl qrpt60.bpl qtintf.dll rtl60.bpl stdvcl40.dll tee60.bpl teedb60.bpl teeqr60.bpl teeui60.bpl vcl60.bpl vcldb60.bpl vcldbx60.bpl vclie60.bpl vcljpg60.bpl vclshlctrls60.bpl vclsmp60.bpl vclx60.bpl visualclx60.bpl visualdbclx60.bpl webdsnap60.bpl websnap60.bpl xmlrtl60.bpl The runtime packages dsnap60.bpl, dsnapcon60.bpl, dsnapcrba60.bpl, dsnapent60.bpl, and webdsnap60.bpl are associated with DataSnap. As such, distribution of these packages are subject to the same requirements as distribution of DataSnap. See the file LICENSE.TXT for specific rights and limitations regarding DataSnap and redistribution. 2.4 Runtime packages: Professional Edition ------------------------------------------ If you are a licensed user of Delphi 6 Professional, redistributable runtime packages include the following: adortl60.bpl bdecds60.bpl bdertl60.bpl cds60.bpl dcloffice2k60.bpl dbexpress60.bpl dbrtl60.bpl dbxcds60.bpl ibevnt60.bpl ibxpress60.bpl indy60.bpl inet60.bpl inetdb60.bpl inetdbbde60.bpl inetdbxpress60.bpl midas.dll nmfast60.bpl qrpt60.bpl qtintf.dll rtl60.bpl stdvcl40.dll tee60.bpl teedb60.bpl teeqr60.bpl teeui60.bpl vcl60.bpl vcldb60.bpl vcldbx60.bpl vclie60.bpl vcljpg60.bpl vclshlctrls60.bpl vclsmp60.bpl vclx60.bpl visualclx60.bpl visualdbclx60.bpl xmlrtl60.bpl 2.5 Runtime packages: Personal Edition -------------------------------------- If you are a licensed user of Delphi 6 Personal, redistributable runtime packages include the following: rtl60.bpl vcl60.bpl vcljpg60.bpl vclshlctrls60.bpl vclsmp60.bpl vclx60.bpl 2.6 Restrictions on CLXDisplay API (Qt.pas) usage --------------------------------------------------- CLXDisplay API, the Qt.pas interface to the Qt runtime, is only licensed for use in VisualCLX applications or a component that derives from TControl in the QControls unit. A VisualCLX application is an application that uses the TApplication object and uses at least one component derived from TControl. You are not licensed to use Qt.pas to create applications or components that exclusively call the Qt.pas interfaces. A separate commercial development license from Trolltech is required for use of Qt.pas in any manner other than authorized above. 3. The Borland Database Engine (BDE) =========================================================== Delphi 6 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 Borland-certified Redistributable Install program such as InstallShield Express or another compliant install program. You may redistribute only those BDE files selected by the Borland-certified installation program. Additionally, Borland supplies a BDE merge module that is an approved mechanism for deploying BDE. This module may be used with any Windows Installer (MSI) development tool (such as Installshield for Windows Installer, Wise for Windows Installer and others). The merge module includes the base BDE and SQL Links appropriate to the version of Delphi purchased. 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 Borland. For more information on InterBase, see Borland's World Wide Web site at http://www.borland.com, or contact your local Borland 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, 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 Borland. For more information on InterBase, see Borland's World Wide Web site at http://www.borland.com, or contact your local Borland sales office. 7. DataSnap applications (formerly MIDAS) =========================================================== The Delphi 6 Enterprise edition includes a development license for the DataSnap. DataSnap 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 DataSnap must purchase a separate license for each server on which DataSnap 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 DataSnap may need to be installed on the client computer and others on the server computer. For the Remote DataBroker and ConstraintBroker portions of DataSnap, 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 DataSnap, see Borland's World Wide Web site at the URL below, or contact your local Borland sales office. http://www.borland.com/datasnap/ For a list of files and components in DataSnap, see: http://www.borland.com/ datasnap /papers/components.html 8. WebSnap Application Deployment =========================================================== If you created your application as a Web App Debugger executable, you will fist have to convert it to an ISAPI DLL, CGI executable, or Apache Shared Module. To deploy your DLL or EXE to a web server, you will have to place your application in a directory that has executable rights. With Internet Information Services (IIS) this is typically C:\Inetpub\Scripts. For each WebModule in your application, you must copy the associated HTML file to the same directory as your EXE/DLL. By default, the associated HTML file is simply the WebModule unit's name with .html as the extension. Additionaly, you must register both WebBrokerScript.tlb and stdvcl40.dll on the web server. TLB files cannot be registerd with the Microsoft regsvr32 program, but must be registerd with tregsvr, located in the Delphi bin directory. You can copy tregsvr to the web server, and register the files with: tregsvr WebBrokerScript.tlb and tregsvr stdvcl40.dll Finally, WebSnap applications require the Microsoft Active Scripting Engine in order to work. It is included with Internet Explorer 5, and is installed by default on Windows 2000 machines. To download the Scripting Engine, visit: http://msdn.microsoft.com/scripting/ 9. 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 Borland. For more information on VisiBroker, see Borland's World Wide Web site at the URL below, or contact your local Borland sales office. http://www.borland.com/visibroker/ 10. SQL Links deployment (Enterprise edition only) =========================================================== 10.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 6 Enterprise edition.) 10.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. 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. Windows Common Controls =========================================================== The Windows common controls are provided in a Microsoft-approved installation file, 50comupd.exe. This file contains the common controls library, comctl32.dll. The only approved method for updating end-user computers is by the use of 50comupd.exe. This file can be redistributed with applications built using Delphi. No other method is permitted. 14. Delphi Utilities =========================================================== The utility programs included with Delphi 6 may NOT be redistributed with deployed applications. These utility programs include, but are not limited to: SQL Explorer (Enterprise only) SQL Monitor (Enterprise only) Translation Manager (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) DCC32 GREP TDump TLibImp Image Editor Additional licensing information for distribution of the Translation Manager will be made available on the Borland website, www.borland.com. 15. Removed or modified "Redistributable" files =========================================================== Borland RESERVES THE RIGHT TO REMOVE OR MODIFY INDIVIDUAL REDISTRIBUTABLE FILES FROM THIS BORLAND 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. BORLAND 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 - 2001 by Borland Software Corporation. ========================= END =============================