Register PerceivedType=text for .nsi and .nsh

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6382 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2013-07-10 16:36:18 +00:00
parent efefbd8269
commit 13423fbba5

View file

@ -225,6 +225,7 @@ ${MementoSection} "NSIS Core Files (required)" SecCore
DeleteRegKey HKCR "NSISFile"
WriteRegStr HKCR ".nsi" "" "NSIS.Script"
WriteRegStr HKCR ".nsi" "PerceivedType" "text"
WriteRegStr HKCR "NSIS.Script" "" "NSIS Script File"
WriteRegStr HKCR "NSIS.Script\DefaultIcon" "" "$INSTDIR\makensisw.exe,1"
ReadRegStr $R0 HKCR "NSIS.Script\shell\open\command" ""
@ -242,6 +243,7 @@ ${MementoSection} "NSIS Core Files (required)" SecCore
DeleteRegKey HKCR "NSHFile"
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"
ReadRegStr $R0 HKCR "NSIS.Header\shell\open\command" ""