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
70408e8ae4
Generate ansi and unicode plugins
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6219 212acab6-be3b-0410-9dea-997c60f758d6
2012-03-05 23:29:20 +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
anders_k
fd1febb2f0
Fixes for MinGW (substart and system.dll still broken)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6154 212acab6-be3b-0410-9dea-997c60f758d6
2011-06-15 22:48:02 +00:00
wizou
57f7ff8a1c
Unicode port: Unicode version of NSIS can now generate both ANSI & Unicode installers (using new instruction UnicodeInstaller on/off).
...
Stubs & Plugins differentiation is done automatically using a 'W' suffix.
SConscripts need to be reviewed to generate both variants of Plugins & pluginapi.lib under Unicode compilation.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6100 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-14 10:07:22 +00:00
anders_k
27977fd335
Added some plugincallback api stuff and fixed spelling
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6084 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-06 19:24:34 +00:00
afrow_uk
4f1a78e939
Fixed bug #2994202 - ExDll vcproj defines VC90 CRT dependency
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6075 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-30 18:42:55 +00:00
anders_k
b9a5d24705
Extra_params functions are stdcall
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6071 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-28 22:24:53 +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
wizou
cdf7735a77
Jim Park's Unicode NSIS merging - Step 2 : merge TCHARs changes into trunk
...
Compiler output is identical before & after this step
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6037 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-26 17:18:17 +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
5b009195fb
pointing to wrong vcproj
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6025 212acab6-be3b-0410-9dea-997c60f758d6
2010-02-06 12:57:23 +00:00
kichik
4301eba14a
applied patch #2802794 - nsis.pas - LogMessage() and Call()
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5990 212acab6-be3b-0410-9dea-997c60f758d6
2009-06-08 20:09:31 +00:00
kichik
6d0a1b744e
fix for new paths
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5923 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-04 21:29:38 +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
d05741f44e
added exdll vs2008 project files, thanks to TobbeSweden
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5914 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-01 12:06:41 +00:00
pabs3
bf6c65b158
Fix up plugin API header/lib installation for non-Windows platforms.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5904 212acab6-be3b-0410-9dea-997c60f758d6
2009-01-11 09:48:07 +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
f3350670fb
simpler atoi for LangDLL and Banner
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5836 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:45:03 +00:00
kichik
7ee44a65dc
some more functions, required by nsDialogs and probably more plug-ins
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5834 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:37:22 +00:00
kichik
e1a741ef08
update for plugin.h and plugin.lib
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5833 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:19:45 +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
f6800c8052
allow passing NULL to popstring() for InstallOptions and probably more plug-ins
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5831 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:13:43 +00:00
kichik
1f02b6128e
hello c++!
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5830 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:07:38 +00:00
kichik
1cb944da98
use plugin.h and try to force plugin.lib for backward compatibility
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5829 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:07:10 +00:00
kichik
d3cc90d746
update CPPPATH (include directory) as well so plug-ins can find everything
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5827 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 16:46:55 +00:00
kichik
eceb3ce333
- create plugin.lib that contains all
...
- distribute plugin.h, api.h and plugin.lib
- remove inc_c stuff because we don't really want to install win32 header files as something that can be used on linux (this should be revisited later)
- fix up MakeFileList for newer versions of SCons (should be removed in the future)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5826 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 16:33:25 +00:00
kichik
6720f24b8f
use api.h in exdll.h (part of patch #2359978 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5816 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 22:54:32 +00:00
kichik
4c30821aa5
applied patch #1912699 - "Pinned" / always loaded plugins support
...
this patch also adds plugin_api_version to exec_flags so your plug-in can now tell if features it needs are available
more plug-ins that need this will be converted once the patch to make both the stubs and the plug-ins use the same header file is in place
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5809 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 22:03:33 +00:00
kichik
e273e90ecd
added missing int status_update;
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5607 212acab6-be3b-0410-9dea-997c60f758d6
2008-04-22 17:45:25 +00:00
kichik
c755489823
avoid corruption messages
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5571 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-07 08:57:49 +00:00
kichik
f8b999c03a
use A functions intead of T
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5169 212acab6-be3b-0410-9dea-997c60f758d6
2007-06-13 18:55:07 +00:00
kichik
357c44ac38
added SetRegView to allows access to the x64 registry view
...
this method was chosen over a new switch for all regsitry commands to allow easy transition of existing scripts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5070 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 12:50:32 +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
988c973576
fixed bug #1680944 : Woooops, add the SConscript for ExDLL
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4997 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-15 00:43:42 +00:00
kichik
b3838bdf91
include windows.h for HWND, GPTR and friends
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4915 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-30 23:11:11 +00:00
kichik
015723663b
export validate_filename for plug-ins
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4556 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-07 14:14:25 +00:00
kichik
84c1ce2084
applied parts of patch #1193692 - fixes to scons Contrib stuff
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4006 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-03 17:31:56 +00:00
kichik
6feb1128c4
deprecated cur_insttype and insttype_changed
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3858 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-11 16:39:27 +00:00
kichik
9f8fa0dac2
some consts
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3799 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-30 18:11:13 +00:00
kichik
89d3581649
Added another parameter to plug-in functions. This parameter is a structure with pointers to exec_flags and ExecuteCodeSegment. This is backward compatible with older plug-ins because plug-in functions use the __cdecl calling convention which means NSIS clears the stack.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3751 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-23 17:43:08 +00:00
kichik
8eedd05f0c
Applied patch #838864 - some more optimizations
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3152 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-16 22:38:14 +00:00
kichik
ed8c349736
Better error handling
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3138 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-14 13:44:26 +00:00
kichik
c775c5a3e8
Applied patch #838864 - String-friendly Delphi ExDLL
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3136 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-13 13:04:54 +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
f4c56119be
patch #835443 - simpler SetUserVariable
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3096 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-04 16:59:17 +00:00
kichik
43bd7d565f
SetUserVariable for Delphi ExDLL too - thanks spidervenom
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3089 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-03 09:01:53 +00:00
ramon18
2894ac8453
New MASM32 header for NSIS plug-ins
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2792 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-07 15:25:39 +00:00
kichik
aec369dfbc
New Delphi unit for NSIS plug-ins by Bernhard Mayer
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2791 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-06 16:53:52 +00:00