mirror of
https://github.com/ShareX/ShareX.git
synced 2024-08-20 20:51:55 +12:00
22 lines
632 B
Text
22 lines
632 B
Text
[CustomMessages]
|
|
msi31_title=Windows Installer 3.1
|
|
|
|
msi31_size=2.5 MB
|
|
|
|
[Code]
|
|
const
|
|
msi31_url = 'http://download.microsoft.com/download/1/4/7/147ded26-931c-4daf-9095-ec7baf996f46/WindowsInstaller-KB893803-v2-x86.exe';
|
|
|
|
procedure msi31(minVersion: string);
|
|
begin
|
|
// Check for required Windows Installer 3.0 on Windows 2000 or higher
|
|
if (IsX86() and minwinversion(5, 0) and (compareversion(fileversion(ExpandConstant('{sys}{\}msi.dll')), minVersion) < 0)) then
|
|
AddProduct('msi31.exe',
|
|
'/passive /norestart',
|
|
CustomMessage('msi31_title'),
|
|
CustomMessage('msi31_size'),
|
|
msi31_url,
|
|
false, false, false);
|
|
end;
|
|
|
|
[Setup]
|