1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-12-31 19:09:44 -06:00

Windows: make Setup correctly manage option to disable memory protection during upgrade

This commit is contained in:
Mounir IDRASSI
2023-09-24 12:48:34 +02:00
parent 2363506e09
commit 718f11d9c3
3 changed files with 8 additions and 2 deletions

View File

@@ -883,6 +883,9 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
DonColorSchemeId = GetDonVal (2, 9);
// get the initial value of bDisableMemoryProtection by reading the registry
bDisableMemoryProtection = bOriginalDisableMemoryProtection = ReadMemoryProtectionConfig()? FALSE : TRUE;
if (bDevm)
{
InitWizardDestInstallPath ();