简体   繁体   English

在InnoSetup中使用HTTP

[英]Use HTTP in InnoSetup

I want to do some HTTP request during the installation of a software with InnoSetup. 我想在使用InnoSetup安装软件期间执行一些HTTP请求。 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 ? 是否可以使用类TStream打开文件一样打开URL,或者必须在安装程序中附加带有curl.exe的Exec函数,还是有更简单的方法?

Have a look at ISTool and the distributed isxdl.dll . 看一下ISTool和分布式的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. 创新安装自带的脚本setup.issexamples ,其利用额外下载安装文件的文件夹isxdl.dll。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM