Commit graph

810 commits

Author SHA1 Message Date
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
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
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
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
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
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
anders_k
ef1ae2e216 Updated EW_CREATESHORTCUT opcode description
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6654 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-06 00:04:36 +00:00
anders_k
726bf760cd Load system modules with full paths
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6647 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-29 13:54:35 +00:00
anders_k
e83197997e bug #1125: Don't load modules from the application nor current directory.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6645 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-28 13:32:54 +00:00
anders_k
6be5d8d07d Delay load Version.dll to avoid dll hijacking [bug #1125]
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6642 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-25 13:13:42 +00:00
anders_k
9d883f98d8 HANDLE NULL check the converted value, not the string length
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6639 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-22 12:44:49 +00:00
anders_k
8f65eb3c23 CreateShortcut icon index can now be larger than 255 (Bug #1123)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6638 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-21 13:12:40 +00:00
anders_k
6eaea6479f No need to delayload MoveFileEx, OpenProcessToken, LookupPrivilegeValueW and AdjustTokenPrivileges on Win9x.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6635 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-15 23:06:57 +00:00
anders_k
caf00a1195 myGetProcAddress now uses a full path to the system directory when calling LoadLibrary to avoid application directory dll hijacking of SHFolder.dll
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6634 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-06 02:42:35 +00:00
anders_k
7b814407a3 Fixed NSIS_CONFIG_LOG_STDOUT output in Unicode exehead
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6629 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-31 18:52:07 +00:00
anders_k
252adb2f39 Use myWriteFile helper function in exehead
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6628 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-31 16:27:34 +00:00
anders_k
1c1d1d5e12 Fixed all VS2015 warnings except C4577 ('noexcept' used with no exception handling mode specified)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6627 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-30 03:55:30 +00:00
anders_k
b54c831ff0 FileReadUTF16LE skips optional BOM and FileWriteUTF16LE can write a BOM with the /BOM switch
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6626 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-26 23:29:39 +00:00
anders_k
6d534850e7 * TOK_PLUGINDIR path can't be const because of PATH_CONVERT(path) on POSIX
* Remove truncate_cast usage from fileform.c


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6613 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-19 14:07:14 +00:00
anders_k
940277d9d8 * block_header::offset is now pointer sized in exehead
* Wininet.h -> wininet.h for POSIX


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6608 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-18 15:55:56 +00:00
anders_k
286edd20c4 * Basic System::Call support when compiling with 64-bit MinGW/GCC toolchain
* Win64 fixes


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6607 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-17 14:30:07 +00:00
anders_k
113be9b813 Use the correct system metric to size the invisible column-header on the instfiles page
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6588 212acab6-be3b-0410-9dea-997c60f758d6
2015-06-25 20:38:20 +00:00
anders_k
c89cac5262 Fixed minor issues and typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6584 212acab6-be3b-0410-9dea-997c60f758d6
2015-05-14 20:17:14 +00:00
anders_k
4ddcef2453 Fixed 4+ TiB freespace calculation bug (bugs #1115 & #896)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6582 212acab6-be3b-0410-9dea-997c60f758d6
2015-05-14 18:41:06 +00:00
anders_k
cd4363aca8 Exec[Wait] now sets the CREATE_DEFAULT_ERROR_MODE flag when creating a new process
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6579 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-18 18:52:41 +00:00
anders_k
9ff4b3ef43 (C) 2015
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6577 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-06 21:43:39 +00:00
anders_k
2afe5ca95e Fake the LPTSTR type if necessary for MakeNSIS on POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6567 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-26 23:22:27 +00:00
anders_k
6adc39c848 Math plugin needs tchar.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6561 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-23 16:02:16 +00:00
anders_k
9950ce1432 Fixed MinGW (GCC 4.5.2)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6530 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-19 19:21:43 +00:00
anders_k
edd80964a7 Tabs to spaces and minor cleanup
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6514 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-05 11:55:28 +00:00
anders_k
45e4a6251b InitiateShutdown is used to reboot the machine if available (patch #247)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6506 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-27 16:30:16 +00:00
anders_k
a81d5dfb49 scons DEBUG=true adds DEBUG to CPPDEFINES
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6497 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-20 18:36:05 +00:00
anders_k
36deb84820 64bit fixes and optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6486 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-19 22:03:09 +00:00
f0rt
881fa61896 Patch #250: Fix of mingw-w64 warnings concering out of boundary array access
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6484 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-18 19:32:50 +00:00
anders_k
c75a00bbe7 2014 and fixed some minor typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6478 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-13 15:51:45 +00:00
anders_k
a03795783a Must pass count of TCHARs to _LogData2Hex so we don't overflow the buffer in unicode stubs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6468 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-08 20:12:26 +00:00
anders_k
da7d67e69d CreateShortCut > CreateShortcut
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6453 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-28 16:21:39 +00:00
anders_k
1e17d02ff7 Added CreateShortcut /NoWorkingDir optional parameter
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6452 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-28 16:17:07 +00:00
anders_k
a7076ff238 Basic AMD64 System::Call support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6444 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-03 18:10:53 +00:00
anders_k
a7261be70c Fixed some warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6443 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-11 01:34:11 +00:00
anders_k
d799ee53d7 Basic Win64 support (MSVC)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6439 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-08 00:13:52 +00:00
anders_k
52a8b320ef POSIX fixes for native and crossplatform utils
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6427 212acab6-be3b-0410-9dea-997c60f758d6
2014-01-21 14:13:00 +00:00