Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Code]
- procedure InitializeWizard;
- begin
- if ForceDirectories(ExpandConstant('{sd}\Downloaded')) then
- begin
- itd_init;
- itd_addfile('http://link.net/soft/file.exe', ExpandConstant('{sd}\Downloaded\file.exe'));
- itd_downloadafter(wpReady);
- end
- else
- MsgBox('Creation of ' + ExpandConstant('{sd}\Downloaded') + ' folder failed!', mbError, MB_OK);
- end;
Advertisement
Add Comment
Please, Sign In to add comment