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
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
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
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
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
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
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
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
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
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
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
a25547816b
added x64 support for library macros
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5077 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 16:58:57 +00:00
kichik
a0cbd0a09c
cast warning
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5053 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:00:23 +00:00
pabs3
0913023f33
Merge patch for better installs on POSIX platforms.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4486 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-21 09:54:23 +00:00
kichik
9929eb7120
use True/False instead of 1/0
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4270 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-17 08:50:41 +00:00
kichik
096373344d
Library improvements with lots of help from stb:
...
- InstallLib will register DLLs after reboot in the order they were specified in the script
- InstallLib will register every DLL on reboot if the reboot flag is already set
- rewrote RegTool in C
- RegTool compiles from source code
- RegTool will not run when double clicked
- RegTool will register each DLL on a separate process to avoid conflicts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4127 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-23 11:24:11 +00:00
kichik
afebb04bd3
basic SConscript that just copies RegTool.bin
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4087 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-19 11:26:06 +00:00
kichik
28c2e72073
Library fixes and improvements:
...
- always register DLL/TLB, even if the installer didn't copy it there
- only copy one RegTool and use it to register all of the DLLs and TLBs
- extract the RegTool as an .exe so explorer won't complain it doesn't know how to open the file
- fixed REGDLLTLB registering just as a TLB
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3660 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 12:38:23 +00:00
joostverburg
4e4b0e8420
new system for DLL/TLB library setup
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3601 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 22:04:13 +00:00