mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-12 03:18:26 -06:00
Modifications to remove all TrueCrypt references in names. generate new GUIDs for VeraCrypt. Replace "TRUE" by "VERA" in volume headers and driver magic word.
This commit is contained in:
@@ -29,8 +29,8 @@ extern "C" BOOL RegisterComServers (char *modulePath)
|
||||
wchar_t mainModule[1024], formatModule[1024];
|
||||
CComPtr<ITypeLib> tl, tl2;
|
||||
|
||||
wsprintfW (mainModule, L"%hsTrueCrypt.exe", modulePath);
|
||||
wsprintfW (formatModule, L"%hsTrueCrypt Format.exe", modulePath);
|
||||
wsprintfW (mainModule, L"%hsVeraCrypt.exe", modulePath);
|
||||
wsprintfW (formatModule, L"%hsVeraCrypt Format.exe", modulePath);
|
||||
|
||||
UnRegisterTypeLib (LIBID_TrueCryptMainCom, TC_MAIN_COM_VERSION_MAJOR, TC_MAIN_COM_VERSION_MINOR, 0, SYS_WIN32);
|
||||
UnRegisterTypeLib (LIBID_TrueCryptFormatCom, TC_FORMAT_COM_VERSION_MAJOR, TC_FORMAT_COM_VERSION_MINOR, 0, SYS_WIN32);
|
||||
@@ -72,10 +72,10 @@ extern "C" BOOL UnregisterComServers (char *modulePath)
|
||||
CRegObject ro;
|
||||
ro.FinalConstruct ();
|
||||
|
||||
wsprintfW (module, L"%hsTrueCrypt.exe", modulePath);
|
||||
wsprintfW (module, L"%hsVeraCrypt.exe", modulePath);
|
||||
ro.AddReplacement (L"MAIN_MODULE", module);
|
||||
|
||||
wsprintfW (module, L"%hsTrueCrypt Format.exe", modulePath);
|
||||
wsprintfW (module, L"%hsVeraCrypt Format.exe", modulePath);
|
||||
ro.AddReplacement (L"FORMAT_MODULE", module);
|
||||
|
||||
wchar_t setupModule[MAX_PATH];
|
||||
|
||||
Reference in New Issue
Block a user