anders_k
e43d5a3b9e
Add new (optional) makensis win32 abort event to avoid multiple instance issues
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6298 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-14 18:00:00 +00:00
kichik
5289607dbd
tchar.h is already included in platform.h
...
no need to include nsis_tchar.h from exdll (this is not a plug-in anyway)
this fixes a '_tstof' redefinition warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6278 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-11 02:39:35 +00:00
anders_k
b76e823c5c
Remove MRU menu separator when list is empty and delete empty MRU registry items
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6271 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-16 08:12:47 +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
anders_k
cf4e5cf132
Fix a lot of MinGW/GCC warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6168 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-09 18:12:57 +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
wizou
24c02b97d0
Unicode port: adding UTF-16LE file functions
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6089 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-17 15:11:29 +00:00
wizou
428ae80ab1
Unicode port: Adapted MakensisW & zip2exe for UTF-8 (avoid cutting sequence). Also fix a bug where they would get stuck if output log was multiple of 1023 bytes. Simplification of reading loop.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6085 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-07 13:54:03 +00:00
wizou
743ad095f5
Unicode port: Turn console & output logs to UTF-8. Adapted MakensisW for UTF-8
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6083 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-05 14:14:48 +00:00
wizou
68c5a5751e
MakeNSISW now uses RichEdit 2.0, compatible with Unicode (exehead UIs already uses it anyway)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6069 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-21 09:09:47 +00:00
wizou
2d3bf19b0d
Bug fix & simplification on SetArgv
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6065 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-19 10:06:48 +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
wizou
a92fad7347
fix compiler error
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6046 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-31 19:16:44 +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
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
9fd7d4ef36
fixed bug #2892444 - missing license file (jnetlib.h), it's all zlib
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6003 212acab6-be3b-0410-9dea-997c60f758d6
2009-12-05 21:23:57 +00:00
kichik
5f1cfb02ff
fixed bug #2725883 - NSIS installers always show warning on Windows 7
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5974 212acab6-be3b-0410-9dea-997c60f758d6
2009-06-06 16:14:36 +00:00
kichik
e4c6c6bc30
implemented rfe #2557392 - makensisw: Shortcut to abort compilation
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5918 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-02 23:38:12 +00:00
kichik
efebf6bedd
fixed bug #1891066 - Open Script Folder runs executable instead
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5541 212acab6-be3b-0410-9dea-997c60f758d6
2008-02-16 17:53:17 +00:00
kichik
bbdaf8befe
removed reference to cvs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5329 212acab6-be3b-0410-9dea-997c60f758d6
2007-10-06 09:05:34 +00:00
kichik
d9d6a9da51
fixed bug #1796053 - makensisw command-line parsing error due to GlobalAlloc/GlobalFree mismatch
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5276 212acab6-be3b-0410-9dea-997c60f758d6
2007-09-18 20:14:25 +00:00
kichik
9cb8501db4
version bump
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5132 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-27 16:57:58 +00:00
kichik
2263524b66
allocate g_sdata.script_cmd_args as GMEM_MOVEABLE
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5100 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-18 18:19:02 +00:00
kichik
c72c1d9520
free riched32.dll outside of the wndproc
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5099 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-17 20:49:23 +00:00
kichik
7d1f948631
- properly allocate size in AddScriptCmdArgs
...
- do clean-up in WM_DESTROY, not only WM_CLOSE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5098 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-17 20:41:17 +00:00
kichik
f91406647a
some more warnings of bug #1676243
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5097 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-17 20:05:56 +00:00
kichik
45e24287fc
removed double initialization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5091 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 21:03:54 +00:00
kichik
820a1bb7a9
fully intialize g_sdata and delete g_sdata.script_cmd_args
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5090 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 21:00:53 +00:00
kichik
a96f348c0a
fixed some warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5059 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:42:46 +00:00
kichik
7f37f6ff24
allow only one script in the command line and don't process any arguments after it
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5048 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 20:03:15 +00:00
kichik
845566790d
more clean-up:
...
* removed ResetInputScript()
* don't edit g_sdata.script for CreateProcess
* use SetScript in LoadMRUFile
* proper and clear allocation of g_sdata.compile_command in CompileNSISScript()
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5047 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-10 21:07:21 +00:00
kichik
3a657559b0
properly initialize script_cmd_args for each SetScript
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5046 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-10 20:41:01 +00:00
kichik
fb3bcd24be
g_sdata.script is expected not to be NULL
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5045 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-10 20:34:05 +00:00
kichik
d545d00bda
fixed bug #1696534 - Broken Parameter Handling for Makensisw.exe v.2.3
...
the entire command line processing and handling of g_sdata.script is overly complex and apparently a bit malfunctioning... for example, g_sdata.script, while expected to contain just the file name, contains every command line argument passed to makensisw and also quotes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5044 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-10 20:31:20 +00:00
kichik
39e22a96dd
added COMPRESSOR_NONE_SELECTED instead of (NCOMPRESSOR)-1
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5043 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-10 19:48:54 +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
kichik
f539671826
version bump
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5018 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-31 11:47:04 +00:00
kichik
00e1788675
applied patch #1680556 - fixes to allow zip2exe & Makensisw to build in winelib
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5008 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-24 13:55:59 +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
78a980fe03
allocate memory for "--" as well
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4962 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-02 09:49:54 +00:00
pabs3
3d7194ee59
fixed bug #1661503 : inconsistency between Win32/Linux makensis command line options
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4961 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-02 04:35:35 +00:00
kichik
c1c68544e0
it's WIN32_LEAN_AND_MEAN, not WIN32_MEAN_AND_LEAN and it makes build fail anyway
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4954 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-23 17:01:14 +00:00
kichik
28a3b53b05
implemeneted RFE #1666501 - MakeNSISw: esc -> close
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4951 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-23 12:42:21 +00:00
kichik
7fd83c7114
version bump
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4917 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-02 16:37:21 +00:00
kichik
10dbfeab56
add menu accelerators to MRU
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4916 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-02 16:34:40 +00:00
kichik
6e6b20ea64
fixed bug #1411970 - Settings in HKLM instead of HKCU?
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4874 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-24 12:51:26 +00:00