kichik
e82748702c
- added GetErrorLevel and SetErrorLevl
...
- fixed some inconsistencies in the error levels the installer/uninstaller set
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3668 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 10:49:08 +00:00
kichik
f4089b9d60
added a cache to the datablock optimizer so it wouldn't need to read the entire datablock to find its optimizations
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3667 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 10:09:53 +00:00
kichik
15e6286454
fixed compile error on POSIX
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3665 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 14:32:58 +00:00
kichik
92d5893afa
added an optional flag called USE_PRECOMPILED_EXEHEADS
...
set it to 1 to force the makefile to use the precompiled exehead .h files that come with NSIS releases
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3662 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 13:27:56 +00:00
kichik
efce592be4
use RegCreateKeyEx instead of RegCreateKey to hopefully solve the 64-bit Windows 2003 Server problem with WriteRegStr
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3661 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 12:58:43 +00:00
kichik
d7ca86c446
don't try to delete a directory after reboot if it's not even valid
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3659 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 11:26:35 +00:00
kichik
64c1b0f05e
fixed a bug in the handling of wCreateDataSize in CDialogTemplate::Save (thanks Sven Ritter)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3658 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-22 16:23:05 +00:00
kichik
b3d872ee65
SetCtlColors /BRANDING wasn't working right, if just one of the background or text color were specified
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3656 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-17 16:48:38 +00:00
kichik
c9aa2a4ffc
applied patch #1028028 - POSIX-built installers install files w incorrect timestamps.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3655 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-14 19:26:37 +00:00
kichik
38d7adce15
implemented GetDLLVersionLocal for non Win32 platforms
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3653 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-11 11:25:19 +00:00
kichik
91af95e1ef
don't forward WM_COMMAND if it was handled
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3644 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-03 12:52:29 +00:00
kichik
ff8e9a7662
fixed MMapFile on POSIX, again
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3642 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-27 08:29:02 +00:00
kichik
7c6eea5d98
fixed bug #1005296 - NSIS build error on Linux with g++ 3.4.0
...
- upgraded to the latest LZMA SDK
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3638 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-21 10:50:17 +00:00
kichik
ec6957f356
fixed bug #1005296 - NSIS build error on Linux with g++ 3.4.0
...
- upgraded to the latest LZMA SDK
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3637 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-20 19:17:21 +00:00
kichik
98caca8be1
- auto conversion of paths on POSIX platforms - based on patch #1005673
...
- LoadLanguageFile error message improvement
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3636 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-20 15:40:38 +00:00
kichik
5364b5da62
initialize g_db_hFile with INVALID_HANDLE_VALUE so the handle 0 will not be closed in CleanUp() if loadHeaders() is never called
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3634 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-20 14:16:11 +00:00
kichik
e1deb281f7
set NSIS Error title for invalid temporary directory error message
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3633 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-20 14:14:51 +00:00
eccles
cd663b221e
request #990249 - Speedup BGGradient painting (was actually a bug)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3632 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-19 22:05:19 +00:00
kichik
3e062ee8a6
fixed MMapFile on POSIX
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3631 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-19 21:07:39 +00:00
kichik
1855c9f7a5
bug report #1005303 - NSIS build warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3630 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-18 16:14:44 +00:00
kichik
d855dafe58
fixed build warnings (including bug report #1005303 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3628 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-14 17:35:05 +00:00
kichik
efa2113031
throw exception instead of failing silently when iconv fails
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3627 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-14 13:45:05 +00:00
kichik
f2f8ac089a
tabs to spaces
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3622 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-13 20:01:12 +00:00
kichik
c3ec520071
patch #1005845 - Warning fix for bin2h.c
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3621 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-13 19:28:25 +00:00
kichik
f549788c32
patch #1005305 - Source/exehead/Makefile for cross compiling on POSIX systems
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3619 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-13 19:07:09 +00:00
kichik
c78720010b
patch #1005299 - Source/Makefile for building on POSIX systems
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3618 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-13 18:59:01 +00:00
kichik
42f134860a
Fixed the cause of bug #1004496 - Install with /NCRC hangs
...
The hanging disappeared along with the removal of the threaded lzma decoder, but the cause stayed. When the user specified /NCRC on the command line, loadHeaders reported the compressed data size to be 4 bytes larger than it really is. Instead of checking the header flags, it checked the combined flags (command line and header), concluded CRC checksum is disabled and therefore didn't subtract the 4 bytes of the CRC checksum from the compressed data size.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3613 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-07 15:47:12 +00:00
joostverburg
a1f64d2d4c
compiles with NSIS_SUPPORT_CODECALLBACKS disabled
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3600 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 21:47:14 +00:00
kichik
c5af89209c
fixed handling of relative paths such as \file.ext in do_add_file
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3598 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 21:29:03 +00:00
kichik
010dc75a71
converted RMDir back from SHFileOperation to the good old manual method
...
- RMDir can now be used with both /r and /REBOOTOK
- RMDir /r no longer leaves lots of files behind if one file removal failed
- The plug-ins directory is now always deleted, if not immediately, then after reboot
- RMDir /r prints a detailed log of its actions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3597 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 17:03:07 +00:00
kichik
7270abe8d3
close installer on WM_QUERYENDSESSION instead of trying to clean up on WM_ENDSESSION which doesn't work if there's an active plug-in (for example, when the finish page is showing)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3596 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 16:47:19 +00:00
kichik
bb3f7be9ba
added !execute
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3594 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 11:29:28 +00:00
kichik
3181bf4b4d
size optimization - lzma exehead is now 33.5kb
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3593 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 11:05:48 +00:00
kichik
0735b7400e
fixed internet shortcuts creation with CreateShortcut (thanks rex123)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3588 212acab6-be3b-0410-9dea-997c60f758d6
2004-07-15 17:37:11 +00:00
kichik
bf4d3c6c94
DeleteRegKey fix
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3587 212acab6-be3b-0410-9dea-997c60f758d6
2004-07-08 21:06:18 +00:00
kichik
a4ea07f3fa
fixed unicode conversion with iconv
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3585 212acab6-be3b-0410-9dea-997c60f758d6
2004-07-08 18:32:27 +00:00
joostverburg
40fc357e89
more things NSIS_CONFIG_PLUGIN_SUPPORT relies on
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3583 212acab6-be3b-0410-9dea-997c60f758d6
2004-07-06 23:43:14 +00:00
kichik
8233ce2db2
made the agree radio button come before the disagree radio button in the license page's tab order so pressing the up key will move the selection up and not down
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3581 212acab6-be3b-0410-9dea-997c60f758d6
2004-07-01 20:22:38 +00:00
kichik
5d8517c328
- extended maximum binary data for WriteRegBin to 3 * NSIS_MAX_STRLEN
...
- fixed FileRead setting the error flag when a null character is the first character it reads
- made File /nonfatal always produce a warning if the file can't be found
- some size optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3577 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-25 19:53:05 +00:00
kichik
d1f241e6c8
patch #977897 by Anders - IntOp shr & shl
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3576 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-25 15:24:20 +00:00
kichik
d05b8bc6ad
2.0->2.01
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3575 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-25 11:19:17 +00:00
kichik
88c19d767d
fixed a crash caused by defining a macro in a file included by another macro
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3573 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-25 10:16:31 +00:00
kichik
f23f6c62fb
always make target dirs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3571 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-19 15:51:59 +00:00
kichik
9b061b5fc9
fixed compatibility with gcc 3.3 and improved makefiles
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3570 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-19 12:42:41 +00:00
kichik
bbd00dc276
fixed MMapBuf on POSIX
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3569 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-19 11:44:03 +00:00
joostverburg
aeaefd9776
fixed compilation without background gradient support
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3563 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-12 15:34:34 +00:00
kichik
b11c65e0f8
- added BGFont that allows setting the background text font
...
- made Times New Roman default font for the background text because it should always have support for the locale's language
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3560 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-11 15:33:00 +00:00
kichik
c50e17955c
case changes for #include lines for cross compiling (Michiel Ephraim)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3558 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-11 11:24:09 +00:00
kichik
5c4deddee2
hCompressionThread is not an handle on POSIX, casting added
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3554 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-04 11:52:01 +00:00
kichik
647d61ff24
SetOutPath "-" works again
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3552 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-04 11:05:29 +00:00