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:
parent
9d883f98d8
commit
3452e3b9b2
8 changed files with 8 additions and 4 deletions
|
@ -197,6 +197,7 @@ Version History
|
|||
|
||||
2.3.3
|
||||
- Update check switched from JNetLib to WinInet
|
||||
- New file type icons
|
||||
|
||||
|
||||
Copyright Information
|
||||
|
|
|
@ -13,8 +13,9 @@ res = Split("""
|
|||
""")
|
||||
|
||||
resources = Split("""
|
||||
shell.ico
|
||||
icon.ico
|
||||
assoc_nsi.ico
|
||||
assoc_nsh.ico
|
||||
makensisw.xml
|
||||
logo.bmp
|
||||
toolbar.bmp
|
||||
|
|
BIN
Contrib/Makensisw/assoc_nsh.ico
Normal file
BIN
Contrib/Makensisw/assoc_nsh.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
BIN
Contrib/Makensisw/assoc_nsi.ico
Normal file
BIN
Contrib/Makensisw/assoc_nsi.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
|
@ -32,7 +32,8 @@
|
|||
#define DLG_ABOUT 103
|
||||
#define IDM_MENU 104
|
||||
#define IDK_ACCEL 105
|
||||
#define IDI_SHELL 112
|
||||
#define IDI_ASSOC_NSI 112
|
||||
#define IDI_ASSOC_NSH 113
|
||||
#define IDB_LOGO 115
|
||||
#define DLG_SETTINGS 116
|
||||
#define IDB_BITMAP1 120
|
||||
|
|
|
@ -55,7 +55,8 @@ END
|
|||
// Icon with lowest ID value placed first to ensure application icon
|
||||
// remains consistent on all systems.
|
||||
IDI_ICON ICON "icon.ico"
|
||||
IDI_SHELL ICON "shell.ico"
|
||||
IDI_ASSOC_NSI ICON "assoc_nsi.ico"
|
||||
IDI_ASSOC_NSH ICON "assoc_nsh.ico"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 23 KiB |
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue