From: Chris Sharp Date: Mon, 30 Apr 2018 19:30:56 +0000 (-0400) Subject: LP#1731922 - Tell Windows installer about Firefox Hatch. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a45c965c0b275854486eeff1c45f2bb3899e27f5;p=working%2FHatch.git LP#1731922 - Tell Windows installer about Firefox Hatch. Signed-off-by: Chris Sharp --- 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