Removes a remote file from the DwinsHs_DwonloadsList download queue, and removes all of its mirror sources from the DwinsHs_MirrorsList mirror sources list. It will not be downloaded when the DwinsHs_CurPageChanged procedure is executed (the Setup wizard moves to the pre-defined downloading wizard page).
You should use the procedure in the BeforeDownload callback function specified by the BeforeDownload parameter of the DwinsHs_CurPageChanged procedure.
function DwinsHs_RemoveRemoteFile(Filename: string; Delete: Boolean): Boolean;
Specifies the path and name of the local file the remote file will be saved as.
Specifies the parameter to true to delete the local file if it has been downloaded.
Returns true if operation was successful, false otherwise.
The function is avaliable only when both DwinsHs_Use_Predefined_Downloading_WizardPage and DwinsHs_Use_RemoveRemoteFile marcos are defined.
Copyright © 2001-2022, Han-soft Corporation. All rights reserved.