TLama

Untitled

Oct 2nd, 2013
3,268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.37 KB | None | 0 0
  1. [Code]
  2. procedure InitializeWizard;
  3. begin
  4.   if ForceDirectories(ExpandConstant('{sd}\Downloaded')) then
  5.   begin
  6.     itd_init;
  7.     itd_addfile('http://link.net/soft/file.exe', ExpandConstant('{sd}\Downloaded\file.exe'));
  8.     itd_downloadafter(wpReady);
  9.   end
  10.   else
  11.     MsgBox('Creation of ' + ExpandConstant('{sd}\Downloaded') + ' folder failed!', mbError, MB_OK);  
  12. end;
Advertisement
Add Comment
Please, Sign In to add comment