anders_k
2553c6e550
$LocalAppData now resolves to the ProgramData folder in the "SetShellVarContext all" context
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6875 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-23 01:11:30 +00:00
anders_k
b558dea54d
Unsupported SetRegView mode must fail all registry operations
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6865 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-04 22:48:13 +00:00
anders_k
ce7078517f
Include CPU architecture in the RegTool filename so Library.nsh always picks the correct version
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6859 212acab6-be3b-0410-9dea-997c60f758d6
2017-05-14 16:16:30 +00:00
anders_k
17d5e5003f
Refactored preprocessor instructions to separate source file
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6855 212acab6-be3b-0410-9dea-997c60f758d6
2017-05-03 12:08:09 +00:00
anders_k
e004b5893e
Use a internal command to detect the CHM header because the !searchparse hack fails with a encoding error if the ACP codepage is 936.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6853 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-25 13:58:43 +00:00
anders_k
c8370fd064
Added !pragma warning (patch #267 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6852 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-25 13:09:41 +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
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
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
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
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
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
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
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
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
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
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
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