; required by .NET Framework 2.0 Service Pack 1 on Windows 2000 Service Pack 2-4
; http://www.microsoft.com/technet/security/bulletin/ms04-011.mspx
; http://www.microsoft.com/downloads/details.aspx?FamilyId=0692C27E-F63A-414C-B3EB-D2342FBB6C00

[CustomMessages]
en.kb835732_title=Windows 2000 Security Update (KB835732)
de.kb835732_title=Windows 2000 Sicherheitsupdate (KB835732)

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',
				'/passive /norestart',
				CustomMessage('kb835732_title'),
				CustomMessage('kb835732_size'),
				kb835732_url,
				false, false, false);
	end;
end;

[Setup]
