Destination
(string) The destination path for file being installed.
The callback function should return a boolean value (true or false) indicating whether or not to overwrite the file:
VALUE DESCRIPTION |
|
true |
Overwrite the file. |
false |
Do not overwrite the file. |
Re t u r n s
(boolean) True if the file was installed, or false if it wasn't or if an error occurs. You can use
Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
File.IsInUse
OverviewExamples
boolean File.IsInUse ( string Filename )
De s cr ip t ion
Returns true if a file is in use at a specific location or false if it is not. If a file is in use it cannot be copied over or deleted.
P arame t er s
Filename
(string) The path to the file.
Re t u r n s
(boolean) True if the file is in use, or false if it is not, or if an error occurs. You can use
Application.GetLastError to determine whether this action failed, and why.