mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Windows: simplify installer logic by copying only binaries for the current architecture.
This commit is contained in:
@@ -27,14 +27,7 @@ static wchar_t *szFiles[]=
|
||||
L"AVeraCrypt.exe",
|
||||
L"AVeraCryptExpander.exe",
|
||||
L"AVeraCrypt Format.exe",
|
||||
L"AVeraCrypt-x86.exe",
|
||||
L"AVeraCryptExpander-x86.exe",
|
||||
L"AVeraCrypt Format-x86.exe",
|
||||
L"AVeraCrypt-x64.exe",
|
||||
L"AVeraCryptExpander-x64.exe",
|
||||
L"AVeraCrypt Format-x64.exe",
|
||||
L"Averacrypt.sys",
|
||||
L"Averacrypt-x64.sys",
|
||||
L"Dveracrypt.sys",
|
||||
L"AVeraCrypt Setup.exe",
|
||||
L"XLanguages.zip",
|
||||
@@ -59,6 +52,18 @@ static wchar_t *szCompressedFiles[]=
|
||||
L"docs.zip"
|
||||
};
|
||||
|
||||
// Specifies what legacy files to remove during install
|
||||
static wchar_t *szLegacyFiles[]=
|
||||
{
|
||||
L"VeraCrypt-x86.exe",
|
||||
L"VeraCryptExpander-x86.exe",
|
||||
L"VeraCrypt Format-x86.exe",
|
||||
L"VeraCrypt-x64.exe",
|
||||
L"VeraCryptExpander-x64.exe",
|
||||
L"VeraCrypt Format-x64.exe",
|
||||
L"veracrypt-x64.sys",
|
||||
};
|
||||
|
||||
#define FILENAME_64BIT_DRIVER L"veracrypt-x64.sys"
|
||||
#define NBR_COMPRESSED_FILES (sizeof(szCompressedFiles) / sizeof(szCompressedFiles[0]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user