Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WinGUP Enhancement For Npp (Revised of PR #2) #3

11 changes: 10 additions & 1 deletion src/ConfigFiles/gup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,17 @@

<!-- optional. YES by default.
This parameter can hide all the network error message.
If "SilentMode" is set as "yes", then users won't be warned when there's no connection of internet or the url is not available.
If "SilentMode" is set as "yes", then users won't be warned when there's no connection of Internet or the url is not available.
-->
<SilentMode>yes</SilentMode>

<!-- optional.
Specify additional parameters used for installer if any.
This parameter will be used while launching the installer which will be updating notepad++.
"silentInstall" will be used if user chooses "Update in background" option, then installer will be executed in silent mode once app is closed.
If "silentInstall" is not specified and user chooses "Update in background", then "/S" will be used as default silent mode parameter.
-->
<!-- <InstallerParam normalInstall="" silentInstall="/S" /> -->
<InstallerParam silentInstall="/S" />

</GUPInput>
1 change: 1 addition & 0 deletions src/ConfigFiles/nativeLang.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@
<MSGID_CLOSEAPP> is opened.\rUpdater will close it in order to process the installation.\rContinue?</MSGID_CLOSEAPP>
<MSGID_ABORTORNOT>Do you want to abort update download?</MSGID_ABORTORNOT>
<MSGID_UNZIPFAILED>"Can't unzip: Operation not permitted or decompression failed"</MSGID_UNZIPFAILED>
<MSGID_UPDATEINBACKGROUND>"Update in background. (Updater will be running silently.)"</MSGID_UPDATEINBACKGROUND>
</PopupMessages>
</GUP_NativeLangue>
17 changes: 4 additions & 13 deletions src/change.log
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
WinGup (for Notepad++) v5.0.2 change:
WinGup (for Notepad++) v5.0.3 change:

1. Turn on the silent mode as default (no binary change, only on gup.xml).


WinGup (for Notepad++) v5.0.1 bug-fix:

1. Fix unzip bug.
2. Enhance error management in case of problem of unzip.


WinGup (for Notepad++) v5 new enhancement:

1. Add decompression and deleting capacity (2 new flags: -unzipTo -clean).
1. Fix an unzip bug.
2. Fix a parser argument bug.
3. Change logic of plugins removal/update/installation.
27 changes: 13 additions & 14 deletions src/gup.rc
Original file line number Diff line number Diff line change
Expand Up @@ -50,35 +50,34 @@ BEGIN
END

IDD_PROGRESS_DLG DIALOGEX 0, 0, 285, 39
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_BORDER | WS_CAPTION //| WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_WINDOWEDGE
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_BORDER | WS_CAPTION
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
PUSHBUTTON "Cancel",IDCANCEL,227,11,50,14
PUSHBUTTON "Cancel",IDCANCEL,227,11,50,14
END

IDD_PROXY_DLG DIALOGEX 0, 0, 224, 84
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_WINDOWEDGE
CAPTION "Proxy Settings"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
RTEXT "Proxy server : ",IDC_PROXYSERVER_STATIC,11,18,61,8
EDITTEXT IDC_PROXYSERVER_EDIT,77,15,86,14,ES_AUTOHSCROLL
RTEXT "Port : ",IDC_PORT_STATIC,11,41,61,8
EDITTEXT IDC_PORT_EDIT,77,39,34,14,ES_NUMBER
PUSHBUTTON "OK",IDOK,55,66,50,14
RTEXT "Port : ",IDC_PORT_STATIC,11,41,61,8
EDITTEXT IDC_PORT_EDIT,77,39,34,14,ES_NUMBER
PUSHBUTTON "OK",IDOK,55,66,50,14
PUSHBUTTON "Cancel",IDCANCEL,134,66,50,14
END

IDD_YESNONEVERDLG DIALOGEX 0, 0, 285, 94
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_WINDOWEDGE
IDD_YESNONEVERDLG DIALOGEX 0, 0, 230, 86
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION
CAPTION "Update available"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
LTEXT "An update package is available, do you want to download it?",IDC_YESNONEVERMSG,13,20,300,16
PUSHBUTTON "Yes",IDYES,50,60,50,14
PUSHBUTTON "No",IDNO,110,60,50,14
PUSHBUTTON "Never",IDCANCEL,170,60,50,14
LTEXT "An update package is available, do you want to download it?",IDC_YESNONEVERMSG,10,10,210,16
CONTROL "Update in background. (Updater will be running silently.)",IDC_CHK_IN_BACKGROUND,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,34,210,10
PUSHBUTTON "Yes",IDYES,60,56,50,14
PUSHBUTTON "No",IDNO,115,56,50,14
PUSHBUTTON "Never",IDCANCEL,170,56,50,14
END
5 changes: 3 additions & 2 deletions src/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#ifndef RESOURCE_H
#define RESOURCE_H

#define VERSION_VALUE "5.02\0"
#define VERSION_DIGITALVALUE 5, 0, 2, 0
#define VERSION_VALUE "5.03\0"
#define VERSION_DIGITALVALUE 5, 0, 3, 0

#define IDD_PROGRESS_DLG 1001
#define IDD_PROXY_DLG 1002
Expand All @@ -31,4 +31,5 @@
#define IDC_PORT_STATIC 1006
#define IDD_YESNONEVERDLG 1007
#define IDC_YESNONEVERMSG 1008
#define IDC_CHK_IN_BACKGROUND 1009
#endif // RESOURCE_H
Loading