Commit graph

73 commits

Author SHA1 Message Date
anders_k
9ff4b3ef43 (C) 2015
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6577 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-06 21:43:39 +00:00
anders_k
4cdb1cf7d1 * mynsiscallback must return nil and not 0 to avoid warning in some versions of Delphi.
* NSISDialog only uses g_hwndParent if it is valid.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6576 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-06 21:22:31 +00:00
anders_k
544711c803 Plugin SDK Pascal fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6574 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-03 23:25:39 +00:00
anders_k
913d5a62b2 Remove pluginapi.c's dependency on nsis_tchar.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6531 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-19 20:56:12 +00:00
anders_k
9ed46ac829 Removed some profanity from the docs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6519 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-11 21:11:11 +00:00
anders_k
edd80964a7 Tabs to spaces and minor cleanup
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6514 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-05 11:55:28 +00:00
anders_k
7ee1a114a9 Minor typo and indentation fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6510 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-02 20:03:18 +00:00
anders_k
36deb84820 64bit fixes and optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6486 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-19 22:03:09 +00:00
anders_k
c75a00bbe7 2014 and fixed some minor typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6478 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-13 15:51:45 +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
e63fa6c53b Win64 fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6413 212acab6-be3b-0410-9dea-997c60f758d6
2013-09-06 23:48:59 +00:00
anders_k
bd591bf196 200? -> 2013
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6352 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-17 19:31:36 +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
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