5

How can i create folder in code section? I use example script of 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;
Jens A. Koch
  • 39,862
  • 13
  • 113
  • 141

1 Answers1

5

Why not use the [Dirs] section to create a folder:

Name: {app}\Downloaded
George Ogden
  • 596
  • 9
  • 15