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.
This commit is contained in:
Tobias Doerffel
2014-02-19 18:09:27 +01:00
parent d39a79220a
commit e84b537a60

View File

@@ -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"