New nsi and nsh file type icons

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6640 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2015-11-23 10:36:58 +00:00
parent 9d883f98d8
commit 3452e3b9b2
8 changed files with 8 additions and 4 deletions

View file

@ -264,7 +264,7 @@ ${MementoSection} "NSIS Core Files (required)" SecCore
WriteRegStr HKCR ".nsh" "" "NSIS.Header"
WriteRegStr HKCR ".nsh" "PerceivedType" "text"
WriteRegStr HKCR "NSIS.Header" "" "NSIS Header File"
WriteRegStr HKCR "NSIS.Header\DefaultIcon" "" "$INSTDIR\makensisw.exe,1"
WriteRegStr HKCR "NSIS.Header\DefaultIcon" "" "$INSTDIR\makensisw.exe,2"
ReadRegStr $R0 HKCR "NSIS.Header\shell\open\command" ""
${If} $R0 == ""
WriteRegStr HKCR "NSIS.Header\shell" "" "open"