IDownloadFile

The interface represents a download created by IFileOperation.NewDownloadFile to fetch a file from a URL into a folder.

Declaration

IDownloadFile : IDispatch

Properties

string Condition()
- Gets or sets a condition that controls whether the download runs.

IFolder Directory()
- Gets or sets the target folder where the file will be saved.

string FullPath()
- Gets the full destination path of the downloaded file.

bool ImpersonateInstallingUser()
- Gets or sets whether the download runs under the installing user's identity.

string MirrorUrl()
- Gets or sets an optional mirror URL used as a fallback download source.

string Name()
- Gets or sets the name of this operation.

string OnError()
- Gets or sets the error handling policy for the download.

bool OverwriteFileIfExists()
- Gets or sets whether an existing file should be overwritten.

bool RemoveFileOnInstall()
- Gets or sets whether the file should be removed during install cleanup.

SAFEARRAY(Variant) SupportedErrors()
- Gets the list of supported error identifiers for this operation

string Type()
- Gets the operation type identifier.

string Url()
- Gets or sets the source URL to download.

Methods

void DeleteFile()
- Deletes the downloaded file from the target location..