kichik
427d583f68
added $PROGRAMFILES32, $PROGRAMFILES64, $COMMONFILES32 and $COMMONFILES64
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5072 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 13:54:47 +00:00
kichik
a3e46a1b13
don't try deleting from the 32-bit view when RegDeleteKeyExA isn't found but g_exec_flags.alter_reg_view is set
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5071 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 12:55:00 +00:00
kichik
357c44ac38
added SetRegView to allows access to the x64 registry view
...
this method was chosen over a new switch for all regsitry commands to allow easy transition of existing scripts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5070 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 12:50:32 +00:00
kichik
bcf3899e68
instead of forwarding the X button to the Next button when the Cancel button is disabled on the last page, simply disable the X button when the Cancel button is disabled (part of bug #1267491 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5067 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-13 19:59:30 +00:00
kichik
bebb041789
more of bug #1676243 - compiler warnings on Linux
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5066 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-13 10:29:24 +00:00
kichik
85c529d0f0
fixed bug #1699609 - linux CVS FTBFS
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5065 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-13 09:54:54 +00:00
kichik
053b859a6f
fixed bug #774966 - CopyFiles return value not working on NT4 Sp6
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5063 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-12 20:24:13 +00:00
kichik
cdc43e825c
fixed bug #1699474 - file /a does not preserve folder attributes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5062 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-12 19:24:21 +00:00
kichik
a96f348c0a
fixed some warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5059 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:42:46 +00:00
kichik
4cf73d2316
replaced WCStrLen with winchar_strlen
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5058 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:37:08 +00:00
kichik
df24dbe687
winchar_strlen and winchar_strdup can use const WCHAR
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5057 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:33:18 +00:00
kichik
a8f8c50538
replaced WCStrLen with winchar_strlen
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5056 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:32:24 +00:00
kichik
5dcb76d379
fixed some warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5055 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:27:19 +00:00
kichik
480be96fcd
cast warning
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5054 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:15:25 +00:00
kichik
3608995944
added -Wno-non-virtual-dtor for 7zip files on gnu configuration for bug #1676243
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5051 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 20:54:00 +00:00
kichik
122d84ddf2
no more need for char* cast
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5042 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-09 19:44:16 +00:00
kichik
e369347bf6
use const char for myGetProcAddress
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5041 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-09 18:01:20 +00:00
pabs3
bf9eb86c42
Fix FTBFS on Linux due to missing definition of MB_USERICON
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5037 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-04 08:15:19 +00:00
kichik
53442f4f53
applied patch #1682748 - installer icon for message box
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5036 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-03 11:19:36 +00:00
pabs3
e873b82b53
Kill some more compiler warnings under Linux and mingw32
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5031 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-02 10:29:35 +00:00
kichik
82d6166fdf
signed/unsigned comparison
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5027 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-01 17:38:31 +00:00
kichik
4249c6107b
don't delete if it wasn't allocated
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5020 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-31 13:36:25 +00:00
kichik
5107637e7e
fixed access violation in case m_vItems[i]->szClass is an int resource
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5014 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-31 09:21:51 +00:00
kichik
576446db5e
more of patch #1644712 - new compiler predefines
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4999 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-18 18:33:28 +00:00
pabs3
baa898b952
Missed a warning
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4995 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-11 16:49:02 +00:00
pabs3
747ad310e5
Kill some compiler warnings under Linux and mingw32
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4994 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-11 15:58:46 +00:00
kichik
f6849b6bec
it's /o not /0
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4989 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-10 14:16:30 +00:00
pabs3
ed044c3046
FTBFS due to using the wrong log_printf function
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4981 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-07 09:26:19 +00:00
kichik
faac838b4e
report error in log for WriteReg* when RegSetValueEx itself fails and not only RegCreateKeyEx
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4980 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-06 21:22:37 +00:00
kichik
6ea14b45da
size optimization
...
it's official. even msdn now says SHGetMalloc returns the same allocator CoTaskMemFree uses and a little debugging backs this even on Windows 95
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4978 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-06 20:35:53 +00:00
kichik
08650c9384
size optimization - GlobalFree isn't called in any other case, no need here as well
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4977 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-04 19:53:58 +00:00
kichik
5493360c14
oops... comment line continuation
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4973 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-03 14:23:43 +00:00
kichik
781c8aa1b8
size optimization - use don't add "Locale" twice to data section
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4972 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-03 14:19:30 +00:00
kichik
05d910c289
size optimization - use GetNSISString to do complicated stirng processing
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4971 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-03 14:18:49 +00:00
kichik
b00c69290f
size optimization - no need for both GetEnvironmentVariable and ExpandEnvironmentStrings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4970 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-03 14:18:20 +00:00
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
pabs3
3d7194ee59
fixed bug #1661503 : inconsistency between Win32/Linux makensis command line options
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4961 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-02 04:35:35 +00:00
kichik
695fddbc32
implemented RFE #1669513 - bitwise operators for !define /math
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4959 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-27 21:04:12 +00:00
kichik
7a9faeb2a5
fixed bug #1667637 - build, test failures in nsis CVS on Debian GNU/Linux
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4956 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-24 12:16:32 +00:00
kichik
cb30b6ed2f
fixed bug #1666873 - LZMA test segfault on Debian GNU/Linux
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4950 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-23 12:34:51 +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
a796f08c10
copyright notice
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4942 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 16:34:10 +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
b8cc7d57d6
use winchar_strdup
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4938 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 15:11:33 +00:00
kichik
f496cc464f
fixed bug #1662190 - dialog template unicode conversion is lossy
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4937 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 15:11:12 +00:00
kichik
0b19a3fa29
added winchar_strdup
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4936 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 15:06:53 +00:00
kichik
e194176ec3
align strings on 4 byte boundary and don't write NULL termination twice
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4931 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 10:49:50 +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
eb157fcacd
more typos
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4928 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-16 18:30:36 +00:00