LocalizationRepositoryPath registered for 32 and 64-bit registry, and inside HKLM instead of HKCU

This commit is contained in:
Simon Rozman 2016-03-18 13:52:19 +01:00
parent cb90f05ed2
commit e92291de98

View File

@ -127,10 +127,16 @@ Unregister :: \
UnregisterSettings UnregisterSettings
RegisterSettings :: 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 :: 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 :: \ InstallFonts :: \
"$(WINDIR)\Fonts\00_ZRCola_Re.ttf" \ "$(WINDIR)\Fonts\00_ZRCola_Re.ttf" \