BCI Nodes - Exec
<Exec> - In BBj 11.0 and higher, this node executes an OS level command.
Attribute |
Description |
Possible Values |
Default Value |
name |
Specifies the command to execute at the OS level. |
OS command |
none |
occurs |
Specifies when the exec will occur. |
startinstall, preinstall, postinstall, finishinstall, |
preinstall |
Common Attribute |
Description |
Possible Values |
Default Value |
bit |
Specifies the Java bit level for which the BCI node will be active. |
0 = All bit levels In BBj 19.21 and later, the following values may also be used: |
0 = All bit levels |
osbit |
Specifies the OS bit level for which the BCI node will be active. |
0 = All bit levels In BBj 19.21 and later, the following values may also be used: |
0 = All bit levels |
portid |
Specifies the port ID for which the BCI node will be active. Multiple port IDs are comma separated. |
See www.basis.cloud/availability for possible port IDs. |
All port IDs |
<Variable> - In BBj 11.0 and higher, this node creates a variable that can be used instead of string value in the custominstall.xml. The following variables are provided by default:
Variable Name |
Variable Value |
$BASISInstallDir |
BASIS installation directory. |
$BASISInstallDrive |
BASIS installation drive on Windows resolves to the drive letter and colon (i.e. d:). |
$DesktopDir |
Desktop directory on Windows. |
$InstallDir |
Installation directory. |
$InstallDrive |
Installation drive on Windows resolves to the drive letter and colon (i.e. d:). |
$ProgramsDir |
Programs directory on Windows. |
$UserHome |
User's home directory. |
$Version |
BBj version. |
Example
<Exec name="$InstallDir/bin/SetFolderIcon -i $InstallDir/images/BASISFolder.png -f /Applications/BASIS" occurs="postinstall" portid="2120"/>