msi20.iss 613 B

12345678910111213141516171819202122
  1. [CustomMessages]
  2. msi20_title=Windows Installer 2.0
  3. msi20_size=1.7 MB
  4. [Code]
  5. const
  6. msi20_url = 'http://download.microsoft.com/download/WindowsInstaller/Install/2.0/W9XMe/EN-US/InstMsiA.exe';
  7. procedure msi20(minVersion: string);
  8. begin
  9. // Check for required Windows Installer 2.0 on Windows 98 and ME
  10. if (IsX86() and maxwinversion(4, 9) and (compareversion(fileversion(ExpandConstant('{sys}{\}msi.dll')), minVersion) < 0)) then
  11. AddProduct('msi20.exe',
  12. '/q:a /c:"msiinst /delayrebootq"',
  13. CustomMessage('msi20_title'),
  14. CustomMessage('msi20_size'),
  15. msi20_url,
  16. false, false, false);
  17. end;
  18. [Setup]