InstallPackage

From RAD Studio
Jump to: navigation, search

Go Up to Local GetIt Packages Actions Data Index

Installs a package.

Parameters

  • Parameter 1: bpl path to install.
  • Parameter 2: Optional boolean parameter that specifies if we want to install the package using BorlandIDEServices or not. By default, the parameter is True and when it set to:
    • True: the action adds registry keys and loads the package on RAD Studio.
    • False: the action adds only registry keys to set the package.
  • Parameter 3: Boolean parameter that specifies if we want to show warnings. By default, the parameter is True and when it set to:
    • True: the action shows warnings in case the package is already installed.
    • False: the action does not show warnings.

Examples

  • Example 1: Installs a package.
InstallPackage("OnGuardDD.bpl");
  • Example 2: Installs a package using BorlandIDEServices and showing warnings.
InstallPackage("OnGuardDD.bpl", "true");
  • Example 3: Installs a package showing warnings but not using BorlandIDEServices.
InstallPackage("OnGuardDD.bpl", "false");

See Also