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:
parent
73b7ed1e1e
commit
702c7a5f2e
4 changed files with 6 additions and 4 deletions
|
@ -10,6 +10,7 @@
|
||||||
#define IDR_DEFAULT1 108
|
#define IDR_DEFAULT1 108
|
||||||
#define IDI_ABOUT 110
|
#define IDI_ABOUT 110
|
||||||
#define IDM_LOGWIN 111
|
#define IDM_LOGWIN 111
|
||||||
|
#define IDI_SHELL 112
|
||||||
#define IDC_LOGWIN 402
|
#define IDC_LOGWIN 402
|
||||||
#define IDC_VERSION 405
|
#define IDC_VERSION 405
|
||||||
#define IDC_CLOSE 406
|
#define IDC_CLOSE 406
|
||||||
|
@ -35,7 +36,7 @@
|
||||||
//
|
//
|
||||||
#ifdef APSTUDIO_INVOKED
|
#ifdef APSTUDIO_INVOKED
|
||||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||||
#define _APS_NEXT_RESOURCE_VALUE 112
|
#define _APS_NEXT_RESOURCE_VALUE 113
|
||||||
#define _APS_NEXT_COMMAND_VALUE 40008
|
#define _APS_NEXT_COMMAND_VALUE 40008
|
||||||
#define _APS_NEXT_CONTROL_VALUE 1009
|
#define _APS_NEXT_CONTROL_VALUE 1009
|
||||||
#define _APS_NEXT_SYMED_VALUE 101
|
#define _APS_NEXT_SYMED_VALUE 101
|
||||||
|
|
|
@ -55,6 +55,7 @@ END
|
||||||
// Icon with lowest ID value placed first to ensure application icon
|
// Icon with lowest ID value placed first to ensure application icon
|
||||||
// remains consistent on all systems.
|
// remains consistent on all systems.
|
||||||
IDI_ICON ICON DISCARDABLE "..\\..\\contrib\\icons\\adni18-installer-C-no48xp.ico"
|
IDI_ICON ICON DISCARDABLE "..\\..\\contrib\\icons\\adni18-installer-C-no48xp.ico"
|
||||||
|
IDI_SHELL ICON DISCARDABLE "shell.ico"
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
|
@ -66,7 +67,7 @@ BEGIN
|
||||||
POPUP "&File"
|
POPUP "&File"
|
||||||
BEGIN
|
BEGIN
|
||||||
MENUITEM "&Recompile\tCtrl+R", IDM_RECOMPILE
|
MENUITEM "&Recompile\tCtrl+R", IDM_RECOMPILE
|
||||||
MENUITEM "&Test Installer\tCtrl+T", IDM_TEST
|
MENUITEM "&Test Installer\tCtrl+T", IDM_TEST
|
||||||
MENUITEM "&Save Output...", IDM_SAVE
|
MENUITEM "&Save Output...", IDM_SAVE
|
||||||
MENUITEM SEPARATOR
|
MENUITEM SEPARATOR
|
||||||
MENUITEM "&Load Script...", IDM_LOADSCRIPT
|
MENUITEM "&Load Script...", IDM_LOADSCRIPT
|
||||||
|
|
BIN
Contrib/Makensisw/shell.ico
Normal file
BIN
Contrib/Makensisw/shell.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 766 B |
|
@ -104,12 +104,12 @@ Section "NSI Development Shell Extensions" SecExtention
|
||||||
WriteRegStr HKCR ".nsh" "" "NSHFile"
|
WriteRegStr HKCR ".nsh" "" "NSHFile"
|
||||||
WriteRegStr HKCR "NSHFile" "" "NSI Script File"
|
WriteRegStr HKCR "NSHFile" "" "NSI Script File"
|
||||||
WriteRegStr HKCR "NSHFile\shell" "" "open"
|
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 "NSHFile\shell\open\command" "" 'notepad.exe "%1"'
|
||||||
WriteRegStr HKCR ".nsi" "" "NSISFile"
|
WriteRegStr HKCR ".nsi" "" "NSISFile"
|
||||||
WriteRegStr HKCR "NSISFile" "" "NSI Script File"
|
WriteRegStr HKCR "NSISFile" "" "NSI Script File"
|
||||||
WriteRegStr HKCR "NSISFile\shell" "" "open"
|
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\open\command" "" 'notepad.exe "%1"'
|
||||||
WriteRegStr HKCR "NSISFile\shell\compile" "" "Compile NSI"
|
WriteRegStr HKCR "NSISFile\shell\compile" "" "Compile NSI"
|
||||||
WriteRegStr HKCR "NSISFile\shell\compile\command" "" '"$INSTDIR\makensisw.exe" /CD "%1"'
|
WriteRegStr HKCR "NSISFile\shell\compile\command" "" '"$INSTDIR\makensisw.exe" /CD "%1"'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue