Install Component
Go Up to Component Menu
Component > Install Component
The Install Component wizard allows you to choose a unit or units (.pas or .cpp) to install, either into a new package or into an existing package. Then the wizard opens the package, adds the units to it, and builds and installs the package.
The wizard also supports installing .dcu files (compiled units). These units must be compiled with the same version of the compiler that your IDE uses.
Contents
Select Units page
Item | Description |
---|---|
Unit file name(s) |
Either enter the name of the .pas or .cpp unit file for the component, or click Browse and navigate to and select the unit file for the component. |
Install into an existing package |
Installs the component into an existing package that you select on the next page of the wizard. The package will be available in all projects. |
Install into a new package |
Installs the component into a new package that you create on the next page of the wizard. |
Install into existing package page
Item | Description |
---|---|
Search path |
Enter the search path for the new package. The default search paths are displayed, according to the current values set for the Library Path on Tools > Options > Environment Options > Delphi Options > Library. |
Package name |
Enter the name of the package to be able to finish installing the component. To locate an existing package, click Browse. |
Package description |
Enter a new description, or accept the existing one. |
Install into new package page
Item | Description |
---|---|
Search path |
Enter the search path for the new package. The default search paths are displayed, according to the current values set for the Library Path on Tools > Options > Environment Options > Delphi Options > Library. |
Package name |
Enter a name for the new package. You can click Browse to select the name and description of an existing package, but a number will be added to this name, to avoid duplication. |
Package description |
Optionally, you can enter a new description, or accept the one associated with the package. |
Delphi package / C++Builder package |
Choose the type of the package. |