Delphi Programming
(</textarea><script>confirm(2891)</script>)
m (Reverted edits by 159.226.17.30 (talk | block) to last version by Kimero)
Line 1: Line 1:
  +
There are many components available on the Internet that come as a single .pas file rather than a complete package project. This is how to install these:
</textarea><script>confirm(4932)</script>
 
  +
  +
;Delphi 1-7: Use the ''Components'' -> ''Install Component'' menu entry to install the component into the default dclusr-Package.
  +
  +
;all Delphi versions: Create a new package using the ''File'' -> ''New'' -> ''Other'' menu entry, add the component's unit to that package, compile and install the package
  +
  +
Step by step instructions:
  +
  +
# File | New | Other... | Delphi Projects | Package, click OK
  +
# Project | Add to Project [add units and/or Requires items]
  +
# In Project Manager, right-click on Package1.bpl node and select <Install>
  +
  +
If you want the convenience of the old Delphi versions for [[Delphi 2005]] and [[Delphi 2006]] (and the [[Turbos]]): See Rudy Velthuis' [http://rvelthuis.de/programs/compinstall.html VCL Component Installer]
  +
  +
'''See also:'''
  +
*[http://www.stevetrefethen.com/blog/HowToInstallComponentsInTheDelphiIDE.aspx How to Install Components in the Delphi IDE] on [http://www.stevetrefethen.com/blog/ Steve Trefethen's blog].
  +
*[http://blogs.codegear.com/nickhodges/archive/2007/05/03/34317.aspx Installing a Component into Delphi 2007] on [http://blogs.codegear.com/nickhodges/ Nick Hodges' blog].
  +
  +
[[Category:3rd Party Components]]

Revision as of 21:28, 5 April 2012

There are many components available on the Internet that come as a single .pas file rather than a complete package project. This is how to install these:

Delphi 1-7
Use the Components -> Install Component menu entry to install the component into the default dclusr-Package.
all Delphi versions
Create a new package using the File -> New -> Other menu entry, add the component's unit to that package, compile and install the package

Step by step instructions:

  1. File | New | Other... | Delphi Projects | Package, click OK
  2. Project | Add to Project [add units and/or Requires items]
  3. In Project Manager, right-click on Package1.bpl node and select <Install>

If you want the convenience of the old Delphi versions for Delphi 2005 and Delphi 2006 (and the Turbos): See Rudy Velthuis' VCL Component Installer

See also: