Commit graph

9 commits

Author SHA1 Message Date
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
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
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
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
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