Filter Properties

Name:

The name of the current filter.

Property:

The file property you want to use when configuring the filter setting. You can click the drop down to select a file property. These properties include all of the possible columns that can be shown in the Setup Factory program window. Each column can be shown or hidden by selecting View > Columns from the program menu.

Rule:

The rule you want to use for the filter. The following rules are available when you click the drop down to select a rule:

RULE

DESCRIPTION

Does Not Match Pattern

The Property value of the file does not match the pattern specified as the Criteria.

Equal To

The Property value of the file is equal to the value specified as the Criteria.

Greater Than

The Property value of the file is greater than the value specified as the Criteria.

Greater Than or Equal To

The Property value of the file is greater than or equal to the value specified as the Criteria.

Is Empty

The Property value of the file is empty. (This rule does not use the Criteria value.)

Is Not Empty

The Property value of the file is not empty. (This rule does not use the Criteria value.)

Less Than

The Property value of the file is less than the value specified as the Criteria.

Less Than or Equal To

The Property value of the file is less than or equal to the value specified as the Criteria.

Matches Pattern

The Property value of the file matches the pattern specified as the Criteria.

Not Equal To

The Property value of the file is not equal to the value specified as the Criteria.

Criteria:

The criteria you want the selected rule to be applied to. The value of a criteria can either be a single value such as a string, a number or boolean value such as true or false. If the criteria value is a number, a numeric comparison will be used. If the value is a string, a string comparison will be used. If the value is a version number, a version comparison will be used.

When either Does Not Match Pattern or Matches Pattern are chosen as the rule to be applied, the following pattern matching characters can be used:

PATTERN

DESCRIPTION

*

Any combination of characters. For example, a*le - matches ale, apple, angle, etc.

?

Any single character. For example, s?n - matches sun, son, sin, s4n, etc.

[character - character]

Character set matching per character. For example, using the character set [A-E] will ensure that a single character in the Property value is within the range, A to E inclusive. The character range must be specified in uppercase. Character sets can also include a list of characters. For example, [ABC] will ensure that the character is either A, B, or C. You can also specify characters as well as a range in the pattern. For example, [ABCF-RZ] will match A, B, or C, the characters in the range F-R or Z.

Example 1:

To filter your file list so it only displays executable files, the filter properties would look like the following:

Property: File Extension
Rule: Equal To
Criteria: exe

When this filter is applied, only files with a ".exe" extension will be shown in the Setup Factory file list.

Example 2:

To filter your file list so it only displays files that have their Register COM Interfaces option selected (files that require registration) the filter properties would look like the following:

Property: Register COM
Rule: Equal To
Criteria: true

The value true is used as the Criteria because that file property is controlled by a check box that has either a true or false state.

When this filter is applied, only files that are designated to be registered as a COM interface will be shown in the Setup Factory file list.

Example 3:

To filter your file list so it only displays files that contain the string "Help" in their name, the filter properties would look like the following:

Property: Filename
Rule: Matches Pattern
Criteria: *Help*

When this filter is applied, only files that contain the string "Help" in their name will be shown in the Setup Factory file list.

Example 4:

To filter your file list so it only displays files that contain a file size that is less than 1MB (1048576 bytes), the filter properties would look like the following:

Property: Size
Rule: Less Than or Equal To
Criteria: 1048576

When this filter is applied, only files whose size is less than 1MB (1048576 bytes) will be shown in the Setup Factory file list.

Example 5:

To filter your file list so it only displays files whose file extensions contain characters between A-E, the filter properties would look like the following:

Property: Filename
Rule: Matches Pattern
Criteria: *.[A-E][A-E][A-E]

When this filter is applied, only files whose extensions contain characters between A-E will be shown in the Setup Factory file list.

Example 6:

To filter your file list so it only displays files whose dates are later than January 31st 2003, the filter properties would look like the following:

Property: Date
Rule: Greater Than
Criteria: 2003-01-31

When this filter is applied, only files whose dates are later than January 31st 2003 will be shown in the Setup Factory file list.

Note: File dates must be in the format YYYY-MM-DD.