kichik
dcc5a3c002
moved VARS_SECTION_NAME from config.h to config.py and renamed it to NSIS_VARS_SECTION
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4495 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-21 15:17:28 +00:00
kichik
2296afc187
fixed bug #1378785 - RMDir /r does not remove files with Unicode names
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4475 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-13 18:45:52 +00:00
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
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
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
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
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
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
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
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
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
kichik
a7e4a69bb4
fixed plug-ins directory initialization for extremely restricted guest users with no directory listing access to the temporary directory
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3909 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-18 13:39:42 +00:00
kichik
8759dcc315
fixed gcc 3.4 compile errors
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3673 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 18:05:16 +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
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
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
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
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
22e2a6271e
is_valid_instpath: don't check the current directory, check the root directory
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3521 212acab6-be3b-0410-9dea-997c60f758d6
2004-04-09 12:47:33 +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
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
569b4fb8e1
check if smaller than 31 (=control char) as unsigned
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3481 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-07 14:24:51 +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
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
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
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
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
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
6542144aba
Shell Folders code now use "current user" if cannot retrieve nothing for "all users"
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3298 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-22 14:34:05 +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
6e2d07df31
only add entries to wininit.ini if short names were retrieved successfully
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3291 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-18 19:19:19 +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
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
ec5f289696
- More path validation (drive id is an english letter, no chars under 32 in a path)
...
- Fixed bug #839214 - message box shown in silent mode if a file can't be opened for writing. Now it will skip the file if AllowSkipFiles is on and abort if it's not.
- Added /SD parameter for MessageBox. Allows to set default for silent installers (MessageBox MB_OKCANCEL "OK? Cancel?" /SD IDOK IDOK doOK IDCANCEL doCancel)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3208 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-25 17:07:40 +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
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
eccles
7d99fd6700
No more Windows error message when using IfFileExists on a removable drive with no media inserted - now applies to all internal file_exists calls.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2976 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-28 12:14:10 +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
kichik
9d7de707ea
- Fixed uninstaller refusal to start when on the root directory (note that AllowRootDirInstall true is still required)
...
- Some touch ups regarding NSIS_CONFIG_VISIBLE_SUPPORT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2896 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-10 16:39:06 +00:00
kichik
60c7829e3a
Fixed overwrite failure on Windows 2000/XP/2003 when the existing file was hidden
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2889 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-09 14:25:16 +00:00