From 8023f617dd1c8b5335821838084148ebcb81ceee Mon Sep 17 00:00:00 2001 From: rainwater Date: Thu, 19 Dec 2002 19:44:55 +0000 Subject: [PATCH] Added link the forum in help menu git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1978 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Makensisw/Readme.txt | 1 + Contrib/Makensisw/makensisw.cpp | 5 +++++ Contrib/Makensisw/makensisw.dsp | 26 +------------------------- Contrib/Makensisw/makensisw.h | 1 + Contrib/Makensisw/resource.h | 3 ++- Contrib/Makensisw/resource.rc | 1 + 6 files changed, 11 insertions(+), 26 deletions(-) diff --git a/Contrib/Makensisw/Readme.txt b/Contrib/Makensisw/Readme.txt index 424630e8..58af4963 100644 --- a/Contrib/Makensisw/Readme.txt +++ b/Contrib/Makensisw/Readme.txt @@ -162,6 +162,7 @@ Version History - Added Clear Log (Ctrl+W) - Browse Script (Ctrl+B) launches explorer in script directory - Check for Update command + - Added link to the NSIS Forum under Help menu - Bunch of other stuff not worth mentioning diff --git a/Contrib/Makensisw/makensisw.cpp b/Contrib/Makensisw/makensisw.cpp index d532654c..99c5ad98 100644 --- a/Contrib/Makensisw/makensisw.cpp +++ b/Contrib/Makensisw/makensisw.cpp @@ -236,6 +236,11 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) { { ShellExecute(g_sdata.hwnd,"open",NSIS_DEV,NULL,NULL,SW_SHOWNORMAL); return TRUE; + } + case IDM_FORUM: + { + ShellExecute(g_sdata.hwnd,"open",NSIS_FOR,NULL,NULL,SW_SHOWNORMAL); + return TRUE; } case IDM_SELECTALL: { diff --git a/Contrib/Makensisw/makensisw.dsp b/Contrib/Makensisw/makensisw.dsp index d2055269..e1e06717 100644 --- a/Contrib/Makensisw/makensisw.dsp +++ b/Contrib/Makensisw/makensisw.dsp @@ -137,31 +137,11 @@ SOURCE=.\utils.h # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" # Begin Source File -SOURCE="..\Icons\adni18-installer-C-no48xp.ico" -# End Source File -# Begin Source File - -SOURCE=..\..\Source\default1.bin -# End Source File -# Begin Source File - -SOURCE=..\..\source\icon.ico -# End Source File -# Begin Source File - -SOURCE=..\Icons\lama.ico -# End Source File -# Begin Source File - -SOURCE=..\Icons\lama3.ico -# End Source File -# Begin Source File - SOURCE=.\logo.bmp # End Source File # Begin Source File -SOURCE=..\Icons\new_nsis.ico +SOURCE="..\Icons\modern-install.ico" # End Source File # Begin Source File @@ -169,10 +149,6 @@ SOURCE=.\resource.rc # End Source File # Begin Source File -SOURCE=..\..\Source\rt_manif.bin -# End Source File -# Begin Source File - SOURCE=.\shell.ico # End Source File # End Group diff --git a/Contrib/Makensisw/makensisw.h b/Contrib/Makensisw/makensisw.h index b8086286..ae5404fb 100644 --- a/Contrib/Makensisw/makensisw.h +++ b/Contrib/Makensisw/makensisw.h @@ -36,6 +36,7 @@ #define NSIS_URL "http://www.nullsoft.com/free/nsis/" #define NSIS_UPDATE "http://nsis.sourceforge.net/update.php?version=" #define NSIS_DDL "http://sourceforge.net/project/showfiles.php?group_id=22049" +#define NSIS_FOR "http://forums.winamp.com/forumdisplay.php?forumid=65" #define USAGE "Usage:\r\n\r\n - File | Load Script...\r\n - Drag the .nsi file into this window\r\n - Right click the .nsi file and choose \"Compile NSI\"" #define COPYRIGHT "Copyright © 2002 Robert Rainwater" #define CONTRIB "Fritz Elfert, Justin Frankel, Amir Szekely" diff --git a/Contrib/Makensisw/resource.h b/Contrib/Makensisw/resource.h index 79fcc896..a87902b3 100644 --- a/Contrib/Makensisw/resource.h +++ b/Contrib/Makensisw/resource.h @@ -36,13 +36,14 @@ #define IDM_BROWSESCR 40013 #define IDM_NSISDEV 40014 #define IDM_UPDATE 40015 +#define IDM_FORUM 40016 // Next default values for new objects // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 116 -#define _APS_NEXT_COMMAND_VALUE 40016 +#define _APS_NEXT_COMMAND_VALUE 40017 #define _APS_NEXT_CONTROL_VALUE 1017 #define _APS_NEXT_SYMED_VALUE 101 #endif diff --git a/Contrib/Makensisw/resource.rc b/Contrib/Makensisw/resource.rc index e48b339a..688b65af 100644 --- a/Contrib/Makensisw/resource.rc +++ b/Contrib/Makensisw/resource.rc @@ -94,6 +94,7 @@ BEGIN BEGIN MENUITEM "NSIS Homepage", IDM_NSISHOME MENUITEM "NSIS Developer Site", IDM_NSISDEV + MENUITEM "NSIS Forum", IDM_FORUM MENUITEM SEPARATOR MENUITEM "Documentation\tF1", IDM_DOCS MENUITEM SEPARATOR