msi31.iss 632 B

12345678910111213141516171819202122
  1. [CustomMessages]
  2. msi31_title=Windows Installer 3.1
  3. msi31_size=2.5 MB
  4. [Code]
  5. const
  6. msi31_url = 'http://download.microsoft.com/download/1/4/7/147ded26-931c-4daf-9095-ec7baf996f46/WindowsInstaller-KB893803-v2-x86.exe';
  7. procedure msi31(minVersion: string);
  8. begin
  9. // Check for required Windows Installer 3.0 on Windows 2000 or higher
  10. if (IsX86() and minwinversion(5, 0) and (compareversion(fileversion(ExpandConstant('{sys}{\}msi.dll')), minVersion) < 0)) then
  11. AddProduct('msi31.exe',
  12. '/passive /norestart',
  13. CustomMessage('msi31_title'),
  14. CustomMessage('msi31_size'),
  15. msi31_url,
  16. false, false, false);
  17. end;
  18. [Setup]