Commit graph

5743 commits

Author SHA1 Message Date
anders_k
b519aae63b Update the documentation to match the new RequestExecutionLevel default value.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6637 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-21 11:46:34 +00:00
anders_k
7d64d54ae7 Clarify ${GetParameters} documentation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6636 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-17 08:54:02 +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
d7ac356d0e * Added support for 0o octal radix prefix on number literals in the preprocessor
* The single parameter version of !if now also supports floats
* Preprocessor now warns when invalid floating point numbers are used in math operations


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6633 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-05 21:05:23 +00:00
anders_k
ce249976f7 Preprocessor code in dead blocks need to be ignored even if it is invalid
Test case:
!macro dummy p1
!macroend
!if 0 ; The next line does not properly quote its string but it is not !else nor !endif so it has to be ignored
!insertmacro dummy "bar'
!endif



git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6632 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-05 04:46:14 +00:00
anders_k
2a341bc918 Better NSIS Menu .manifest requirement detection
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6631 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-03 23:28:08 +00:00
anders_k
650ebca347 * Try to avoid invalid parameter debug warning in newer versions of MSVCRT.dll when calling _vsnwprintf as a _vscwprintf replacement
* _wtof does not exist in MSVCRT.dll on Win2000, use our internal version when building with MinGW/MSVC6 or MSVC /MD


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6630 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-01 17:11:53 +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
37c81f74f8 Fixed System plugin GUID type output bug on Win98
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6625 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-16 20:50:06 +00:00
anders_k
70ef520055 * MUI_LANGUAGE usage warning was incorrectly displayed in some page combinations
* Fixed broken CCM_* defines in WinMessages.nsh


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6624 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-12 12:28:30 +00:00
anders_k
dbe6f23472 Fixed some typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6623 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-10 19:32:16 +00:00
anders_k
3caac93fd0 Brazilian Portuguese updated (Felipe) patch#263
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6622 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-10 18:20:58 +00:00
anders_k
5d7640c988 TOK_* instruction handlers in doCommand() cannot use PRINTHELP() if they also use eattoken()!
!define "name" "value" always displays error if there are too many arguments, not just one too many


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6621 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-10 12:29:34 +00:00
anders_k
6542de9f94 Changed "Command line defined" compiler message verbosity level from 4 to 3
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6620 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-10 11:31:27 +00:00
anders_k
12cab3f3db Allow makensis to use stubs and plugins of different bitness, based on patch #265
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6619 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-01 17:32:56 +00:00
anders_k
8577c8e9ae * MakeNSISW symbol sets don't need movable memory
* Use helper functions to read&write MRU and symbol set strings
* Don't create empty MRU key when there is nothing to save
* Made some helper functions static


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6618 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-28 16:08:54 +00:00
anders_k
6de4fbc743 Don't allow empty path in !AddPluginDir
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6617 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-26 14:19:39 +00:00
anders_k
721090a0f3 * Reduced verbosity of StrFunc.nsh
* Fixed a 64-bit issue in welcome.nsi


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6616 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-24 20:47:47 +00:00
anders_k
fe491ddf94 Changed the order of the zlib lib files SConstruct searches for so it can find the MinGW specific .a first. 64-bit MinGW has problems with a MSVC generated lib file.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6615 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-19 18:54:02 +00:00
anders_k
85851b0dad Updated Polish translation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6614 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-19 14:27:36 +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
e81728a52b Display a warning if MUI_LANGDLL_DISPLAY is inserted before MUI_LANGUAGE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6612 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-19 13:22:52 +00:00
anders_k
5615d42881 * !AddIncludeDir displays the cpu architecture in the script message if specified as a parameter
* Removed unused SYSTEM_PARTIALCALLSUPPORT define
* Fixed minor typos
* Allow MSVC_USE_SCRIPT to be specified on the commandline or in the environment


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6611 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-18 23:16:34 +00:00
anders_k
d0ddb4aab0 Actually specify a petype this time
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6610 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-18 17:44:12 +00:00
anders_k
654dce730b All GCC stub targets use the same PE switch now
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6609 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-18 17:42:04 +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
757d16f937 Sprinkle some constness on CResourceDirectoryEntry
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6606 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-10 12:14:20 +00:00
anders_k
fed52fac19 * Be extra careful with zero termination of the foreign update status string
* Always include Wininet.h


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6605 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-10 12:05:50 +00:00
anders_k
873e860f57 MakeNSISW now uses WinInet when checking for updates
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6604 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-07 21:31:50 +00:00
anders_k
e58680c996 CResourceDirectoryEntry::GetName() does not need to duplicate the string
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6603 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-06 20:15:56 +00:00
anders_k
1f8866ccd8 Example plugin now correctly uses string_size when allocating its example message buffer
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6602 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-06 20:03:10 +00:00
anders_k
5c6dfdca9a !system/!execute: XCopy.exe/ChCp.com (and other tools using ulib.dll?) does not work without a valid StdIn so we provide a empty pipe
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6601 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-03 11:06:18 +00:00
anders_k
87ad351f1b Fixed InstType<Get|Set>Text token help string
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6600 212acab6-be3b-0410-9dea-997c60f758d6
2015-08-26 12:01:20 +00:00
anders_k
10448ec632 RequestExecutionLevel now defaults to admin
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6599 212acab6-be3b-0410-9dea-997c60f758d6
2015-08-07 00:13:36 +00:00
kichik
32f9b646e4 3.0b2
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6596 212acab6-be3b-0410-9dea-997c60f758d6
2015-08-05 00:40:49 +00:00
kichik
edbd508a9e update history.but for 3.0b2
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6595 212acab6-be3b-0410-9dea-997c60f758d6
2015-08-05 00:30:44 +00:00
anders_k
7dee415a88 Update manifest documentation for Win10
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6594 212acab6-be3b-0410-9dea-997c60f758d6
2015-08-01 15:05:18 +00:00
anders_k
06f3fbe52f *Now adds the Win10 manifest by default
*Updated WinVer with Win10 version


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6593 212acab6-be3b-0410-9dea-997c60f758d6
2015-07-30 18:47:09 +00:00
anders_k
20866470fa Added PESubsysVer attribute
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6592 212acab6-be3b-0410-9dea-997c60f758d6
2015-07-27 20:41:17 +00:00
anders_k
c679845ad6 ReserveFile /plugin now searches folders added with !AddPluginDir
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6591 212acab6-be3b-0410-9dea-997c60f758d6
2015-07-27 19:32:32 +00:00
anders_k
6361cfb1f6 Minor x64 system plugin example fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6590 212acab6-be3b-0410-9dea-997c60f758d6
2015-07-27 18:33:39 +00:00
anders_k
ab554ae939 Use the system link color on our custom link controls
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6589 212acab6-be3b-0410-9dea-997c60f758d6
2015-07-27 18:24:45 +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
695a478725 File treats "" as "*", don't allow empty MUI_*_BITMAP defines.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6587 212acab6-be3b-0410-9dea-997c60f758d6
2015-06-25 20:12:57 +00:00
f0rt
15b35daa34 #261 applied stdcall calling convention for a target platform other than Windows.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6586 212acab6-be3b-0410-9dea-997c60f758d6
2015-06-24 19:23:17 +00:00