VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Setup
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-06-27 23:05:47 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-06-28 01:06:14 +0200
commitb270a453aa53deed01675bc19f1cb14b05c703d1 (patch)
treed028912c6cb8f675fbd6866d5a2496105b7fad46 /src/Setup
parent61aec8a9a60337f7e3c93576893ca4085ed65b9d (diff)
downloadVeraCrypt-b270a453aa53deed01675bc19f1cb14b05c703d1.tar.gz
VeraCrypt-b270a453aa53deed01675bc19f1cb14b05c703d1.zip
Windows: remove unused code targeting Windows 2000.
Diffstat (limited to 'src/Setup')
-rw-r--r--src/Setup/Wizard.c16
1 files changed, 0 insertions, 16 deletions
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)