From e92291de98ffdc0299e680892b18ff2e77de8a79 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Fri, 18 Mar 2016 13:52:19 +0100 Subject: [PATCH] LocalizationRepositoryPath registered for 32 and 64-bit registry, and inside HKLM instead of HKCU --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b7fe541..e519418 100644 --- a/Makefile +++ b/Makefile @@ -127,10 +127,16 @@ Unregister :: \ UnregisterSettings RegisterSettings :: - reg.exe add "HKCU\Software\Amebis\ZRCola" /v "LocalizationRepositoryPath" /t REG_SZ /d "$(MAKEDIR)\$(OUTPUT_DIR)\locale" /f > NUL + reg.exe add "HKLM\Software\Amebis\ZRCola" /v "LocalizationRepositoryPath" /t REG_SZ /d "$(MAKEDIR)\$(OUTPUT_DIR)\locale" $(REG_FLAGS) > NUL +!IF "$(PROCESSOR_ARCHITECTURE)" == "AMD64" + reg.exe add "HKLM\Software\Amebis\ZRCola" /v "LocalizationRepositoryPath" /t REG_SZ /d "$(MAKEDIR)\$(OUTPUT_DIR)\locale" $(REG_FLAGS32) > NUL +!ENDIF UnregisterSettings :: - -reg.exe delete "HKCU\Software\Amebis\ZRCola" /v "LocalizationRepositoryPath" /f > NUL + -reg.exe delete "HKLM\Software\Amebis\ZRCola" /v "LocalizationRepositoryPath" $(REG_FLAGS) > NUL +!IF "$(PROCESSOR_ARCHITECTURE)" == "AMD64" + -reg.exe delete "HKLM\Software\Amebis\ZRCola" /v "LocalizationRepositoryPath" $(REG_FLAGS32) > NUL +!ENDIF InstallFonts :: \ "$(WINDIR)\Fonts\00_ZRCola_Re.ttf" \