Pascal Scripting: DeleteFile
From Inno Setup
Pascal Scripting: DeleteFile
Prototype:
function DeleteFile(const FileName: string): Boolean;
Description:
Erases the file named by FileName from the disk.
If the file cannot be deleted or does not exist, the function returns False.