Download DLL

About

ISX Download DLL is a "plugin" for ISX that allows you to download files from the Internet during the installation process.

Primarily written to be used from Inno Setup, but can be used by any software that can call DLL's. If you have the declarations needed for VB or other languages, please send them to me to include them on this page.

Exported Functions

Definitions for ISX Pascal Scripting

Definitions for Visual Basic

Definitions for C++

History


isxdl_Download

Immediately downloads a file from the Internet.

Syntax

Parameters

Return Value


isxdl_AddFile

Adds a file to the internal file list.

Syntax

Parameters

Return Value

Remarks

To access a url with basic password protection, enter something like http://username:password@www.domain.com/path/page.html as url.

isxdl_AddFileSize

Adds a file to the internal file list, and tells how big the file is. Use this if you know the size of the file, and know that it will not change. Means that the DLL won't have to find the size, which can take some time if you have many files to download.

Syntax

Parameters

Return Value


isxdl_DownloadFiles

Downloads all files added with isxdl_AddFile or isxdl_AddFileSize.

Syntax

Parameters

Return Value


isxdl_ClearFiles

Clears the internal file list. Shouldn't be necessary since files will be removed as they are successfully downloaded.

Syntax

Parameters

Return Value


isxdl_IsConnected

Tells wether the computer is connected to the Internet or not. This is kind of experimental, and very little tested.

Syntax

Parameters

Return Value


isxdl_SetOption

Set various options.

Syntax

Parameters

Return Value

Remarks


isxdl_GetFileName

Get the real file name of a downloaded file. The URL to download ISTool is 'http://www.istool.org/getistool.aspx', and before downloading isxdl_GetFileName returns 'getistool.aspx'. After downloading, the result will be 'istool-5.0.6.1.exe'.

Syntax

Parameters

Return Value


Copyright © 2002-2005
Bjørnar Henden