[<file-list-section>]
<file-name>[,,,<flag>]
.
.
.
A DelFiles section lists the names of files to be deleted. The file-list-section name must appear in the Delfiles item of an Install section.
If you do not use the flag parameter value equal to 1 along with a file-name parameter, then if that file is in use when the DelFiles section is executed that file will not be deleted from the system.
This example deletes three files:
[DeleteOldFilesSec]
file1
file2
file3
All the filenames used in this example must be defined in a SourceDisksFiles section and the logical disk numbers that appear in the SourceDisksFiles section must have been defined in a SourceDisksFiles section.