Commit graph

16 commits

Author SHA1 Message Date
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
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
6ba36e9ef4 always push something in TypeLib::GetLibVersion to avoid stack corruption
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4659 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-18 10:40:28 +00:00
kichik
fb6f254183 tabs to spaces
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4602 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 20:55:46 +00:00
kichik
3bc88ed854 release typelib attribute structure when exiting GetLibVersion
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4601 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 20:55:06 +00:00
kichik
d0743b2ced added extern "C" to DllMain so gcc will find it (patch #1255671)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4218 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-11 15:56:43 +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
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
c48ec94bf6 use wsprintf instead of itoa for smaller code size
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3960 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-15 22:11:59 +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
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