anders_k
be6c7e6a1d
Major POSIX overhaul
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6416 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-08 14:34:38 +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
5744372364
Fix bug #1080 , Unicode stubs must use RichEdit20W, otherwise EM_GETTEXTRANGE gives us ANSI strings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6410 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-15 23:14:12 +00:00
anders_k
928f0f78e5
FindFirst short-name fallback trick not required in Unicode stubs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6406 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-07 23:26:00 +00:00
anders_k
942ea1d465
Win64 fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6405 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-07 23:04:23 +00:00
anders_k
55738e1385
Optimize FileReadByte/FileReadWord
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6400 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-28 14:46:24 +00:00
anders_k
d387a32658
FileRead in Unicode installers can handle DBCS, conversion output is limited to UCS-2
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6399 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-27 23:09:54 +00:00
anders_k
ebe96fe79c
Don't limit Lnk path A2W conversion to 1024 WCHARs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6397 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-27 17:40:38 +00:00
anders_k
19b9a3e65a
Use ReadFile helper function in exehead
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6395 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-25 19:18:34 +00:00
anders_k
a5f0809ee9
FileReadByte should not do any kind of conversion
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6394 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-25 18:27:02 +00:00
kichik
cf91be2927
fix bug #1076 - always be silent if the user passes /S on the command line, even the installer file can't be read. the installer is not always executed from the computer itself and remote deployment can stall because of this issue (with psexec -c on x64 for example).
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6385 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-14 19:38:06 +00:00
kichik
1554dac424
limit ansiName[] size so long string build doesn't break
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6359 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-19 23:24:50 +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
e173cd33a4
Updated changelog and fixed minor documentation bugs (bug #3063566 , bug #3567313 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6322 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-27 02:50:27 +00:00
kichik
6ef6d6dfb0
"#pragma diagnostic push" only works on gcc 4.6+
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6305 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-17 00:36:07 +00:00
anders_k
dcddf977b2
Use a custom file reader with UTF8 support for nsi/nsh/nlf files and store UTF16LE or MBCS (stringblock) strings in ExeHeadStringList
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6289 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-07 21:25:35 +00:00
anders_k
bd2afdb1f3
Fix HDC leak in CreateFont
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6275 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-09 23:17:33 +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
c6fdb4436d
Fix GCC array bounds warning when accessing g_usrvars
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6258 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-06 22:43:31 +00:00
anders_k
2c89cca183
FileRead is problematic on unicode, just document it for now and hope we can fix it later...
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6214 212acab6-be3b-0410-9dea-997c60f758d6
2012-02-24 15:25:55 +00:00
anders_k
de46637e02
Changed section index is stored in $0 during .onSelChange callbacks
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6184 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-20 22:03:21 +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
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
ee59b7f723
MGA_SHGetKnownFolderPath is not used by anyone
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6166 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-09 08:51:28 +00:00
anders_k
6cd26f04e6
Replaced KNOWNFOLDER(LocalAppDataLow)\Temp with %Temp%\Low and now sets environment var
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6165 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-09 08:43:43 +00:00
anders_k
b93d008d64
Switch param type to LPCTSTR
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6123 212acab6-be3b-0410-9dea-997c60f758d6
2010-09-24 18:43:04 +00:00
anders_k
22e730301c
Fix for bug #3072159 - UNexpected Changes to Directory Attributes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6122 212acab6-be3b-0410-9dea-997c60f758d6
2010-09-21 21:56:49 +00:00
anders_k
accab7bdbd
Try FOLDERID_LocalAppDataLow\Temp as last ValidateTempDir() attempt for Low IL aka Protected IE
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6121 212acab6-be3b-0410-9dea-997c60f758d6
2010-08-19 21:10:30 +00:00
anders_k
633b3e6a95
fixed signed/unsigned warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6111 212acab6-be3b-0410-9dea-997c60f758d6
2010-07-04 20:15:48 +00:00
wizou
52408912ab
Fix a problem with ANSI/Unicode different opcode numbers
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6101 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-14 14:28:03 +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
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
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
f5df185ba2
Fix exehead unicode compil warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6048 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-13 15:01:14 +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
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
9f7710ace6
applied patch #2920342 - add error checking to SetCurrentDirectory
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6029 212acab6-be3b-0410-9dea-997c60f758d6
2010-02-06 17:04:37 +00:00
kichik
a203e2e981
got rid of a zillion warnings on gcc
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5958 212acab6-be3b-0410-9dea-997c60f758d6
2009-03-28 10:20:04 +00:00
kichik
edc558b987
english
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5952 212acab6-be3b-0410-9dea-997c60f758d6
2009-03-20 12:11:57 +00:00