Microsoft Deployment Toolkit
Documentation Library Add a Test for File Properties to Task Sequence Step Conditions |
You can evaluate files based on the file properties. In addition to evaluating the path of the file to be tested, test for its version and time stamp under a number of conditions.
To configure a condition based on a file property, provide the following information on the File Properties dialog box:
· Path. The path of the file being tested
· Version. (Optional) Version of the file being tested
· Condition. (Optional) A logical operator
· Date. (Optional) The date of the file
· Time. (Optional) The time stamp of the file
To add a File Properties condition to a task sequence step
1. On the step Option tab (where step is the name of the task sequence step to configure), click Add, and then click File Properties.
2. In the File Properties dialog box, in the Path box, browse to the file to be tested.
3. In the File Properties dialog box, if you want to check the version of the file, select the Check the version check box, set the condition of the value, and type the version number to be tested for. Otherwise, clear the Check the version check box so that the additional condition will not be tested for.
4. In the File Properties dialog box, to check the time stamp of the file, select the Check the timestamp check box, set the condition of the value, set a date, and set the time. Otherwise, clear the Check the timestamp check box so that the additional condition will not be tested for.
5. In the File Properties dialog box, click OK.
Related Topics