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
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
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
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
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
7ae2e8f84f
* Added IsWow64 to x64.nsh and fixed RunningX64 for 64-bit installers.
...
* NSIS_AMD64 and NSIS_IX86 defines added for CPU target detection
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6538 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-15 20:25:18 +00:00
anders_k
3c2a937cab
Added PEDllCharacteristics attribute and changed default DllCharacteristics to TS_AWARE+NO_SEH+NX_COMPAT+DYNAMIC_BASE
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6537 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-15 19:15:06 +00:00
anders_k
0f264e9f5a
Warn if !packhdr system() call returns non-zero
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6536 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-07 12:31:51 +00:00
anders_k
fd6400d44d
* ChangeUI should warn when it cannot find a dialog.
...
* CDialogTemplate::Save needs to free the template with the correct function.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6535 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-05 13:53:20 +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
89a2cbb770
Added /WX compiler switch (treat warnings as errors)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6520 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-11 21:57:00 +00:00
anders_k
6bba242764
Fixed 5 GCC warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6502 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-22 18:50:54 +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
0bffaecea3
Added preprocess only mode (/[SAFE]PPO switch)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6495 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-19 19:06:49 +00:00
anders_k
d91176ba49
Refactored verbosity handling with new setter&getter
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6494 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-15 19:12:12 +00:00
anders_k
5574a0e7a2
Removed bogus comment about possible string prefix bug
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6491 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-15 13:58:04 +00:00
anders_k
8ed10146ef
MakeNSIS WM_COPYDATA notify messages now use the QH_OUTPUTCHARSET encoding if specified by the host. CP_ACP is the default for compatibility with old IDEs.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6490 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-11 22:01:38 +00:00
anders_k
37233030e1
Don't use the evil _tcsnccpy/strncpy function.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6487 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-20 17:26:33 +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
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
kichik
cce36449b9
more accurate comment
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6473 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-11 19:49:19 +00:00
kichik
f97fc86fab
i think this is a bug...
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6466 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-05 02:21:49 +00:00
anders_k
5d4c8eb40f
Stricter compiler parameter validation of SectionGet/Set* commands
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6462 212acab6-be3b-0410-9dea-997c60f758d6
2014-04-15 23:26:54 +00:00
anders_k
8d7dd2cf9f
!system and !execute can store the exit code in a define
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6461 212acab6-be3b-0410-9dea-997c60f758d6
2014-04-13 17:49:39 +00:00
anders_k
45b87a7dc5
Store db_full_size[_u] statistics as UINT64
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6459 212acab6-be3b-0410-9dea-997c60f758d6
2014-04-05 16:50:11 +00:00
anders_k
4ac358dc35
Store datablock optimizer statistics as UINT64 in case the same large file is added many times
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6457 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-31 17:34:58 +00:00
anders_k
35c1a5bae7
Adding the same file twice can push cur_datablock over the 2GB limit because datablock_optimize() happens too late. Try to find a dupe early.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6455 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-30 03:25:52 +00:00
anders_k
656ade8732
Don't store wide and narrow versions of the same error string
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6450 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-09 23:23:19 +00:00
anders_k
ce0d6a7a94
Don't list /amd64-unicode in !addplugindir help (makensis win32)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6446 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-04 19:26:56 +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
07183c43a9
Prevent MSVC 14.00.40310 from generating a recursive call to memset
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6442 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-09 23:12:52 +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
f9fae88303
PE NSIS_VARS_SECTION size should not depend on sizeof(TCHAR)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6419 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-08 23:48:13 +00:00
anders_k
c16bc083b5
Fixed incorrect page count in compiler statistics
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6417 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-08 15:41:47 +00:00
anders_k
be6c7e6a1d
Major POSIX overhaul
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6416 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-08 14:34:38 +00:00
anders_k
e63fa6c53b
Win64 fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6413 212acab6-be3b-0410-9dea-997c60f758d6
2013-09-06 23:48:59 +00:00
anders_k
e6f549adee
Add !finalize %1 fix to changelog and shut up MinGW
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6376 212acab6-be3b-0410-9dea-997c60f758d6
2013-06-08 19:10:42 +00:00
anders_k
47e481a3bf
Default verbosity is /V3 without logo, MakeNSISW still uses /V4
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6375 212acab6-be3b-0410-9dea-997c60f758d6
2013-06-08 18:48:38 +00:00
anders_k
9ebabcd509
Fix !finalize %1 string substitution
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6373 212acab6-be3b-0410-9dea-997c60f758d6
2013-06-05 10:23:46 +00:00
anders_k
bd591bf196
200? -> 2013
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6352 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-17 19:31:36 +00:00
anders_k
0653f46c07
StdOut Unicode support, controlled by /OUTPUTCHARSET and/or existing BOM if redirected.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6350 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-04 13:32:47 +00:00
anders_k
e173cd33a4
Updated changelog and fixed minor documentation bugs (bug #3063566 , bug #3567313 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6322 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-27 02:50:27 +00:00
anders_k
e43d5a3b9e
Add new (optional) makensis win32 abort event to avoid multiple instance issues
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6298 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-14 18:00:00 +00:00
anders_k
4f8bf3c466
Fix some MinGW warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6293 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-10 23:02:09 +00:00
anders_k
0d2edb2f1b
Use dynamic buffer sizes for formated CEXEBuild warning/error methods
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6292 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-10 22:26:27 +00:00
anders_k
dcddf977b2
Use a custom file reader with UTF8 support for nsi/nsh/nlf files and store UTF16LE or MBCS (stringblock) strings in ExeHeadStringList
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6289 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-07 21:25:35 +00:00
anders_k
8217b2c61f
Display "Install data" size statistics as unsigned number. (Partial fix for bug #3564918 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6283 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-12 21:24:37 +00:00
anders_k
7cc150c464
MakeNSIS can now generate Unicode or Ansi installers based on a script attribute. SCons generates both Ansi and Unicode stubs and plugins.
...
The official plugins are now stored in architecture specific subdirectories under NSIS\Plugins. !AddPluginDir also gained a new (optional) architecture flag because MakeNSIS now stores separate plugin information for each target architecture. Storing plugins in the root of the Plugins directory is no longer supported.
MinGW does not implement the unicode CRT startup functions so the entry point functions and linker parameters had to be changed. The unicode tools use the ansi entry point and a small helper function that calls into the real code: _tmain has full argc+argv emulation while wWinMain does not pass the command line parameters. The stubs do not use any CRT functions and have no CRT or unicode helper code, they call our entry point directly.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6269 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-13 01:47:50 +00:00
anders_k
4b62ecbb31
Added ManifestDPIAware attribute
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6266 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-20 18:42:21 +00:00