Commit graph

52 commits

Author SHA1 Message Date
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
kichik
24f43a6214 fixed bug #1701290 - linux FTBFS: stubs and librarylocal
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5088 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 20:15:00 +00:00
kichik
4091b86fda build as cross platform
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5085 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-15 21:29:01 +00:00
kichik
d47e43aecb added support for POSIX platforms
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5084 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-15 21:27:41 +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
ce5f73cdd2 tabs to spaces
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5075 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 15:05:02 +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
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
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
fae25f96ef get output file from command line
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4308 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-07 13:21:09 +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
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
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
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
1f6952a21a no more compiled binaries in CVS
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3970 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-16 18:58:22 +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
2f0e20a582 replaced WinMain with main
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3964 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-16 17:08:46 +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
kichik
aea5022f96 applied patch #1081497 - Fix for LibraryLocal to allow DLL's with a UNC path
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3818 212acab6-be3b-0410-9dea-997c60f758d6
2004-12-10 10:54:13 +00:00