From ac4636c9b7465f3e78764389bcc19da31bd353ba Mon Sep 17 00:00:00 2001
From: smorlat <smorlat@3f6dc0c8-ddfe-455d-9043-3cd528dc4637>
Date: Sun, 4 Oct 2009 19:43:54 +0000
Subject: [PATCH] add reg keys to recognize sip uris.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@696 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
---
 linphone/linphone.iss.in | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/linphone/linphone.iss.in b/linphone/linphone.iss.in
index f5ba738a7c..b7726f542e 100644
--- a/linphone/linphone.iss.in
+++ b/linphone/linphone.iss.in
@@ -33,6 +33,16 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
 Name: "{group}\Linphone"; Filename: "{app}\bin\linphone-3.exe" ; WorkingDir: "{app}"
 Name: "{userdesktop}\Linphone"; Filename: "{app}\bin\linphone-3.exe"; WorkingDir: "{app}" ; Tasks: desktopicon
 
+[Registry]
+Root: HKCR; Subkey: "sip";
+Root: HKCR; Subkey: "sip"; ValueData: "URL: SIP protocol" ; ValueType:string
+Root: HKCR; Subkey: "sip"; ValueName: "EditFlags"; ValueData: "02 00 00 00" ; ValueType:binary
+Root: HKCR; Subkey: "sip"; ValueName: "URL Protocol" ;  ValueType:string
+Root: HKCR; Subkey: "sip\DefaultIcon"; ValueData: "{app}\bin\linphone-3.exe"; ValueType:string ; Flags:uninsdeletekey
+Root: HKCR; Subkey: "sip\shell"
+Root: HKCR; Subkey: "sip\shell\open"
+Root: HKCR; Subkey: "sip\shell\open\command"; ValueType:string ; ValueData: "{app}\bin\linphone-3.exe --workdir {app} --call %1"; Flags:uninsdeletekey
+
 [Run]
 Filename: "{app}\bin\linphone-3.exe"; Description: "{cm:LaunchProgram,Linphone}"; WorkingDir: "{app}" ; Flags: nowait postinstall skipifsilent
 
-- 
GitLab