Total
(number) The total bytes that will be deleted.
The callback function should return a boolean value (true or false) indicating whether the delete operation should continue:
VALUE DESCRIPTION |
|
true |
Continue with the delete operation. |
false |
Stop the delete operation as soon as possible. |
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
File.DeleteOnReboot
OverviewExamples
File.DeleteOnReboot ( string Filename )
De s cr ip t ion
Deletes a file on the next system reboot.
Note: On Windows 95/98/ME systems, the filename cannot contain long path or file names, i.e., the path must conform to the DOS 8.3 naming convention. Windows NT, 2000, XP, Vista or later do not suffer from this limitation; however, if your installer needs to run on Windows 95, 98 or ME, you will need to use the DOS 8.3 naming convention to ensure that the action will work for all users."
P arame t er s
Filename
(string) The path to the file to delete on the next reboot.
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
File.DoesExist
OverviewExamples
boolean File.DoesExist ( string Filename )
De s cr ip t ion
Returns true if a file exists at a specific location or false if it does not.
P arame t er s
Filename
(string) The path to the file.
Re t u r n s
(boolean) True if the file exists at the specified location, false if it doesn't or if an error occurs. You can use Application.GetLastError to determine whether this action failed, and why.