Delete Files
This command deletes files already present on the target system.
Delete from Folder
Specify the full path to the folder containing the files to delete.
Files
Specifies the files to delete. You may use wildcards.
With the
engine, you may not use any variables in this field, only string literals are allowed.With the
, you may use variables in this field.Delete when Installing
With the
engine, check to have the files deleted when the product is being installed or maintained. This field is ignored by the .Delete when Uninstalling
With the
engine, check to have the files deleted when the product is being uninstalled. This field is ignored by the .Notes
- With the Copy/Move Local Files command in your script, you may want to pair each such command with a Delete Files command that undoes the operation using the option, since the local files command does not undo its action upon uninstallation. engine, if you use the
- To delete matching files in subfolders as well, use the Delete Files Recursive command.