From a45c965c0b275854486eeff1c45f2bb3899e27f5 Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Mon, 30 Apr 2018 15:30:56 -0400 Subject: [PATCH] LP#1731922 - Tell Windows installer about Firefox Hatch. Signed-off-by: Chris Sharp --- installer/windows/hatch.nsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/installer/windows/hatch.nsi b/installer/windows/hatch.nsi index 68fed3e904..0868d73105 100644 --- a/installer/windows/hatch.nsi +++ b/installer/windows/hatch.nsi @@ -209,6 +209,16 @@ section "install" ; Connect Hatch to Chrome and install the Hatch extension from the Chrome Web Store WriteRegStr HKLM "SOFTWARE\Google\Chrome\NativeMessagingHosts\org.evergreen_ils.hatch" "" "$INSTDIR\extension\host\org.evergreen_ils.hatch.json" WriteRegStr HKLM "Software\Google\Chrome\Extensions\${EXTENSIONID}" "update_url" "${EXTENSION_UPDATEURL}" + + ${If} ${RunningX64} + SetRegView 64 + ${EndIf} + + WriteRegStr HKLM "SOFTWARE\Mozilla\NativeMessagingHosts\org.evergreen_ils.hatch" "" "$INSTDIR\extension\host\org.evergreen_ils.hatch.json" + + ${If} ${RunningX64} + SetRegView 32 + ${EndIf} SectionEnd -- 2.11.0