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
ramon18
2589a5fc85
Code clean up, removed NSIS_SUPPORT_NAMED_USERVARS and NSIS_SUPPORT_LANG_IN_STRINGS
...
Added support for many new constants which get shell folders path without using the registry
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3296 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-22 00:28:30 +00:00
kichik
54087a045e
Around 20 bytes down
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3263 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-08 22:30:27 +00:00
kichik
4eb2881b5b
- Better RTL support:
...
* use RTL reading wherever possible (shows the dots, commas, etc. in the correct order)
* Message boxes are now RTL too
* Fixed RTL for links in InstallOptions
- Fixed tab order in StartMenu
- Made StartMenu use SHGetSpecialFolderLocation (soon to be in NSIS core too)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3259 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-06 20:45:35 +00:00
kichik
8b728af443
Another little optimization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3226 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-28 18:50:51 +00:00
kichik
acf798c33b
- Made CRC checking from CD-ROM or a network drive faster
...
- Some more optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3225 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-28 17:57:59 +00:00
kichik
b5a430dfa6
Some more optimizations
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3223 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-27 23:21:15 +00:00
kichik
b77f339455
Added DirVerify (works in PageEx directory) and GetInstDirError. If `DirVerify leave' is used, the next button will not be disabled if the installation directory is not valid or there is not enough space and a flag will be set instead. You can read that flag using GetInstDirError in the leave function of the directory page. A value of 0 means no error, 1 means invalid installation directory and 2 means not enough space. This allows you to handle those errors on your own.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3196 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 17:05:10 +00:00
kichik
ac025c139c
Added NSIS_CONFIG_LOG_ODS that makes the log use OutputDebugString instead of install.log.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3194 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 14:22:50 +00:00
kichik
ccfa1de62b
Only map X button to Next if we're on the last page
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3162 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-18 17:04:29 +00:00
kichik
343f7c9408
Files are not valid installation folders
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3142 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-14 21:08:51 +00:00
ramon18
359868c88e
Reverted "Examples\Modern UI\StartMenu.nsi" and "Plugins\StartMenu.dll" to previous version, little size optimization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3117 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-09 23:10:04 +00:00
ramon18
48a62f51e8
Added new function LockWindow for flickering problems workaround, fixed crash on NSISdl, fixed focus button redraw
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3115 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-09 22:45:25 +00:00
kichik
3da170735a
fixed 1%...35%...80%...100% bug with details set to textonly
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3104 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-06 00:58:37 +00:00
kichik
f9c8fd6682
That shouldn't have gotten in there...
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3077 212acab6-be3b-0410-9dea-997c60f758d6
2003-10-30 23:12:25 +00:00
kichik
570f1b0e75
Minimal TreeView item hieght is 16, the height of the checbox
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3076 212acab6-be3b-0410-9dea-997c60f758d6
2003-10-30 00:08:21 +00:00
kichik
a0fbae34ee
Fixed bug #821933 - InstallDirRegKey .exe comparation is case-sensitive
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3020 212acab6-be3b-0410-9dea-997c60f758d6
2003-10-15 22:53:15 +00:00
kichik
ae2697bc56
Add a back-slash to $INSTDIR when loading dir page only when it's a root directory
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2971 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-26 21:12:43 +00:00
kichik
2f35a43cba
Accept root $INSTDIR on the directory page too
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2967 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-26 14:17:01 +00:00
kichik
6d63dd3a58
- Fixed ComponentText without InstTypes
...
- Made it impossible to install to non-existing drives/removable drives with no media
- Fixed a crash caused by using a LangString in InstallDir
- No more Windows error message when a registered DLL dependency can't be found
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2957 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-23 19:01:19 +00:00