Commit graph

2279 commits

Author SHA1 Message Date
anders_k
1f949ccb94 Minor example scripts and WinVer.nsh fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6272 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-16 09:43:36 +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
b0c40ee3b5 Reduce define spew from included files
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6264 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-17 12:37:03 +00:00
anders_k
172e5cdb08 Fix bug #3567313, wrong MUI control id in nsD docs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6262 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-14 12:11:30 +00:00
anders_k
59be675382 System: Minor x64 fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6260 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-10 22:56:41 +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
4247359df9 Fixed adler32.cpp to compile with the latest version of zlib.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6254 212acab6-be3b-0410-9dea-997c60f758d6
2012-08-22 13:34:38 +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
40c7fd50a8 Fix bug#3532925: Wrong LangID
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6246 212acab6-be3b-0410-9dea-997c60f758d6
2012-07-01 22:28:14 +00:00
anders_k
7cd38f2367 System plugin: Try harder to find dll export function
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6243 212acab6-be3b-0410-9dea-997c60f758d6
2012-06-21 23:13:05 +00:00
anders_k
8aa67f8987 System plugin: Basic x64 fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6222 212acab6-be3b-0410-9dea-997c60f758d6
2012-03-06 23:09:23 +00:00
anders_k
2132661644 System plugin: Prefer A/W export when t type is used
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6220 212acab6-be3b-0410-9dea-997c60f758d6
2012-03-06 00:26:12 +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
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
anders_k
9931591d3a Emulate g as &g16 in *() struct syntax
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6210 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-13 21:20:56 +00:00
anders_k
c57acd99d2 Added SYSTEM_LOG "param out" output
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6209 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-13 21:16:24 +00:00
anders_k
1e138ea336 Fix SConstruct Mkdir exists warning and empty verbose stack pop warning in MUI2
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6191 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-03 00:14:44 +00:00
anders_k
3095000536 Don't install "bin\substart.exe"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6182 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-19 20:22:56 +00:00
anders_k
020864c3da Make sure SubStart is a CLI app (MinGW/GNU config bug)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6181 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-19 19:53:59 +00:00
anders_k
0617c9d3e7 Changed SetWindowLong to SetWindowLongPtr and removed WNDPROC related casts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6180 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-19 15:41:45 +00:00
anders_k
20e4aa0787 Fixed .Sx vs .sx file extension in scons script
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6176 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-17 18:16:12 +00:00
anders_k
1b0467a030 MinGW needs Call.sx
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6175 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-17 16:04:09 +00:00
anders_k
af78075192 Detect ASM+C pre-processor file extension for MinGW with SCons 1.1+
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6174 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-17 16:00:29 +00:00
anders_k
a37905cc0c Math: Unicode merge made MinGW build crash again (Bug#2835731), adding fix back in
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6169 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-09 18:24:27 +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
anders_k
b84d41e582 nsDialogs: Bugfix for __NSD_LoadAndSetImage $R0 as parameter conflict
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6164 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-08 23:18:12 +00:00
anders_k
1a6e32bce9 Fixed some old typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6163 212acab6-be3b-0410-9dea-997c60f758d6
2011-09-23 17:36:30 +00:00
anders_k
aeca0623b7 MUI2: Fixed bugs 3400067, 3408407: MUI_FINISHPAGE_TITLE_3LINES padding + reboot
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6162 212acab6-be3b-0410-9dea-997c60f758d6
2011-09-13 16:18:49 +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
f0rt
1730185509 Use relative paths in .nsi script examples (#3293899)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6150 212acab6-be3b-0410-9dea-997c60f758d6
2011-05-02 19:14:03 +00:00
kichik
50176403f5 latest from Kli-Ali and Yinghua Wang
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6146 212acab6-be3b-0410-9dea-997c60f758d6
2011-03-21 05:41:14 +00:00
anders_k
d95c0ecbd8 GetProcAddress is always ansi
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6132 212acab6-be3b-0410-9dea-997c60f758d6
2010-11-15 23:45:57 +00:00
anders_k
f853b15cc7 A working COUNTOF would be nice
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6131 212acab6-be3b-0410-9dea-997c60f758d6
2010-11-15 18:17:41 +00:00
anders_k
4c62b4760e VC6 fixes when using SYSTEM_LOG_DEBUG
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6130 212acab6-be3b-0410-9dea-997c60f758d6
2010-11-15 18:02:29 +00:00
wizou
954c0abe6c Merging language files from Jim Park's repository (new files and some changes)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6118 212acab6-be3b-0410-9dea-997c60f758d6
2010-07-09 13:52:07 +00:00
wizou
50086bac60 Fix encoding error in Kurdish
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6117 212acab6-be3b-0410-9dea-997c60f758d6
2010-07-09 12:56:35 +00:00
wizou
1a77f53307 Fix encoding error in Kurdish
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6116 212acab6-be3b-0410-9dea-997c60f758d6
2010-07-09 09:30:46 +00:00
wizou
746d91af33 LANGFILE macro arguments now include a localized name AND an ASCII-only name (closest possible to the localized name)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6115 212acab6-be3b-0410-9dea-997c60f758d6
2010-07-09 09:18:15 +00:00
wizou
0cccfdaceb Converting Language files to Unicode (UTF-8) according to each associated codepage
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6114 212acab6-be3b-0410-9dea-997c60f758d6
2010-07-08 15:30:59 +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
74ffaada4e Merging various fixes from latest Jim Park repository
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6096 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-28 14:09:08 +00:00
wizou
23fe81e16e Unicode port: Auto-convert InstallOptions INI files to Unicode, to support Unicode texts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6095 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-28 13:30:27 +00:00
wizou
e097a25855 nsExec Unicode port by Jim Park (is this correct??)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6092 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-19 15:21:34 +00:00
wizou
d59234c852 nsExec small simplification
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6091 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-19 15:18:54 +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
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
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