From b270a453aa53deed01675bc19f1cb14b05c703d1 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 27 Jun 2020 23:05:47 +0200 Subject: Windows: remove unused code targeting Windows 2000. --- src/Setup/Wizard.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/Setup/Wizard.c') diff --git a/src/Setup/Wizard.c b/src/Setup/Wizard.c index a497d4e0..1021e8bc 100644 --- a/src/Setup/Wizard.c +++ b/src/Setup/Wizard.c @@ -915,22 +915,6 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa } bLicenseAccepted = TRUE; EnableWindow (GetDlgItem (hwndDlg, IDHELP), TRUE); - - if (nCurrentOS == WIN_2000) - { - WarningDirect (L"Warning: Please note that this may be the last version of VeraCrypt that supports Windows 2000. If you want to be able to upgrade to future versions of VeraCrypt (which is highly recommended), you will need to upgrade to Windows XP or a later version of Windows.\n\nNote: Microsoft stopped issuing security updates for Windows 2000 to the general public on 7/13/2010 (the last non-security update for Windows 2000 was issued to the general public in 2005).", hwndDlg); - - - HKEY hkey; - - if (RegOpenKeyEx (HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\Updates\\Windows 2000\\SP5\\Update Rollup 1", 0, KEY_READ, &hkey) != ERROR_SUCCESS) - { - ErrorDirect (L"VeraCrypt requires Update Rollup 1 for Windows 2000 SP4 to be installed.\n\nFor more information, see http://support.microsoft.com/kb/891861", hwndDlg); - AbortProcessSilent (); - } - - RegCloseKey (hkey); - } } #ifndef PORTABLE else if (nCurPageNo == WIZARD_MODE_PAGE) -- cgit v1.2.3