Advertisement
TLama

Untitled

Sep 26th, 2014
483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.41 KB | None | 0 0
  1. procedure InitializeWizard;
  2. var
  3.   UserAgent: string;
  4. begin
  5.   ITD_Init;
  6.   // Firefox user agent
  7.   UserAgent := 'Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0';
  8.   ITD_SetOption('ITD_Agent', UserAgent);
  9.  
  10.   ITD_AddFile('http://download.microsoft.com/download/1/d/b/1dbee406-9b5f-48c5-b901-dd1a3f3c4669/Merlin.exe',
  11.     ExpandConstant('{tmp}\Merlin.exe'));
  12.   ITD_DownloadAfter(wpReady);
  13. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement