Commit graph

5221 commits

Author SHA1 Message Date
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
fbc7cb8fd0 Fixed and documented !if & operator
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6099 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-11 16:33:10 +00:00
anders_k
f0fb5aafea small grammar fix
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6098 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-10 20:54:25 +00:00
anders_k
d526c78d05 Added !define /ifndef and !define /redef optional arguments
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6097 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-10 20:42:50 +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
b397ed9ad5 Unicode port: Generate Unicode LangStrings even if source was an ANSI file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6094 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-28 13:27:30 +00:00
wizou
90e05acdd3 Unicode port: Generate Unicode LangStrings even if source was an ANSI file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6093 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-28 13:10:16 +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
e041a0a32c Unicode port: Turn RichEdit20A controls into RichEdit20W automatically
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6090 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-17 15:46:21 +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
f0rt
7a99fafa68 #2995455: Make NSIS embedded inflate function compatible with zlib
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6088 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-10 17:44:52 +00:00
wizou
37cb17f3cc Unicode port: restore initial console codepage on exit
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6087 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-07 16:13:24 +00:00
wizou
bd4214a2db Unicode port: Makensis subprocesses (like !system) also use UTF-8 output
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6086 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-07 15:35:08 +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
anders_k
b8f6c16fcd VC6 unicode fixes, NSISException still broken
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6082 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-04 22:28:53 +00:00
wizou
5a5a3a674f warning fix
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6081 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-04 08:33:20 +00:00
wizou
1b5e8adbb8 Unicode port: Support for Unicode license files
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6080 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-04 08:21:49 +00:00
afrow_uk
f3ac7d9f93 Changed to use MUI2.nsh
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6079 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-03 20:02:32 +00:00
wizou
2c774a533c Adding CEXEBuild::LoadLicenseFile shared by TOK_LICENSELANGSTRING & TOK_LICENSEDATA
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6078 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-03 14:04:22 +00:00
wizou
b431c21048 Minor changes on FOPENTEXT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6077 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-03 10:12:33 +00:00
afrow_uk
2170215b06 Resubmitted Sections.nsh with StrCpy ops back in (and added to my macros). Thanks Anders :S
I spose conditional compilation would be a better solution but meh!

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6076 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-30 20:17:29 +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
afrow_uk
b28daffd60 Added RemoveSection and UnremoveSection macros to hide+unselect and show+select a section. Removed some unnecessary StrCpy ops from the other macros.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6074 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-30 18:36:36 +00:00
wizou
d96bd3cb6e oops
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6073 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-30 16:39:29 +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
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
wizou
0b26006a44 oops.. reverting unwanted changes on makensis.nsi
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6070 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-21 12:45:53 +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
70ccef9cbc Unicode: Fixed some scripts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6068 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-21 08:55:35 +00:00
wizou
ca54cf728c Unicode: Improved UTF8 detection, less verbose
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6067 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-20 15:29:55 +00:00
wizou
c8d77cd501 Unicode port: Support for Unicode/UTF8 input files by Jim Park.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6066 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-20 09:04:26 +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
9b0e3aeb62 Unicode port: default to Unicode VERSIONINFO resources
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6064 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-19 10:05:49 +00:00
kichik
86c8f0bb32 install substart.exe as makensis.exe
this distribution code needs some serious cleanup...

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6063 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-17 23:20:18 +00:00
kichik
fcb399fce0 workaround for platform sdk problems with scons 1.3.0
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6062 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-17 22:58:47 +00:00
kichik
8563f508c5 fixed nightly build
7.1... 7.1... not 8. what just happened here?

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6061 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-17 21:42:29 +00:00
kichik
4af4fa9c73 fixed nightly build
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6060 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-17 21:20:18 +00:00
anders_k
e7672ebf46 Return exit code from child process
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6059 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-16 14:56:30 +00:00
wizou
cefeec3676 Additional error checking by Jim Park.
Also some cleaning.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6058 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-15 12:11:06 +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
36f6645935 Added comments, and removed unused #include
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6056 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 16:27:00 +00:00
wizou
637db8940c Unicode port: fixing special NSIS escape characters in strings. No change in exehead size.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6055 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 16:02:51 +00:00
wizou
408a5d5169 Adapting CHAR4_TO_DWORD-style constructions. No change in exehead.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6054 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 15:51:48 +00:00
wizou
759ae312b5 Reducing exehead by 9 bytes and making Anders happy
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6053 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 14:27:51 +00:00
wizou
01d88a1ed6 Some TCHAR fixes, linker flag for Unicode, and cosmetic touch without real changes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6052 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 10:15:40 +00:00
wizou
d7ffe58b2e Fix use of wrong MBCS version of string functions. (When playing with TCHAR pointers, most of the time you deal with a number of BYTE/WORD, not a number of multi-byte characters)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6051 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-13 16:14:16 +00:00