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:
parent
efefbd8269
commit
13423fbba5
1 changed files with 2 additions and 0 deletions
|
@ -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" ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue