# Deploying CodeGear RAD Studio 2007, Delphi 2007, and C++Builder 2007 Applications

Please read this entire file before deploying your applications, components, or libraries. Unless otherwise noted, this file pertains to creation and deployment of applications, components, or libraries created with CodeGear RAD Studio 2007, Delphi 2007, or C++Builder 2007. This file is provided pursuant to the CodeGear License Terms and provides information on deploying applications.

## Table of Contents

1. General Application Deployment
2. Components and Packages
2.1 Distributing Custom Packages
2.2 CodeGear Runtime Packages
2.3 Runtime Packages
3. The Borland Database Engine (BDE)
4. Blackfish SQL Deployment
5. Sample Images
6. ASP.NET Application Deployment
7. WebSnap Application Deployment
8. InterBase
9. ECO Application Deployment
10. JPEG Compression Software
11. Indy (Internet Direct)
12. Microsoft .NET SDK Runtime Assemblies
13. Other Components
14. Removed or Modified Redistributable Files

## 1. General Application Deployment

When building Win32 applications, provide 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.

If you build C++Builder applications using the dynamic Run-Time Library, you will also have to distribute one or more of the Run-Time Library DLLs cc3280.dll or cc3280mt.dll and the memory manager DLL.

When building .NET applications, provide your .EXE file and any assemblies not included in the .NET framework runtime that it calls. If you used runtime assemblies not included in the .NET Framework runtime with your application, be sure to include all required assemblies with your distribution.

Any .NET application that you build needs to run in an environment that has the Microsoft .NET Framework v2.0 redistributables installed. Please see the standard licensing information that ships with the Microsoft .NET Framework application to determine what assemblies are redistributable.

For third party deployables, please see the third party documentation included with this product for other redistribution limitations.

Top

## 2. Components and Packages

### 2.1 Distributing Custom Packages and Assemblies

If you distribute custom packages or assemblies to other developers, be sure to supply the necessary files including .DLL, .DCP, .DCPIL, .DCU, .DCUIL, .BPL, or executable files as required. Also, include any documentation you might have.

If you distribute C++Builder packages to other developers, be sure to supply both .BPI and any .LIB files to which your packages link. You will probably also want to include .H, .HPP, .OBJ and .DCU files.

Top

### 2.2 CodeGear Runtime Packages and Assemblies

In accordance with the "General Terms That Apply to Compiled Programs and Redistributables," you may redistribute CodeGear-supplied runtime packages and assemblies only for the purpose of executing Works created with the product. You may not modify these packages in any way.

The redistributable runtime packages are installed in the system files directory of the computer, which is commonly WINDOWS\System32 on Windows 2000, Windows XP, and Windows Vista computers.

The redistributable runtime assemblies are installed in the GAC (Global Assembly Cache). These assemblies can be viewed in three ways:

- Navigate to either the [Common Files Directory]\CodeGear Shared\RAD Studio\Shared Assemblies\5.0 directory.
- Use the Microsoft .NET Framework 2.0 Configuration Wizard. You can access this wizard in Microsoft .NET Framework 2.0 by selecting Control Panel | Administrative Tools.
- Use the command-line tool, gacutil.exe, which ships with the Microsoft .NET Framework 2.0 SDK.

Although this software may include packages and assemblies other than those listed below, only the packages and assemblies identified below as redistributable may be redistributed by you. For third party deployables, please see the third party documentation included with this product for other redistribution limitations.

You may NOT redeploy CodeGear-supplied design-time only packages and assemblies. If a package or assembly is not listed in this document, then it is considered a design-time only package. You may not recompile or redistribute any CodeGear-supplied components or libraries for use by other developers.

Packages and assemblies that you develop may not have the same names as CodeGear-supplied packages or assemblies.

If you distribute component libraries or other packages, it is recommended that you avoid using the default DCLUSR package name, since this will cause naming conflicts with other developers.

Top

### 2.3 Runtime Packages and Assemblies

The following table lists the redistributable Win32 runtime packages and DLLs for each edition of the product. The redistributable files are marked with an X. Associated resource files are permitted to be redistributed.

File | Delphi Enterprise | Delphi Professional | C++Builder Enterprise | C++Builder Professional | RAD Studio Architect | RAD Studio Enterprise | RAD Studio Professional
--- | --- | --- | --- | --- | --- | --- | ---
adortl100.bpl | X | X | X | X | X | X | X
bcboffice2k100.bpl |  |  | X | X | X | X | X
bcbofficexp100.bpl |  |  | X | X | X | X | X
bcbie100.bpl |  |  | X | X | X | X | X
bdertl100.bpl | X | X | X | X | X | X | X
borlndmm.dll | X | X | X | X | X | X | X
cc3280.dll |  |  | X | X | X | X | X
cc3280mt.dll |  |  | X | X | X | X | X
cg32.dll |  |  | X | X | X | X | X
dbexpress4100.bpl | X | X | X | X | X | X | X
dbrtl100.bpl | X | X | X | X | X | X | X
dbxadapter30.dll | X | X | X | X | X | X | X
dbxasa30.dll | X |  | X |  | X | X |
dbxase30.dll | X |  | X |  | X | X |
dbxcds4100.bpl | X | X | X | X | X | X | X
dbxclientdriver100.bpl | X | X | X | X | X | X | X
DbxCommonDriver100.bpl | X | X | X | X | X | X | X
dbxdb230.dll | X |  | X |  | X | X |
dbxdynalinkdriver100.bpl | X | X | X | X | X | X | X
dbxinf30.dll | X |  | X |  | X | X |
dbxint30.dll | X | X | X | X | X | X | X
dbxmss30.dll | X |  | X |  | X | X |
dbxmys30.dll | X | X | X | X | X | X | X
dbxmysA30.dll | X | X | X | X | X | X | X
dbxora30.dll | X |  | X |  | X | X |
dbxoraw30.dll | X |  | X |  | X | X |
dbxreadonlymetadata100.bpl | X | X | X | X | X | X | X
dcloffice2k100.bpl | X | X |  |  | X | X | X
dclofficexp100.bpl | X | X |  |  | X | X | X
dsnap100.bpl (ClientDataSet Redistributable) | X | X | X | X | X | X | X
dsnapcon100.bpl (ClientDataSet Redistributable) | X |  | X |  | X | X |
dsnapent100.bpl (ClientDataSet Redistributable) | X |  | X |  | X | X |
ibevnt100.bpl | X | X | X | X | X | X | X
ibxpress100.bpl | X | X | X | X | X | X | X
inet100.bpl | X | X | X | X | X | X | X
inetdb100.bpl | X | X | X | X | X | X | X
inetdbbde100.bpl | X | X | X | X | X | X | X
inetdbxpress4100.bpl | X | X | X | X | X | X | X
Intraweb_90_100.bpl | X | X | X | X | X | X | X
Intrawebdb_90_100.bpl | X | X | X | X | X | X | X
midas.dll (ClientDataSet Redistributable) | X | X | X | X | X | X | X
Rave75VCL110.bpl | X | X | X | X | X | X | X
rtl100.bpl | X | X | X | X | X | X | X
soaprtl100.bpl | X | X | X | X | X | X | X
tee7100.bpl | X | X | X | X | X | X | X
teedb7100.bpl | X | X | X | X | X | X | X
teeui7100.bpl | X | X | X | X | X | X | X
vcl100.bpl | X | X | X | X | X | X | X
vclactnband100.bpl | X | X | X | X | X | X | X
vcldb100.bpl | X | X | X | X | X | X | X
vcldbx100.bpl | X | X | X | X | X | X | X
vclib100.bpl | X | X | X | X | X | X | X
vclie100.bpl | X | X | X | X | X | X | X
vclimg100.bpl | X | X | X | X | X | X | X
vcljpg100.bpl | X | X | X | X | X | X | X
vclshlctrls100.bpl | X | X | X | X | X | X | X
vclsmp100.bpl | X | X | X | X | X | X | X
vclx100.bpl | X | X | X | X | X | X | X
webdsnap100.bpl | X |  | X |  | X | X |
websnap100.bpl | X |  | X |  | X | X |
xercesLib.dll | X | X | X | X | X | X | X
xercesxmldom.dll | X | X | X | X | X | X | X
xmlrtl100.bpl | X | X | X | X | X | X | X

The following table lists the redistributable runtime .NET assemblies for each edition of the product. The redistributable files are marked with an X. Associated satellite assemblies are permitted to be redistributed.

File | Delphi Enterprise | Delphi Professional | C++Builder Enterprise | C++Builder Professional | RAD Studio Architect | RAD Studio Enterprise | RAD Studio Professional
--- | --- | --- | --- | --- | --- | --- | ---
Borland.Data.AdoDbxClient.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.Data.BlackfishSQL.LocalClient.dll | X | X | X | X | X | X | X
Borland.Data.BlackfishSQL.RemoteClient.dll | X | X | X | X | X | X | X
Borland.Data.Common.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.Data.DataSync.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.Data.DbxClientDriver.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.Data.DbxDynalinkDriver.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.Data.DbxMetaData.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.Data.DbxReadOnlyMetaData.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.Data.Db2.dll, bdpdb225.dll | N/A | N/A | N/A | N/A | X | X |
Borland.Data.Interbase.dll, bdpint25.dll | N/A | N/A | N/A | N/A | X | X | X (local use only)
Borland.Data.Msacc.dll, bdpmsa25.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.Data.Mssql.dll, bdpmss25.dll | N/A | N/A | N/A | N/A | X | X |
Borland.Data.Mysql.dll, bdpmys25.dll | N/A | N/A | N/A | N/A | X | X | X (local use only)
Borland.Data.Oracle.dll, bdpora25.dll | N/A | N/A | N/A | N/A | X | X |
Borland.Data.Provider.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.Data.Sybase.dll, bdpsyb25.dll | N/A | N/A | N/A | N/A | X | X |
Borland.Delphi.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.Vcl.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.Vcl.Samples.dll | N/A | N/A | N/A | N/A | X | X | X
Boralnd.VclActnBand.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.VclAdoDb.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.VclBdeRtl.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.VclDbCtrls.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.VclDbExpress.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.VclDbRtl.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.VclDbxCds.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.VclDSnap.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.VclDSnapCon.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.VclIBXpress.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.VclInterop.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.VclRtl.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.VclX.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.VclXmlRtl.dll | N/A | N/A | N/A | N/A | X | X | X
Borland.Web.Provider.dll | N/A | N/A | N/A | N/A | X | X | X
IndyCore.dll | N/A | N/A | N/A | N/A | X | X | X
IndyProtocols.dll | N/A | N/A | N/A | N/A | X | X | X
IndySystem.dll | N/A | N/A | N/A | N/A | X | X | X
Intraweb_90_100net.dll | N/A | N/A | N/A | N/A | X | X | X
Intrawebdb_90_100net.dll | N/A | N/A | N/A | N/A | X | X | X
Nevrona.Rave.Vcl.dll | N/A | N/A | N/A | N/A | X | X | X

Top

## 3. The Borland Database Engine (BDE)

Applications that use the Borland Database Engine (BDE) for 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 a CodeGear-certified Redistributable Install program, such as InstallAware Express or another compliant install program. You may redistribute only those BDE files specified in BDEDEPLOY.TXT (found in the BDE directory).

Additionally, CodeGear 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 InstallAware, InstallShield, Wise Installation Studio and others). The merge module includes the base BDE appropriate to the version of Delphi or C++Builder purchased.

Top

## 4. Blackfish SQL Deployment

If you created an application the uses Blackfish SQL, you may deploy BSQLServer.exe and BlackfishSQL.slip (\Program Files\CodeGear\RAD Studio\5.0\bin), in addition to the runtime assemblies specified in the table above.

For additional deployment restrictions on a Blackfish SQL, please consult license.rtf, readme.htm, and http://dn.codegear.com/article/36770. The files are usually located at:

\Program Files\CodeGear\RAD Studio\5.0

Top

## 5. Sample Images

The product includes a library of redistributable bitmap images normally installed in the subdirectory:

\Program Files\Common Files\CodeGear Shared\Images

The product also includes a database EVENTS.DB with licensed images from PhotoDisc, Inc. and may not be redistributed.

Top

## 6. ASP.NET Application Deployment

Any non-FCL (Framework Class Library) assemblies must be deployed with your ASP.NET applications. For additional information about deploying ASP.NET applications, refer to http://msdn.microsoft.com/asp.net.

Top

## 7. WebSnap Application Deployment

If you created your application as a Web App Debugger executable, you will first have to convert it to an ISAPI DLL or CGI executable. 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.

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/

Top

## 8. InterBase

The product includes a development license for InterBase (InterBase 2007 Developer Edition). This product does not include deployment rights for InterBase server. When deploying an application requiring InterBase server, you must first obtain InterBase Deployment licenses, available separately from CodeGear. For more information on InterBase, see CodeGear's World Wide Web site at http://www.codegear.com/products/interbase, or contact your local CodeGear sales office.

Top

## 9. ECO Application Deployment

ECO applications require ECO assemblies. Please refer to ECO deploy file for more information. The file is usually located at

\Program Files\CapableObjects\Eco\4.0\deploy.txt

Top

## 10. JPEG Compression Software

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

Top

## 11. Indy (Internet Direct)

All Indy files are redistributable according to the terms of the Indy license at www.indyproject.org/License/index.en.aspx.

Top

## 12. Microsoft .NET SDK Runtime Assemblies

Please refer to the Microsoft .NET SDK license agreement to determine which Microsoft .NET SDK runtime assemblies are redistributable.

Top

## 13. Other Components

Any file, module or component not designated as redistributable in this document may not be redistributed, and is limited to use by you under the terms of the end-user license agreement accompanying this product.

Top

## 14. Removed or Modified Redistributable Files

CODEGEAR RESERVES THE RIGHT TO REMOVE OR MODIFY INDIVIDUAL REDISTRIBUTABLE FILES FROM THIS CODEGEAR 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. CODEGEAR 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.

Top

Unless otherwise noted, all materials provided in this release are Copyright 2007 by CodeGear.