From c8bf3151880f0bed19938a7c572b24347e689175 Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Sat, 29 Sep 2012 12:25:22 +0200 Subject: [PATCH] Windows: fix URI association setting in registry - fix for #1877 - fix was reported to work via https://bitcointalk.org/index.php?topic=110243.msg1230418#msg1230418 --- share/setup.nsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/setup.nsi b/share/setup.nsi index 4e48718a4..f799987ed 100644 --- a/share/setup.nsi +++ b/share/setup.nsi @@ -101,7 +101,7 @@ Section -post SEC0001 WriteRegStr HKCR "bitcoin" "URL Protocol" "" WriteRegStr HKCR "bitcoin" "" "URL:Bitcoin" WriteRegStr HKCR "bitcoin\DefaultIcon" "" $INSTDIR\bitcoin-qt.exe - WriteRegStr HKCR "bitcoin\shell\open\command" "" '"$INSTDIR\bitcoin-qt.exe" "$$1"' + WriteRegStr HKCR "bitcoin\shell\open\command" "" '"$INSTDIR\bitcoin-qt.exe" "%1"' SectionEnd # Macro for selecting uninstaller sections