anders_k
5c78d6fafe
Try to work around the mingw-w64 kernel32:OpenThreadToken library issue
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7192 212acab6-be3b-0410-9dea-997c60f758d6
2020-06-29 23:08:12 +00:00
anders_k
52ac543360
Removed LibraryLocal utility
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7061 212acab6-be3b-0410-9dea-997c60f758d6
2018-12-07 22:06:47 +00:00
anders_k
993b491786
Added dummy CRT stubs for VS 2010-15 (bug #1159 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7032 212acab6-be3b-0410-9dea-997c60f758d6
2018-10-31 20:07:01 +00:00
anders_k
daa57f1f33
Optimize away more calls to GetModuleHandle(0) with __ImageBase under MSVC
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6918 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-06 13:21:51 +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
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
d80b364e1d
TCHAR cannot be used in RegTool because it must be able to run on Win9x.
...
RegTool now implements A and W functions in the same binary. Bitness mixing is still problematic.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6858 212acab6-be3b-0410-9dea-997c60f758d6
2017-05-12 00:19:23 +00:00
anders_k
450343788f
Fixed two GCC POSIX warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6849 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-14 21:48:55 +00:00
anders_k
27ed0e502b
Unify g_output and console initialization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6802 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-23 15:42:20 +00:00
anders_k
d698d166d5
Use a common helper macro to declare some UI output related variables
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6800 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-22 23:11:33 +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
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
c89cac5262
Fixed minor issues and typos
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6584 212acab6-be3b-0410-9dea-997c60f758d6
2015-05-14 20:17:14 +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
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
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
4543f3f994
more conversion warning fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6436 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-02 00:39:28 +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
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
kichik
c9a132db3e
don't crash in LibraryLocal if the file cannot be found
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6337 212acab6-be3b-0410-9dea-997c60f758d6
2013-04-11 09:02:04 +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
a93eebeef6
no need for tstring.cpp after all as we only use the tstring typedef and non of the functions
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6320 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-24 22:38:11 +00:00
kichik
ae0b6f6f62
gcc doesn't like %lu for DWORD as it's just unsigned int and not long unsigned int
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6315 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-24 06:10:27 +00:00
kichik
b9a225ff84
we need tstring.cpp too now for conversion
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6314 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-24 06:09:50 +00:00
kichik
3076227025
Platform.h defines TCHAR, no need to include tchar.h from the system
...
this fixes another set of redefinition warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6281 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-11 03:48:27 +00:00
kichik
bafaa78c40
NSIS.exe should be built as a GUI executable not as CLI
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6279 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-11 03:12:50 +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
2d99d7ad3e
Removed unused variables and fixed GCC warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6259 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-08 02:50:09 +00:00
golubdr
6047415427
Fixed regression that was causing RegQueryValueEx to always fail.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6252 212acab6-be3b-0410-9dea-997c60f758d6
2012-08-07 00:33:55 +00:00
anders_k
7cf2ef1a08
Unicode on posix fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6217 212acab6-be3b-0410-9dea-997c60f758d6
2012-03-01 21:06:14 +00:00
anders_k
382b2fa282
Unicode fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6216 212acab6-be3b-0410-9dea-997c60f758d6
2012-02-28 22:40:43 +00:00
wizou
f7f4d2f033
Using standard wchar string functions instead of winchar_*
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6072 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-30 14:48:19 +00:00
wizou
e438c2092b
Fixed bug and Unicode support in RenameViaWininit function
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6057 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-15 08:51:35 +00:00
wizou
64a0f32e52
more simple TCHARs fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6047 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-12 16:00:17 +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
wizou
acf9a8c21f
Jim Park's Unicode NSIS merging - Step 4 : merging more TCHAR stuff that shouldn't have any impact
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6041 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-29 14:24:47 +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
pabs3
eff14a4702
Install the pluginapi stuff in a subdirectory.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5922 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-04 14:08:31 +00:00
kichik
c88bf59a8d
make sure iconv exists
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5902 212acab6-be3b-0410-9dea-997c60f758d6
2009-01-10 22:51:43 +00:00
kichik
357a9f58c0
since we're already using winchar...
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5898 212acab6-be3b-0410-9dea-997c60f758d6
2009-01-10 22:12:10 +00:00
kichik
de19959620
fixed bug #2494539 - Missing iconv dependency in LibraryLocal in 2.42
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5897 212acab6-be3b-0410-9dea-997c60f758d6
2009-01-10 22:10:23 +00:00
kichik
79da5e1cb5
renamed plugin.* to pluginapi.*
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5856 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-20 08:49:26 +00:00
kichik
4ba8da04fd
switch to plugin.h
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5832 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:18:43 +00:00
kichik
39b7d36352
implemented RFE #2315740 - Library support for ActiveX exe /regserver
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5776 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-20 21:54:21 +00:00
kichik
b5df399991
restore fs redirection only if it was set in the first place
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5119 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-24 16:16:05 +00:00
kichik
a4fe984390
use GetDLLVersion
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5117 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-24 14:11:35 +00:00
kichik
ec2d800d42
build #Source files into LibraryLocal's build dir instead of into #Source
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5108 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-20 11:35:29 +00:00
kichik
9b15ba192b
fixed bug #1701879 - linux LibraryLocal FTBFS
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5095 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-17 18:30:30 +00:00
kichik
ec12005638
spaces to tabs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5089 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 20:28:55 +00:00