From e84b537a60b603b4987fc9075fce83ae904550b2 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Wed, 19 Feb 2014 18:09:27 +0100 Subject: [PATCH] NSIS/FileAssociation: do not write DefaultIcon registry key Setting the DefaultIcon registry key uses LMMS' logo instead of a file icon with the logo inside. Thanks to Tres Finocchiaro for spotting the issue. --- cmake/nsis/FileAssociation.nsh | 1 - 1 file changed, 1 deletion(-) diff --git a/cmake/nsis/FileAssociation.nsh b/cmake/nsis/FileAssociation.nsh index f82451683..061df6c4f 100644 --- a/cmake/nsis/FileAssociation.nsh +++ b/cmake/nsis/FileAssociation.nsh @@ -128,7 +128,6 @@ NoBackup: StrCmp $0 "" 0 Skip WriteRegStr HKCR "$R0" "" "$R0" WriteRegStr HKCR "$R0\shell" "" "open" - WriteRegStr HKCR "$R0\DefaultIcon" "" "$R2,0" Skip: WriteRegStr HKCR "$R0\shell\open\command" "" '"$R2" "%1"' WriteRegStr HKCR "$R0\shell\edit" "" "Edit $R0"