Commit graph

32 commits

Author SHA1 Message Date
anders_k
488ecccde5 Make GCC happy
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7311 212acab6-be3b-0410-9dea-997c60f758d6
2021-09-01 18:58:53 +00:00
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
932ad7d85b Clarify GetUserName failure on Win9x
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7132 212acab6-be3b-0410-9dea-997c60f758d6
2019-11-03 16:14:02 +00:00
anders_k
5b09b32668 VC6 cannot handle template class typedef of a template class with the same name (in a different namespace)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7047 212acab6-be3b-0410-9dea-997c60f758d6
2018-11-07 16:58:43 +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
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
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
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
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
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
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
aad23184d0 plugin.lib requires user32.lib, but it's later optimized out of the dll
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5838 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:51:08 +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
pabs3
4f35575dd6 Fix warning about uninitialised variable
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5087 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 07:34:17 +00:00
kichik
0cb1253452 applied patch #1687456 - [UserInfo plugin] Fix for #1684777, GetAccountType and Vista
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5033 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-03 10:02:51 +00:00
pabs3
e873b82b53 Kill some more compiler warnings under Linux and mingw32
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5031 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-02 10:29:35 +00:00
pabs3
747ad310e5 Kill some compiler warnings under Linux and mingw32
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4994 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-11 15:58:46 +00:00
kichik
d7592d0f84 replaced by scons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4047 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-21 16:21:32 +00:00
kichik
53fa1d20ac install and distribute examples, contribs and documentation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4005 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-30 18:04:55 +00:00
kichik
4a77cdc9fe less code in SConscripts, more shared code in SConstruct
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3986 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-22 16:51:00 +00:00
kichik
b604cdfe3f new build system using SCons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3969 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-16 18:48:50 +00:00
kichik
ccf2bb96a5 applied patch #1164307 - Fixes to allow building Contrib/ on debian (minus Makefiles)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3923 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-17 21:26:59 +00:00
kichik
f915329242 Call the same DllMain for debug and release builds
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3133 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-12 20:24:53 +00:00
kichik
ce6f98cdcd Guests comes after users
http://forums.winamp.com/showthread.php?s=&threadid=112655


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2528 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-02 19:31:11 +00:00
kichik
9c081b1bfe Done after error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2527 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-02 17:11:40 +00:00
kichik
442b19bc1f Will always return Admin on 9x systems with advapi32.dll that contains functions it shouldn't (all of them?)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2414 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-03 12:26:33 +00:00
kichik
fe2e1216a4 Updated information about errors
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2135 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-09 13:22:09 +00:00
kichik
7682617c7b Fixed memory leaks
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1815 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-22 11:54:06 +00:00
kichik
2ae1a883d5 Better example
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1607 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-06 16:22:30 +00:00
kichik
e2c95aaa5b GetAccountType instead of GetGroup
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1586 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-04 15:44:51 +00:00
kichik
4541bb7cc8 UserInfo DLL to get user group and name
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1585 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-04 15:40:55 +00:00