The Conditions tab is used to conditionally include/exclude the selected files from the patch at build time or run time.
Build Configurations
The build configurations that will include the selected files. You can check or uncheck the boxes in the build configurations tree. The inclusion of each file in each build configuration is based on the states of the quad-state check boxes.
Operating Systems
The operating systems that the selected files will be patched under. The operating system conditions for each file are based on the states of the quad-state check boxes. Some operating systems also allow you to select specific service release options. The main operating system categories are listed below:
•
Any OS (Selecting this option includes all OS's listed below)
•
Windows 95
•
Windows 98
•
Windows ME
•
Windows NT 3.51
•
Windows NT 4.0
•
Windows 2000
•
Windows XP
•
Windows Server 2003
•
Windows Vista
•
Windows Server 2008
•
Windows 7
•
Windows Server 2008 R2
•
Windows 8
•
Windows Server 2012
•
Windows 8.1
•
Windows Server 2012 R2
•
Windows 10
•
Windows Server 2016
•
All Future OSs
Script Condition
The edit state of the custom condition written in Lua script, for the selected files. You can click the edit button ( ) to open the Edit Multiple Values dialog where you can change the script for all selected files.
The script you enter must evaluate to a boolean value of true or false. At runtime this result will determine whether or not the file 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 file. If the value is less than 10, the file will not be patched.
my_variable == "Custom"
This means if the string value of the varibale "my_variable" equals the string "Custom", patch the file. If the strings are not equal, the file will not be patched.