views:

42

answers:

1

I want to do some HTTP request during the installation of a software with InnoSetup. Can I use the class TStream to open an URL as if it was a file or must I use the Exec function with curl.exe being attached in the installer, or is there an easier way ?

+2  A: 

Have a look at ISTool and the distributed isxdl.dll. Also Inno Setup comes with the script setup.iss in the examples folder which utilizes the isxdl.dll for downloading additional setup files.

splash