VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2018-04-16 07:49:30 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2018-04-23 14:59:30 (GMT)
commit3f3a567782634f0759a58a68371563a8aaf39bb0 (patch)
tree389c9c93a6806f073f98fd34c719203fb6f9edef /src
parentf5cb9d1f2eec08649c9b78d389f4e904cd371165 (diff)
downloadVeraCrypt-3f3a567782634f0759a58a68371563a8aaf39bb0.zip
VeraCrypt-3f3a567782634f0759a58a68371563a8aaf39bb0.tar.gz
Windows: during install, copy the 64-bit driver if we are running on 64-bit windows
Diffstat (limited to 'src')
-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 5f2cea1..f6ea93f 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));
}