kichik
6ff6d600a7
fixed uninstallers processing of /D=
...
realcmds might point exactly to cmdline, so zeroing cmdline-2 may not affect it
instead, zero cmdline-2, cmdline-1, cmdline and cmdline+1 (entire " /D=")
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4967 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-03 12:49:08 +00:00
kichik
0c4ba9481a
fixed bug #1664428 - LicenseForceSelection validation check can be easily skipped
...
rollback 1.269 as lParam can be NULL, as in this case
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4946 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-20 21:34:32 +00:00
kichik
bcb59727b0
applied patch #1660626 - Delete "$TEMP\~nsu.tmp" directory on reboot
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4941 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 15:58:06 +00:00
kichik
36b75d38b8
fail CopyFile of uninstaller in case it already exists
...
this prevents a race condition where Au_.exe is deleted by the current uninstaller and created by another uninstaller before CopyFile is called
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4940 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 15:40:49 +00:00
kichik
fac39f2435
size optimization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4930 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 09:56:21 +00:00
kichik
28dfd60e1d
skip_root returns NULL, if buf1 is NULL, so there's no need to check again
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4925 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-10 14:23:10 +00:00
kichik
8b278be803
use a different temporary variable now that state_command_line is already in use
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4905 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-25 22:37:46 +00:00
kichik
0243b40a1d
according to MSDN, passing NULL as hModule to GetModuleFileName will get the path for the executable of the process so there's no need for g_hInstance
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4904 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-25 22:24:26 +00:00
kichik
d01e124228
process command line before setting temporary directory to give the user a chance to use /S
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4903 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-25 22:08:18 +00:00
kichik
8ecaea19a5
set silent flag as early as possible, so most crc errors won't appear
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4902 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-25 21:29:03 +00:00
kichik
f47023d9df
fixed bug #1174184 - end of InstallDir appended after browse with custom dir var
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4875 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-24 13:08:18 +00:00
kichik
0117e3138e
try CSIDL before resorting to registry or API for paths
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4867 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-23 19:41:28 +00:00
kichik
5201b056ba
fixed bug #1638191 - have RegDLL use LoadLibraryEx with LOAD_WITH_ALTERED_SEARCH_PATH
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4865 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-23 18:16:57 +00:00
kichik
b4a00a8ede
size optimization - no need for GetDlgItem, WM_COMMAND comes with the lParam = HWND
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4853 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-19 18:30:56 +00:00
kichik
c145d69e55
2006 -> 2007
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4847 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-13 17:28:23 +00:00
kichik
0e0bc68e58
size optimization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4823 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-25 11:37:59 +00:00
kichik
a92506d828
fixed bug #1542530 - WriteUninstaller fails to overwrite read-only uninstallers
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4822 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-25 11:32:19 +00:00
kichik
9f37ece536
size optimization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4821 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-25 10:51:00 +00:00
kichik
d13749922d
size optimization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4820 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-25 10:28:32 +00:00
kichik
e06fba9e3b
fixed bug #1115825 - install pg/Show details/rt clk popup not destroyed on finish
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4819 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-25 10:17:26 +00:00
joostverburg
e497d771b1
* The LZMA compression module for NSIS is now licensed under the Common Public License version 1.0
...
* Added license and copyright notice to every source file
* The new COPYING file and license section in the Users Manual list the terms of all relevant licenses
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4787 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-28 19:45:02 +00:00
kichik
3e561714e4
fixed bug #1504758 - CRC32 implementation use potentially non-32bit types
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4697 212acab6-be3b-0410-9dea-997c60f758d6
2006-06-16 14:12:04 +00:00
kichik
70e426839a
fixed bug #1504297 - .onVerifyInstDir changes browsing text
...
script executed in .onVerifyInstDir changes ps_tmpbuf which is returned by GetNSISStringTT and is used for the browsing text
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4694 212acab6-be3b-0410-9dea-997c60f758d6
2006-06-16 13:15:01 +00:00
kichik
a7d42ace7e
fixed bug #1481664 - RMDir can't delete read-only folders
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4667 212acab6-be3b-0410-9dea-997c60f758d6
2006-05-19 07:49:16 +00:00
kichik
a4724a1d6b
match log_text in util.c
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4649 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-07 16:21:16 +00:00
kichik
580c98a100
implemented RFE #1460586 - Put time stamps in the install log
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4635 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-05 18:45:03 +00:00
kichik
f1a6014174
size optimization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4633 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-05 18:44:28 +00:00
kichik
503f5c78c8
moved _NSIS_NO_INT64_SHR test to SCons/Config/ms so it'll only be called once and not for each stub and because it's a better location being a vc specific problem
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4595 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 12:01:17 +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
kichik
615ad474cb
size optimization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4554 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-07 14:11:18 +00:00
kichik
688b994b45
moved NSIS_STRING from config.h to fileform.h
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4541 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:28:51 +00:00
kichik
32a717faf5
move NSIS_VARS_SECTION to sconf.h
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4536 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:12:04 +00:00
kichik
7a5163ea59
write all defines to sconf.h which is included by config.h instead of passing them on the command line
...
write the freaquently changing NSIS_VERSION to a separate file named version.h so only files that really need it will include it
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4535 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:10:42 +00:00
kichik
2af8b64f00
fixed bug #1400995 - MB_TOPMOST doesn't work as first sections' instruction
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4534 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 18:15:35 +00:00
kichik
90301110cc
fixed bug #1420657 - RMDIR doesn't delete file with double dots prefix
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4512 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-31 18:27:28 +00:00
kichik
2c7ee57a18
check if log_dolog is set for NSIS_CONFIG_LOG_STDOUT as well
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4511 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 18:06:46 +00:00
kichik
94f7f3b673
added NSIS_CONFIG_LOG_STDOUT
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4510 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 17:53:00 +00:00
kichik
a889217375
richedit controls automatically set the hand cursor for links, no need to do it manually
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4507 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 15:44:40 +00:00
kichik
75d0211ffd
check g_tmp[0] not state_language[2]
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4500 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-24 17:57:50 +00:00
kichik
b747052c7f
fixed bug #1412159 - NSIS 2.13 doesn't work on Win 95/98/NT
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4498 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-24 17:54:35 +00:00
kichik
80cca71694
g_tmp should be at least twice NSIS_MAX_STRLEN, no matter what NSIS_MAX_STRLEN is
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4497 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-24 17:31:24 +00:00
kichik
9f93fcfa18
oops, quoting problems, back to config.h
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4496 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-21 15:59:33 +00:00
kichik
dcc5a3c002
moved VARS_SECTION_NAME from config.h to config.py and renamed it to NSIS_VARS_SECTION
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4495 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-21 15:17:28 +00:00
kichik
c16ca4f9fc
2006
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4485 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-20 12:36:30 +00:00
kichik
d96ca6b2f7
size optimization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4483 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 16:03:53 +00:00
kichik
8be4c6a45d
size optimization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4482 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 15:55:37 +00:00
kichik
df250ef20d
size optimization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4481 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 15:42:15 +00:00
kichik
b682277db5
added a comment explaining the workaround
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4480 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 15:32:56 +00:00
kichik
4a9416330d
fixed bug #1397031 - masked checkboxes don't redraw on Windows 95
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4479 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 15:22:49 +00:00
kichik
494a87fd0c
TreeView doesn't automatically scroll to newly added items, there's no need to manually scroll back to the top.
...
I'd keep it just to be on the safe side, but on Windows 95, it crashes when there are no items in the TreeView.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4478 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 13:35:12 +00:00