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
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
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
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
b9ecd8f65c
size optimizations
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3912 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-25 15:28:37 +00:00
kichik
4bb5e9b310
available
variable in DirProc's WM_IN_UPDATEMSG handler wasn't properly initialized
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3911 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-25 14:19:00 +00:00
kichik
48f6cfb392
added FORCE_INLINE to RefreshComponents
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3901 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-04 20:49:00 +00:00
kichik
282cd1ef72
if the first section was a section group, following section groups didn't behave correctly
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3900 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-04 20:45:02 +00:00
kichik
5a37bd4e68
fixed compile error with logging enabled
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3896 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-04 15:31:57 +00:00
kichik
1ecd52511c
fixed bug #1114876 - "Space Available" shows bad value "258.-2GB"
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3888 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-03 18:24:48 +00:00
kichik
057a91aa70
made SectionGetText work in .onInit too
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3871 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-14 15:24:51 +00:00
kichik
f558c99c2c
use new section name space
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3868 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-14 15:13:47 +00:00
kichik
b4e31e321e
update the inner page if the leave function aborted, something might have changed
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3861 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-11 16:54:59 +00:00
kichik
840ab03222
use new component functions to enable toggling of partially selected sections and fix bug #1045722
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3857 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-11 16:38:48 +00:00
kichik
f2cba8c2cb
renamed SubSection to SectionGroup
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3852 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-10 12:43:52 +00:00
kichik
dfd8dc1227
2005
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3831 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-04 14:54:48 +00:00
kichik
ea1c67af6b
fixed bug #1073363 - keyboard navigation in MUI_PAGE_INSTFILES
...
keyboard navigation doesn't work while the focus is set on a disabled control
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3778 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-25 22:31:08 +00:00
kichik
76dcceb87a
made the gradient background window not pretend to be the installer dialog so the "unpacking" window will show even if it is used
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3775 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-20 15:23:37 +00:00
kichik
0677224b1f
size optimizations
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3731 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-14 21:33:33 +00:00
kichik
335fd47066
made the Reboot command first quit and then reboot
...
- fixed bug #989690
- the installer now denies reboots while running
- the Reboot instruction no longer returns or sets the error flag
- added .onRebootFailed which is called when Reboot fails
- installer should now always clean-up when rebooting
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3729 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-14 13:56:02 +00:00
kichik
0ba42540df
updated some comments
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3682 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 18:50:04 +00:00
kichik
66ad756138
added NSIS_CONFIG_COMPONENTPAGE_ALTERNATIVE
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3669 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 11:22:46 +00:00
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
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
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
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
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
73ba4f376b
fixed the next/back buttons bug caused by the last fix
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3548 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-15 11:22:48 +00:00
kichik
499fa0e764
fixed a bug which prevented enabling the next button from the leave function of InstallOptions pages
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3544 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-08 16:07:22 +00:00
kichik
037da48cd1
GetDiskFreeSpaceEx on NT4 doesn't seem to like NULLs, even though MSDN says it should
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3532 212acab6-be3b-0410-9dea-997c60f758d6
2004-04-24 19:16:10 +00:00
kichik
4c5f8a30eb
- makensis should now compile on any POSIX compliment platform (Linux, *BSD, Mac OS X, etc.)
...
- improved makefiles so nothing is compiled when it's already up-to-date
- Added SW_HIDE to ExecShell's accepted show modes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3518 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-29 20:21:00 +00:00
kichik
f4a1f17299
- updated the makefiles and code to allow compliation with MinGW once again (some of patch #875485 by perditionc)
...
- fixed errors and warnings given by gcc
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3513 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-12 20:43:54 +00:00
kichik
d18cea205c
- lzma exehead is now 34kb instead of 34.5kb thanks to the new LZMA C SDK and should be much faster due to removal of critical section usage (not tested too much, test before usage)
...
- applied some parts of patch #875485
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3508 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-06 18:37:19 +00:00
eccles
ca9582c925
Windows 95 (OSR2)/98/ME no longer see drive free space capped to 2GB.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3507 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-06 12:31:26 +00:00
kichik
b4f63105e1
AllowRootDirInstall should now work along with InstallDirRegKey when the specified registry value contains a root directory without a trailing backslash. When writing $INSTDIR as is, this will always be the case.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3494 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-20 15:13:13 +00:00
kichik
4a8e19199a
only free the PIDL in DirProc, don't parse it too so g_tmp gets overwritten with the entire path instaed of just the display name
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3472 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-06 22:37:46 +00:00
kichik
4e3f2c485e
made the command line parser cut right on /D= and _?= and not one char before. this way foo.exe "bla"/D=..., which appears to be valid in other applications, will not get the last quote cut off.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3468 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-06 16:31:32 +00:00
kichik
b1a527c4ce
made the command line parser not ignore any switch just before it didn't have a switch before it
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3461 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-04 20:03:30 +00:00
kichik
976e1f7097
- fixed two bugs which caused MBCS chars to be treated wrongly in validate_filename and therefore trim too much when validating a path
...
- converted minus ones to INVALID_FILE_ATTRIBUTES
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3439 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 23:51:31 +00:00
kichik
bd25e070c8
- compiles without PSDK again
...
- moved all defines that are missing without PSDK to Platform.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3436 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 22:04:10 +00:00
kichik
de15ecd44b
forced a clean-up of the plugins dir and solid installer's temp file on reboot since the regular one wasn't called on windows 9x
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3434 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-29 23:18:32 +00:00
kichik
851032d22a
fixed some compile errors caused by removing some config.h options
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3429 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-29 01:23:24 +00:00
kichik
0bbeb0b17e
more copyrights 2004
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3364 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-06 21:28:50 +00:00
eccles
551c3b7d5c
Fixed a bug which caused beeping when the space key is hit on the components tree (kichik missed a bit...)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3354 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-04 19:45:14 +00:00
kichik
fcd2c16685
- fixed limit on LangStrings and user variables number which was lower than designed. limit is now 16383 for both.
...
- made log window respond to the context menu key and not just right click
- set back the default style for the next after it's re-enabled
- set focus on main controls for every page (can still hit enter for next)
- added code to prevent weird usage of WM_COMMAND which can cause weird behavior such as disabled next button on the components page
- eccles fixed a bug which caused beeping when the space key is hit on the components tree
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3351 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-04 17:05:03 +00:00
kichik
466e93ea11
- made NSIS ignore WM_COMMAND from disabled controls
...
- made NSISdl set the cancel button as the default button
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3330 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-29 15:12:41 +00:00
kichik
8a85e1c0dd
fixed branding text background color not updating when the system's color change
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3329 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-29 14:27:33 +00:00
kichik
0d092eeb01
Returned WM_COMMAND forwarding as NSISdl is now fixed
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3302 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-23 16:29:36 +00:00
kichik
c385a40332
Back to former exehead overheads (zlib, bzip2 - 34, lzma - 34.5)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3299 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-22 18:50:47 +00:00
ramon18
660bbf5e2d
Added ShConstants.h to makenssi project
...
Size optimization on ui.c
Some fixes in Shell Folders code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3297 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-22 14:02:15 +00:00