From 03867fbf5653c0260e71271e0ddf46ed1045b488 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 22 Jun 2013 17:34:53 +0200 Subject: Modifications to remove all TrueCrypt references in names. generate new GUIDs for VeraCrypt. Replace "TRUE" by "VERA" in volume headers and driver magic word. --- src/Setup/ComSetup.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Setup/ComSetup.cpp') diff --git a/src/Setup/ComSetup.cpp b/src/Setup/ComSetup.cpp index 1608bcea..25d16a02 100644 --- a/src/Setup/ComSetup.cpp +++ b/src/Setup/ComSetup.cpp @@ -29,8 +29,8 @@ extern "C" BOOL RegisterComServers (char *modulePath) wchar_t mainModule[1024], formatModule[1024]; CComPtr 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]; -- cgit v1.2.3