From 7739749220603c9079a50940cc5f7423b28101cd Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Mon, 11 Jan 2016 13:28:26 -0800 Subject: [PATCH] add URL handler registration for Interface --- cmake/templates/NSIS.template.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cmake/templates/NSIS.template.in b/cmake/templates/NSIS.template.in index 7d1e8ae379..e99d3b6441 100644 --- a/cmake/templates/NSIS.template.in +++ b/cmake/templates/NSIS.template.in @@ -704,10 +704,16 @@ Section "-Core installation" @CPACK_NSIS_CREATE_ICONS@ @CPACK_NSIS_CREATE_ICONS_EXTRA@ - ; Conditional handling for interface shortcut + ; Conditional handling for Interface specific options ${If} ${SectionIsSelected} ${client} CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\${INTERFACE_SHORTCUT_NAME}.lnk" \ "$INSTDIR\${INTERFACE_EXEC_NAME}" + + ; hifi:// protocol handler registry entries + WriteRegStr HKCR 'hifi' '' 'URL:Alert Protocol' + WriteRegStr HKCR 'hifi' 'URL Protocol' '' + WriteRegStr HKCR 'hifi\DefaultIcon' '' '$INSTDIR\${INTERFACE_EXEC_NAME},1' + WriteRegStr HKCR 'hifi\shell\open\command' '' '$INSTDIR\${INTERFACE_EXEC_NAME} --url "%1"' ${EndIf} ; Conditional handling for server console shortcut