InstallPackage
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.
- Note: Using BorlandIDEServices is available only in 32-bit IDE.
- 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 if the package is installed.False
: the action does not show warnings.
- Parameter 4: String optional parameter that specifies the target IDE platform (Win32 or Win64). The default value is Win32.
Win32
: install the package in the 32-bit IDE.Win64
: install the package in the 64-bit IDE.
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");
- Example 4: Installs a package showing warnings into the 64-bit IDE.
InstallPackage("OnGuardDD.bpl", "false", "false", "Win64");