ShareX/ShareX.Setup/InnoSetup/Scripts/products/kb835732.iss

28 lines
911 B
Text
Raw Normal View History

2018-03-01 02:40:20 +13:00
; required by .NET Framework 2.0 Service Pack 1 on Windows 2000 Service Pack 2-4
2020-07-26 23:02:23 +12:00
; https://www.microsoft.com/technet/security/bulletin/ms04-011.mspx
; https://www.microsoft.com/downloads/details.aspx?FamilyId=0692C27E-F63A-414C-B3EB-D2342FBB6C00
[CustomMessages]
2020-07-26 23:02:23 +12:00
kb835732_title=Windows 2000 Security Update (KB835732)
2018-03-01 02:40:20 +13:00
kb835732_size=6.8 MB
[Code]
const
kb835732_url = 'http://download.microsoft.com/download/f/a/a/faa796aa-399d-437a-9284-c3536e9f2e6e/Windows2000-KB835732-x86-ENU.EXE';
procedure kb835732();
begin
if (exactwinversion(5, 0) and (minwinspversion(5, 0, 2) and maxwinspversion(5, 0, 4))) then begin
if (not RegKeyExists(HKLM, 'SOFTWARE\Microsoft\Updates\Windows 2000\SP5\KB835732\Filelist')) then
AddProduct('kb835732.exe',
2018-03-01 02:40:20 +13:00
'/passive /norestart',
CustomMessage('kb835732_title'),
CustomMessage('kb835732_size'),
kb835732_url,
2018-03-01 02:40:20 +13:00
false, false, false);
end;
2018-03-01 02:40:20 +13:00
end;
[Setup]