Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
; 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