kichik
3f18dc0b75
use normal file functions for wininit.ini modification
...
- according to msdn, mmap operations can raise an exception which wasn't handled
- free up a lot of bytes from .data section (no mmap API functions)
- mmap size is, like allocation of a buffer, limited by available memory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4462 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-30 13:51:02 +00:00
kichik
7a4bdcf90f
size optimization (zlib is back to 34/35)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4459 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-24 16:39:02 +00:00
kichik
ad3d61c837
size optimizations
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4458 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-24 16:28:54 +00:00
kichik
03ffaef32d
fixed bug #1331292 - browsed network root directory isn't accepted
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4432 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-26 13:06:08 +00:00
kichik
8eb5de9e74
added 0x prefix to dword reg values
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4423 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-24 21:17:47 +00:00
kichik
def20ae25b
ifdef to get rid of binbuf unused variable warning
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4416 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-24 16:50:10 +00:00
kichik
d0f1bae314
applied patch #1340255 - nicer registry commands log
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4415 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-24 16:45:04 +00:00
kichik
3b1ff15cb0
fixed bug #1314004 - Copy details to clipboard can crash
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4365 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-27 20:41:37 +00:00
kichik
833b9ab873
use TreeView_* instead of TVM_*, it looks nicer
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4362 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-25 14:32:34 +00:00
kichik
872e35f0e7
it's SHGetSpecialFolderLocation not SHGetSpecialFolderPath
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4356 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-22 13:25:10 +00:00
kichik
f3b771634e
fixed bug #1008632 - some special folders don't always work in Windows 9x
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4345 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-21 20:54:44 +00:00
kichik
9ab47b62b5
fixed bug #1328629 - Explicitly setting $LANGUAGE does not operate as expected
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4331 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-17 13:39:18 +00:00
kichik
f3d46b8cb5
typo
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4318 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-11 20:04:17 +00:00
kichik
e0e4e54cea
validate_filename was called before skip_root in is_valid_instpath and so no root directory was ever valid, even with AllowRootDirInstall
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4293 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-04 11:18:43 +00:00
kichik
0536d2a029
moved _WIN32_IE definition to SConscript to avoid #include order problems
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4269 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-17 08:33:00 +00:00
kichik
bb87348150
use Int64ShrlMod32 on compiles that generate a call to __aullshr from 64-bit shift
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4268 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-16 16:27:43 +00:00
kichik
71254ce61c
better and uniform rounding of required/available size display
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4266 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-16 16:05:12 +00:00
kichik
cd8934d15c
- avoid overflow when calculating the digit after the decimal dot
...
- use BOOL isntead of int in SetSizeText
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4259 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 19:12:49 +00:00
kichik
a882a03f74
moved "shlwapi.dll" and "SHAutoComplete" to .rdata from .data (constified them)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4258 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 17:26:32 +00:00
kichik
c904e65ff7
break glass in case of emergency (e.g. .rdata overflows)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4257 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 16:45:03 +00:00
kichik
a99b2db925
my_GlobalAlloc no longer reduces the size
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4256 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 16:32:26 +00:00
kichik
d6367e4125
my_GlobalAlloc no longer reduces the size
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4255 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 16:08:44 +00:00
kichik
8e3f7ed623
size optimization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4254 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 15:21:45 +00:00
kichik
0bca3c8255
size optimization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4253 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 14:29:12 +00:00
kichik
8b91e361ca
round required space up instead of down (thanks Ippi)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4252 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 12:13:32 +00:00
kichik
82ec0a3db2
fixed SHACF_FILESYSTEM redefinition warning
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4250 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 08:42:54 +00:00
kichik
d736ad8ce6
moved most of config.h into SConstruct
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4237 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-02 16:15:13 +00:00
kichik
86ccf99b80
added auto completion to the directory page
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4236 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-02 11:35:45 +00:00
kichik
f5105a50b1
size optimization: added __stdcall wrapper for lstrcat
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4210 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-06 12:47:46 +00:00
kichik
908c776f9c
set initial working directory of the uninstaller to its temporary directory so RMDir will be able to delete $INSTDIR
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4209 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-06 12:43:18 +00:00
kichik
d41f11b8d1
get rid of extra spaces in is_valid_instpath so "C:\ " will not be valid
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4203 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-30 12:33:20 +00:00
kichik
dbb7153d65
set error flag for invalid directories passed to myDelete (fixes bug #1227553 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4150 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-30 20:47:27 +00:00
kichik
59fcee4ca1
fix for patch #1214319 - Uninstaller fails due to DLLs in temp folder
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4139 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-25 16:22:27 +00:00
kichik
62c3903d7f
look for _?= in the entire command line in case realcmds skipped the first and only space
...
as a question mark is an invalid character in file names, this method shouldn't have false positives
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4132 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-23 22:34:35 +00:00
kichik
0e2f12e173
caption is not needed for license dialogs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4123 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-22 15:47:30 +00:00
kichik
3eb2576adb
MSDN says RegQueryValueEx might not always return null terminated strings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4115 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-21 20:52:10 +00:00
kichik
d7592d0f84
replaced by scons
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4047 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-21 16:21:32 +00:00
kichik
d1c225ba8f
reset $INSTDIR if user clicked cancel in the browse dialog
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4029 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-17 19:52:44 +00:00
kichik
add9fa0bee
SCons/Config/gnu now takes care of adding memcpy if it's needed
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4008 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-05 20:25:46 +00:00
kichik
76d64a2992
fixed compile error without NSIS_CONFIG_COMPONENTPAGE
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3971 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-19 18:10:45 +00:00
kichik
b604cdfe3f
new build system using SCons
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3969 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-16 18:48:50 +00:00
kichik
9fdd4fbfc0
fixed bug #1073792 - RMDir /REBOOTOK sets reboot flag when folder doesn't exist
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3958 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 17:41:22 +00:00
kichik
47090922dc
fixed bug #1119442 - CreateDirectory sets error flag with paths containing "\\"
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3956 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 15:29:52 +00:00
kichik
4fa0dc6087
fixed bug #1168711 - when leaving the directory page, only set log_dolog if the check box was created
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3954 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 14:36:19 +00:00
kichik
106939c165
made ExpandEnvStrings set the error flag as the documentation says it should
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3953 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 14:27:55 +00:00
kichik
7c0a2a1851
fixed bug #1178756 - EnumRegValue now sets the error flag if the enumeration index is out of range
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3951 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 14:04:05 +00:00
kichik
7b5819c99c
no longer needed
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3948 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-02 12:32:46 +00:00
kichik
9613c8988f
- stubs are no longer included in makensis but read from the Stubs directory
...
- new /SOLID switch for SetCompressor allows setting solid compression without recompiling makensis
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3945 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-02 12:04:07 +00:00
kichik
326556f0e3
fixed bug #1155060 - Install type drop down box not showing default InstType
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3925 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-19 11:56:23 +00:00
kichik
38b94f19a5
implemented feature request #1159701 - "RTLREADING" flag support in the "MessageBox"
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3922 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-17 20:44:31 +00:00