dotnetfx20.iss 1.2 KB

1234567891011121314151617181920212223242526272829
  1. ; requires Windows 2000 Service Pack 3, Windows 98, Windows 98 Second Edition, Windows ME, Windows Server 2003, Windows XP Service Pack 2
  2. ; requires internet explorer 5.0.1 or higher
  3. ; requires windows installer 2.0 on windows 98, ME
  4. ; requires Windows Installer 3.1 on windows 2000 or higher
  5. ; http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5
  6. [CustomMessages]
  7. dotnetfx20_title=.NET Framework 2.0
  8. dotnetfx20_size=23 MB
  9. [Code]
  10. const
  11. dotnetfx20_url = 'http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe';
  12. dotnetfx20_url_x64 = 'http://download.microsoft.com/download/a/3/f/a3f1bf98-18f3-4036-9b68-8e6de530ce0a/NetFx64.exe';
  13. dotnetfx20_url_ia64 = 'http://download.microsoft.com/download/f/8/6/f86148a4-e8f7-4d08-a484-b4107f238728/NetFx64.exe';
  14. procedure dotnetfx20();
  15. begin
  16. if (not netfxinstalled(NetFx20, '')) then
  17. AddProduct('dotnetfx20' + GetArchitectureString() + '.exe',
  18. '/passive /norestart /lang:ENU',
  19. CustomMessage('dotnetfx20_title'),
  20. CustomMessage('dotnetfx20_size'),
  21. GetString(dotnetfx20_url, dotnetfx20_url_x64, dotnetfx20_url_ia64),
  22. false, false, false);
  23. end;
  24. [Setup]