Commit graph

1982 commits

Author SHA1 Message Date
anders_k
062a89273c Default language file codepage is only ASCII compatible (Bug #1180)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6848 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-14 14:17:39 +00:00
anders_k
264fc910aa Fix POSIX error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6846 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-13 14:42:47 +00:00
anders_k
fbd57e00c1 Added MUI_PAGE_CUSTOMFUNCTION_DESTROYED so custom image handles can be cleaned up
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6844 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-03 17:35:57 +00:00
anders_k
c1c2ccb4a6 Fixed SetRegView and $ProgramFiles[32|64] in 64-bit installers
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6841 212acab6-be3b-0410-9dea-997c60f758d6
2017-03-22 00:46:25 +00:00
anders_k
024e01a71e Added ExecShellWait
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6839 212acab6-be3b-0410-9dea-997c60f758d6
2017-03-21 22:04:40 +00:00
anders_k
aec58509b4 Fixed unbalanced push/pop in MUI_UNGETLANGUAGE (MUI v1)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6836 212acab6-be3b-0410-9dea-997c60f758d6
2017-01-20 21:15:49 +00:00
anders_k
3659de8e37 (C) 2017
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6834 212acab6-be3b-0410-9dea-997c60f758d6
2017-01-02 03:51:39 +00:00
anders_k
859c2ad6eb Added basic WriteRegMultiStr support (RFE #382, patch #219)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6829 212acab6-be3b-0410-9dea-997c60f758d6
2016-12-29 21:59:35 +00:00
anders_k
7f2ca3cdee Fixed bug #1122 StrCpy maxlen inconsistent behavior
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6810 212acab6-be3b-0410-9dea-997c60f758d6
2016-12-05 15:44:19 +00:00
anders_k
0f2a6027e9 Make sure tstring can store wchar_t. This currently blocks anyone from writing unit tests for strlist.cpp because the tests are not Unicode yet!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6806 212acab6-be3b-0410-9dea-997c60f758d6
2016-12-02 19:58:32 +00:00
anders_k
62b8ca9bb5 A more aggressive workaround for bug #1156
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6804 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-25 21:35:28 +00:00
anders_k
7339c8c795 Temporary workaround for bug #1156
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6803 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-23 17:10:12 +00:00
anders_k
27ed0e502b Unify g_output and console initialization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6802 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-23 15:42:20 +00:00
anders_k
37c2cce029 Allow POSIX to see QUERYHOST constants even though there is no way to use them on those platforms
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6801 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-23 00:38:57 +00:00
anders_k
d698d166d5 Use a common helper macro to declare some UI output related variables
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6800 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-22 23:11:33 +00:00
anders_k
04d6fe9367 Write error messages to stderr by default
Disabled if -O is used or if -NOTIFYHWND is valid and returns 0 to QUERYHOST:QH_ENABLESTDERR



git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6798 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-22 21:17:00 +00:00
anders_k
a71541bb87 Added SetCtlColors Windows COLOR_* constants support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6795 212acab6-be3b-0410-9dea-997c60f758d6
2016-10-22 18:12:28 +00:00
anders_k
d0a461cbca Undo Lockwindow Off fix from [r6789] because it caused the taskbar button to become invisible!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6793 212acab6-be3b-0410-9dea-997c60f758d6
2016-10-12 19:31:57 +00:00
anders_k
66c91fab54 Fixed broken MSDN URLs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6790 212acab6-be3b-0410-9dea-997c60f758d6
2016-10-11 19:58:58 +00:00
anders_k
08ebc678e5 LockWindow Off should always enable painting
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6789 212acab6-be3b-0410-9dea-997c60f758d6
2016-10-11 19:47:21 +00:00
anders_k
8e582490ff Added Corsican translation (patch #268)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6786 212acab6-be3b-0410-9dea-997c60f758d6
2016-10-08 13:48:28 +00:00
f0rt
a190b4fc84 Make WinWStrDupFromWC endian agnostic (Patch #273)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6783 212acab6-be3b-0410-9dea-997c60f758d6
2016-09-06 18:48:32 +00:00
anders_k
765d245758 Fixed possible buffer overflow bug in unused WinWStrDupFromChar function (Patch #271)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6781 212acab6-be3b-0410-9dea-997c60f758d6
2016-08-21 12:00:00 +00:00
anders_k
388d994ada Added support for !finalize return value comparison
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6771 212acab6-be3b-0410-9dea-997c60f758d6
2016-07-14 10:53:25 +00:00
anders_k
e6a1780485 Disable batch-file workaround for !makensis command
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6763 212acab6-be3b-0410-9dea-997c60f758d6
2016-07-06 11:28:48 +00:00
anders_k
73c00e3718 Fixed bug #1147: !makensis command must force Unicode output to be UTF-8
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6762 212acab6-be3b-0410-9dea-997c60f758d6
2016-07-04 12:23:58 +00:00
anders_k
f9e97af1ac cchTextMax is count of TCHARs including \0
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6760 212acab6-be3b-0410-9dea-997c60f758d6
2016-06-26 15:32:44 +00:00
anders_k
2fa183f20c Updated changelog and fixed a typo
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6753 212acab6-be3b-0410-9dea-997c60f758d6
2016-05-25 18:08:03 +00:00
kichik
d5662388a3 fix !appendfile writing null bytes on linux and breaking LogicLib ${Switch} statements
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6738 212acab6-be3b-0410-9dea-997c60f758d6
2016-04-03 05:47:59 +00:00
kichik
dc0c121b96 no need for conversions here
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6729 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-28 05:52:12 +00:00
anders_k
e7ac6581e4 Documentation fixes and clarifications
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6728 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-27 23:24:43 +00:00
anders_k
2b5baa3639 WM_CONTEXTMENU lParam keyboard check needs to be sign extended on 64-bit
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6727 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-23 22:55:08 +00:00
anders_k
b3a96a5ff7 Separate error messages for plugin dll not found and plugin function not found
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6724 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-22 13:21:35 +00:00
anders_k
3542f0556c Must use a POSIX compatible string comparison
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6722 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-17 21:36:06 +00:00
anders_k
4ae373f2d3 Changed the name of the uninstaller created in %TEMP%\\~nsu.tmp from %UNIQUE%u_.exe to Un_%UNIQUE%.exe
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6721 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-11 19:32:21 +00:00
anders_k
1967160500 Copyright 2016
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6720 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-11 19:16:38 +00:00
anders_k
5c09fdf003 Display the correct uninstaller langstring name in the recursive error string
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6718 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-09 22:33:27 +00:00
anders_k
ebc900f4bb Warn when the [License]LangString language id parameter is not a valid number
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6711 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-26 16:16:29 +00:00
anders_k
d9bb937072 Make sure the filename string is not destroyed before we are done with the .c_str() pointer.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6710 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-16 18:01:53 +00:00
anders_k
4b0d6b1843 Use a warning helper function so "warn as error" works everywhere
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6709 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-16 14:59:04 +00:00
anders_k
0bd3a0d1a1 Warn when the output filename is setup.exe because Windows will unsafely load compatibility shims
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6708 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-16 14:35:20 +00:00
anders_k
77e77d35df Delayload CLBCATQ for XP
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6706 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-12 12:52:08 +00:00
anders_k
510fb334c8 Fixed some typos (Most of them found by codespell/Stefan Weil)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6704 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-04 20:14:06 +00:00
anders_k
a0d918b472 Preload more dlls for Vista and 7 without KB2533623
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6700 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-04 18:32:01 +00:00
anders_k
e2d28022e2 Preload some system libraries (bug #1125)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6688 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-24 00:40:28 +00:00
anders_k
0979ab23fc Fixed CreateShortcut failure on Vista caused by security changes in r6645/2.47
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6684 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-15 23:11:48 +00:00
anders_k
95dfc73889 Make sure we have a valid .chm file in the 3.0 installer as well
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6677 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-09 22:52:21 +00:00
anders_k
f88888388a Added experimental Target and CPU attributes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6664 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-09 00:47:50 +00:00
anders_k
667abcff94 Kill warning with a cast in Ansi version of RunChildProcessRedirected. CppUnit still uses Ansi util.cpp?
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6662 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-08 01:54:30 +00:00
anders_k
d7d6c3561d Change the ACL on our %temp% directories (bug #1125)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6657 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-07 20:49:46 +00:00