Check File/Folder Attributes Rule

InstallAnywhere 2018

The Check File/Folder Attributes rule verifies attributes of a given file or folder and allows the action to which it is applied to run only if the rule evaluates to true.

Controls on the Check File/Folder Attributes Rule Customizer

Control

Description

File/Folder Path

Specifies the file or folder to check. Type the path, file name, or path and file name for the file or folder you want to evaluate. (The File/Folder Path text box can include Magic Folders and other InstallAnywhere variables. The installer resolved these variables at install time.)

This Install Path

Inserts the install path for the currently selected file or folder action. (Available only if this rule is assigned to a file- or folder-related action in the Install sequence.)

Perform only if the file/folder …

Enables or disables a particular criteria set. For example, if the Perform only if the file/folder is a control is not checked, the rule does not evaluate whether the current value of the File/Folder Path text box is a file or a folder.

Already Exists | Does Not Already Exist 

Select one of the following options:

Click Already Exists if you want the action to run only if the file or folder currently specified in the File/Folder Path text box already exists.
Click Does Not Already Exist if you want the action to run only if the file or folder currently specified in the File/Folder Path text box does not exist.

File |Folder 

Select one of the following options:

Click File if you want the action to run only if the file you specified in the File/Folder Path text box is, in fact, a file on the target system.
Click Folder if you want the action to run only if the folder you specified in the File/Folder Path text box is, in fact, a folder on the target system.

Readable | Writable | Both 

Select one or both of the following options:

Click Readable to allow the action to run only if the file or folder you specified in the File/Folder Path text box is readable.
Click Writable to allow the action to run only if the file or folder you specified in the File/Folder Path text box is writable.

In-Use | Not In-Use 

Select one of the following options:

Click In-Use to allow the action to run only if the file or folder you specified in the File/Folder Path text box is in use at install time.
Click Not In-Use to allow the action to run only if the file or folder you specified in the File/Folder Path text box is not in use at install time.

See Also