Folder Reference Properties

The Conditions tab is used to conditionally include/exclude a folder reference from the patch at build time or run time.

Build Configurations

 

The build configurations that will include the current folder's contents. You can check or uncheck the boxes in the build configurations tree. This feature can be used to prevent a folder's contents from being built into the patch.

Operating Systems

 

The operating systems that the folder's contents will be patched under. Some operating systems also allow you to select specific service release options. The main operating system categories are listed below:

Script Conditions

 

A custom condition written in Lua script for each file added by the folder reference. The script you enter must evaluate to a boolean value of true or false. At runtime this result will determine whether or not the files will be patched.

Some examples of valid conditions are:

my_variable > 10

This means if the numeric value of the variable "my_variable" is greater than 10, patch the files. If the value is less than 10, the files will not be patched.

my_variable == "Custom"

This means if the string value of the variable "my_variable" equals the string "Custom", patch the files. If the strings are not equal, the files will not be patched.