RAD Studio
ContentsIndex
PreviousUpNext
Deploying Packages

You deploy packages much like you deploy other applications. The files you distribute with a deployed package may vary. The bpl and any packages or dlls required by the bpl must be distributed.  

Files deployed with a package  

File 
Description 
ComponentName.h  
Allows end users access to the class interfaces.  
ComponentName.cpp  
Allows end users access to the component source.  
.bpi, .obj, and .lib  
Allows end users to link applications.  

For general deployment information, refer to Deploying applications.

When distributing an application that uses runtime packages, make sure that your users have the application's .exe file as well as all the library (.bpl or .dll) files that the application calls. If the library files are in a different directory from the .exe file, they must be accessible through the user's Path. You may want to follow the convention of putting library files in the Windows\System directory. If you use InstallAware Express, your installation script can check the user's system for any packages it requires before blindly reinstalling them.

If you distribute runtime or design-time packages to other Delphi developers, be sure to supply both .dcp and .bpl files. You will probably want to include .dcu files as well.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!