added .nsi shell icon

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1064 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
rainwater 2002-09-20 11:53:19 +00:00
parent 73b7ed1e1e
commit 702c7a5f2e
4 changed files with 6 additions and 4 deletions

View file

@ -104,12 +104,12 @@ Section "NSI Development Shell Extensions" SecExtention
WriteRegStr HKCR ".nsh" "" "NSHFile"
WriteRegStr HKCR "NSHFile" "" "NSI Script File"
WriteRegStr HKCR "NSHFile\shell" "" "open"
WriteRegStr HKCR "NSHFile\DefaultIcon" "" $INSTDIR\makensis.exe,0
WriteRegStr HKCR "NSHFile\DefaultIcon" "" $INSTDIR\makensisw.exe,1
WriteRegStr HKCR "NSHFile\shell\open\command" "" 'notepad.exe "%1"'
WriteRegStr HKCR ".nsi" "" "NSISFile"
WriteRegStr HKCR "NSISFile" "" "NSI Script File"
WriteRegStr HKCR "NSISFile\shell" "" "open"
WriteRegStr HKCR "NSISFile\DefaultIcon" "" $INSTDIR\makensis.exe,0
WriteRegStr HKCR "NSISFile\DefaultIcon" "" $INSTDIR\makensisw.exe,1
WriteRegStr HKCR "NSISFile\shell\open\command" "" 'notepad.exe "%1"'
WriteRegStr HKCR "NSISFile\shell\compile" "" "Compile NSI"
WriteRegStr HKCR "NSISFile\shell\compile\command" "" '"$INSTDIR\makensisw.exe" /CD "%1"'