VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2018-04-16 09:49:30 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2018-04-23 16:59:30 +0200
commit3f3a567782634f0759a58a68371563a8aaf39bb0 (patch)
tree389c9c93a6806f073f98fd34c719203fb6f9edef
parentf5cb9d1f2eec08649c9b78d389f4e904cd371165 (diff)
downloadVeraCrypt-3f3a567782634f0759a58a68371563a8aaf39bb0.tar.gz
VeraCrypt-3f3a567782634f0759a58a68371563a8aaf39bb0.zip
Windows: during install, copy the 64-bit driver if we are running on 64-bit windows
-rw-r--r--src/Setup/Setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Setup/Setup.c b/src/Setup/Setup.c
index 5f2cea19..f6ea93fe 100644
--- a/src/Setup/Setup.c
+++ b/src/Setup/Setup.c
@@ -742,7 +742,7 @@ BOOL DoFilesInstall (HWND hwndDlg, wchar_t *szDestDir)
curFileName [wcslen (szFiles[i]) - 1] = 0;
if (Is64BitOs ()
- && wcscmp (szFiles[i], L"Dveracrypt.sys") == 0)
+ && ((wcscmp (szFiles[i], L"Dveracrypt.sys") == 0) || (wcscmp (szFiles[i], L"Averacrypt.sys") == 0)))
{
StringCbCopyNW (curFileName, sizeof(curFileName), FILENAME_64BIT_DRIVER, sizeof (FILENAME_64BIT_DRIVER));
}