Commit graph

88 commits

Author SHA1 Message Date
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
859c2ad6eb Added basic WriteRegMultiStr support (RFE #382, patch #219)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6829 212acab6-be3b-0410-9dea-997c60f758d6
2016-12-29 21:59:35 +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
3e416abd5c Don't look for a specific 2003 TK version when deciding which std::min/max workaround to apply
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6646 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-28 21:33:12 +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
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
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
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
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
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
59e19c8c94 Fixed STD_MIN/MAX again for VCToolkit2003: SDK2003R2/CL14.00.40310.41 defines _MAX as _cpp_max and _cpp_max is a template under std. VCToolkit2003/CL13.10.3052 has a template _MAX under std but also does "#define _MAX (max)" so we cannot use "std::_MAX" and have to rely on the "(std::max)" trick.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6503 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-23 01:28:32 +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
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
kichik
e798b125ca fixed build with mingw on ubuntu 64-bit
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6432 212acab6-be3b-0410-9dea-997c60f758d6
2014-01-27 03:34:16 +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
kichik
4997292d4b build fixes for vc
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6421 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-25 04:50:54 +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
942ea1d465 Win64 fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6405 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-07 23:04:23 +00:00
anders_k
7ce021a376 Ignore c++ exception specifications, they are still useful as "documentation"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6398 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-27 18:29:36 +00:00
anders_k
7d930ed452 MakeNSISW should request UTF16LE output
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6370 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-28 20:07:47 +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
d5962e9b67 DWORD type is unsigned long, not int
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6321 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-24 23:27:09 +00:00
kichik
d20e3a5c7f we need properly defined TCHAR on POSIX too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6312 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-24 06:06:54 +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
wizou
4d94e1ae8a fix warnings on BIF_NEWDIALOGSTYLE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6205 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-06 23:48:25 +00:00
wizou
e31ccf2190 fix warnings on BIF_NEWDIALOGSTYLE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6203 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-06 21:25:50 +00:00
anders_k
ef8a83bd41 Basic UTF-8 support in ansi build so it can read UTF-8 .nlf files and LangStrings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6196 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-05 23:44:26 +00:00
anders_k
9540aa5d5c Fix stupid C&P error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6155 212acab6-be3b-0410-9dea-997c60f758d6
2011-06-15 22:57:32 +00:00
anders_k
fd1febb2f0 Fixes for MinGW (substart and system.dll still broken)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6154 212acab6-be3b-0410-9dea-997c60f758d6
2011-06-15 22:48:02 +00:00
anders_k
e46b9b0801 Reorganized defines
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6137 212acab6-be3b-0410-9dea-997c60f758d6
2011-03-01 17:31:02 +00:00
wizou
4d19aaa9ab Adding new ${__FILEDIR__} preprocessor define containing directory of current script
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6108 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-17 10:11:29 +00:00
wizou
1b5e8adbb8 Unicode port: Support for Unicode license files
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6080 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-04 08:21:49 +00:00
anders_k
82d42b1159 _countof and swprintf fixes for VC6
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6045 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-30 17:50:08 +00:00
f0rt
8ab72b9ece #1753070: Enable that makensis and its related utilities can be built natively for 64-bit systems
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6040 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-27 19:20:16 +00:00
wizou
752d7d239a Jim Park's Unicode NSIS merging - Step 1 : switch to TCHARs where relevant.
Compiler output is identical before & after this step

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/branches/wizou@6036 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-24 17:22:56 +00:00
kichik
4cbde48fe7 buildy buildy
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5978 212acab6-be3b-0410-9dea-997c60f758d6
2009-06-06 16:22:25 +00:00
kichik
b10eddb8ca terminal services awareness day
donate now!

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5975 212acab6-be3b-0410-9dea-997c60f758d6
2009-06-06 16:15:48 +00:00
kichik
0aed504f4a happy new year!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5917 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-01 14:44:30 +00:00
kichik
d1a1ed1ee3 shell api for shell stuff that's not automatically included in latest sdks
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5895 212acab6-be3b-0410-9dea-997c60f758d6
2009-01-10 21:53:58 +00:00
kichik
b35dbfae72 HMODULE is used in api.h which is included by build.cpp which is also built on POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5822 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 23:18:02 +00:00
kichik
f6e4fefbf5 moved NSISCALL detection to scons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5814 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 22:42:12 +00:00
kichik
2675599a31 happy new year!
bug #1855805

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5429 212acab6-be3b-0410-9dea-997c60f758d6
2007-12-22 09:41:57 +00:00
kichik
4690383071 fixed bug #1851365 - mac os x leopard build and run fails - endian issues
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5398 212acab6-be3b-0410-9dea-997c60f758d6
2007-12-15 15:28:38 +00:00
kichik
30d04c642b added HWND
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5209 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-18 19:21:30 +00:00
kichik
161ac2adf2 fixed bug #1752328 - PFNSHGETFOLDERPATHA is stub only and very Windows, move from Platform.h to util.c
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5197 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-12 16:35:13 +00:00
joostverburg
b5cfb1ce4a moved definition to Platform.h and removed useless function calls
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5196 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-10 21:57:33 +00:00
kichik
e06dcdcae6 fixed bug #1707823 - VS_FIXEDFILEINFO undefind in util.cpp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5124 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-26 18:24:35 +00:00
kichik
22a81bc536 CResourceEditor was broken on big endian platforms since 2.24 because IMAGE_NT_OPTIONAL_HDR32_MAGIC had improper definition
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5094 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 22:14:16 +00:00