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.
Identifies a file to be deleted.
Optional parameter used to force Windows 95/98/ME to delete the file named in the item if it is in use during the installation process. Set the flag parameter value to 1 to cause Windows 95/98/ME to queue the file deletion operation until the system has restarted. If a file marked with the flag=1 parameter setting cannot be deleted because it is in use, a system restart will occur after the device installation is complete.
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 in the system folder: