如何在代码部分创建文件夹? 我使用inno download的示例脚本。
[Code]
//HERE I NEED TO CREATE FOLDER "Downloaded"
procedure InitializeWizard();
begin
itd_init;
itd_addfile('http://link.net/soft/file.exe',expandconstant('{sd}\Downloaded\file.exe'));
itd_downloadafter(wpReady);
end;
CreateDir
函数,或者根据您想要创建该文件夹的方式使用ForceDirectories
。 - TLamaForceDirectories
函数救了我的一天 !!! 谢谢! - Jason