anders_k
7e2be76681
Primitive SOURCE_DATE_EPOCH support for reproducible builds (patches 294)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7188 212acab6-be3b-0410-9dea-997c60f758d6
2020-06-26 22:52:09 +00:00
anders_k
887d9f8723
Added LineParser::gettoken_intx with basic arithmetic expression handling for LoadAndSetImage, SectionSetFlags and SectionSetInstTypes.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7180 212acab6-be3b-0410-9dea-997c60f758d6
2020-05-02 21:53:41 +00:00
anders_k
322c7ac6d2
Added API for compiler host to choose a different output path on output error
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7169 212acab6-be3b-0410-9dea-997c60f758d6
2020-04-20 17:21:04 +00:00
anders_k
89fb04d0f6
(C) 2020
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7148 212acab6-be3b-0410-9dea-997c60f758d6
2020-01-01 21:13:57 +00:00
anders_k
2bae3414ba
Fix minor GCC warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7130 212acab6-be3b-0410-9dea-997c60f758d6
2019-10-24 19:27:37 +00:00
anders_k
2bf0cf7025
VC6 cannot handle class reference initialization in structs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7114 212acab6-be3b-0410-9dea-997c60f758d6
2019-08-17 20:13:07 +00:00
anders_k
c0f3179285
Added the ManifestLongPathAware attribute
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7111 212acab6-be3b-0410-9dea-997c60f758d6
2019-08-16 19:07:02 +00:00
anders_k
fb6945ec36
Added ManifestMaxVersionTested
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7096 212acab6-be3b-0410-9dea-997c60f758d6
2019-06-06 00:42:08 +00:00
anders_k
36cf6ec2b3
%1 in !finalize command can be specified multiple times
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7091 212acab6-be3b-0410-9dea-997c60f758d6
2019-03-13 19:56:43 +00:00
anders_k
978ac79a5d
Added PEAddResource and PERemoveResource
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7079 212acab6-be3b-0410-9dea-997c60f758d6
2019-02-10 20:45:40 +00:00
anders_k
b9c8d57bb2
Print "ANSI targets are deprecated" warning if Unicode/Target attributes are never used.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7077 212acab6-be3b-0410-9dea-997c60f758d6
2019-02-02 20:25:07 +00:00
anders_k
62d9a4c2f7
(C) 2019
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7072 212acab6-be3b-0410-9dea-997c60f758d6
2019-01-07 14:30:06 +00:00
anders_k
649159cd28
NSIS_PACKEDVERSION no longer optional. Tries to find a usable fallback value if not specified.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7058 212acab6-be3b-0410-9dea-997c60f758d6
2018-12-06 01:12:30 +00:00
anders_k
fa85ddb775
Use a undocumented variable as the nsDialogs::OnNotify return value so we don't have to worry about restoring it
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7055 212acab6-be3b-0410-9dea-997c60f758d6
2018-11-27 22:36:58 +00:00
anders_k
917a77f671
Make sure the architecture define is always set
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7026 212acab6-be3b-0410-9dea-997c60f758d6
2018-10-25 18:40:05 +00:00
anders_k
cce4695977
Refactored postbuild_cmd and !tempfile handling to help patch #280
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7025 212acab6-be3b-0410-9dea-997c60f758d6
2018-10-24 19:01:00 +00:00
anders_k
e22e671bcc
Reset default PEDllCharacteristics when target CPU changes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7004 212acab6-be3b-0410-9dea-997c60f758d6
2018-06-04 14:49:21 +00:00
anders_k
460b3f59a9
Initial groundwork for ARM64 support
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7001 212acab6-be3b-0410-9dea-997c60f758d6
2018-06-03 21:00:53 +00:00
anders_k
b0430b251b
Preliminary support for disableWindowFiltering and gdiScaling manifest elements
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6993 212acab6-be3b-0410-9dea-997c60f758d6
2018-05-14 19:07:17 +00:00
anders_k
0b01a969e4
Refactor and document !pragma warning error and warning states
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6980 212acab6-be3b-0410-9dea-997c60f758d6
2018-01-31 15:31:49 +00:00
anders_k
49471b3d84
(C) 2018
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6962 212acab6-be3b-0410-9dea-997c60f758d6
2018-01-02 01:51:26 +00:00
anders_k
e3e6ee73bc
Force HEASLR DllCharacteristics when ASLR bit is set for 64-bit targets
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6953 212acab6-be3b-0410-9dea-997c60f758d6
2017-11-28 18:15:44 +00:00
anders_k
5f1651ab91
Avoid using SEEK_END when possible
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6917 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-05 18:11:03 +00:00
anders_k
a51d89712c
Added !gettlbversion and TLB reading support on POSIX
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6913 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-03 20:48:29 +00:00
anders_k
9f91316be0
Added experimental ManifestDPIAwareness attribute so we can declare PerMonitorV2 awareness
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6899 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-14 17:10:33 +00:00
anders_k
ca009c196b
Added !pragma warning error <#|all>, warning #, disable all, enable all, default all
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6898 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-01 23:06:48 +00:00
kichik
fb2accece2
vc6 build errors
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6880 212acab6-be3b-0410-9dea-997c60f758d6
2017-07-23 19:53:39 +00:00
anders_k
88e2fd42d0
Logging build now prints EW_SETFLAG changes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6876 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-23 12:59:44 +00:00
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