DwinsHs_RemoteRemoteFile function

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.

Declaration:

function DwinsHs_RemoveRemoteFile(Filename: string; Delete: Boolean): Boolean;

Parameters:

Return:

Returns true if operation was successful, false otherwise.

Note:

The function is avaliable only when both DwinsHs_Use_Predefined_Downloading_WizardPage and DwinsHs_Use_RemoveRemoteFile marcos are defined.