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
672e695976
- Added SS_NOPREFIX for the static control above the install log so both will show the same when an ampersand is present in the string
...
- Added another parameter for Name. It will be used in places where doubled ampersands are required for text to render as expected. Use it if you have an ampersand in your name. See the updated documentation about the Name command for more information about usage.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3288 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-17 23:22:14 +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
d5687e0764
Removed extra back-slash in uninstaller execution path
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3229 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-28 19:04:06 +00:00
kichik
0ec2d9c03e
bug #848173 - add trailing backslash to the temporary directory so root directories will be recognized as directories and not just the drive path.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3228 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-28 18:59:51 +00:00
kichik
f1a3a6746a
Made temporary folder validator make sure the temporary directory variable contains a fully qualified path. If it doesn't it'll full back to %WINDIR%\Temp. If that doesn't either, it'll fail. This shoulf fix bug #848173 where it would fail with the wrong message on WINE.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3227 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-28 18:52:19 +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
f6ebb29045
- All message boxes in code now have a default for silent installers
...
- Some size optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3221 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-27 20:19:48 +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
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
c49208b861
Fixed bug #846723 - SetOutPath doesn't work with root directories
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3193 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 13:29:40 +00:00
kichik
0ef7fcd98b
Uninstaller data offset is saved as EW_WRITEUNINSTALLER's parameters. A step forward to multiple uninstallers and smaller exehead.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3192 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 13:11:35 +00:00
kichik
75299797fd
removed a file
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3191 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 00:12:04 +00:00
kichik
594c3ed0f6
- First LZMA enhanced NSIS version - experimental
...
- Added SetCompressorDictSize (only works for LZMA)
- Added SetCompressionLevel (only "works" for zlib and bzip2) - doesn't work for now
- Section is only supposed to get 4 parameters if /o is specified
- Updated version numbers
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3190 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 00:08:58 +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
70c6218a70
tab stop for license data - thanks Nick Allan
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3058 212acab6-be3b-0410-9dea-997c60f758d6
2003-10-24 14:07:46 +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
240b8c6339
some parentheses just to be sure
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2990 212acab6-be3b-0410-9dea-997c60f758d6
2003-10-02 12:20:22 +00:00
kichik
eae737d71a
validate shortcut target, if it turns up as a valid path spec (URLs should still work)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2989 212acab6-be3b-0410-9dea-997c60f758d6
2003-10-02 12:03:05 +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
eccles
a72067fab9
No more Windows error message when using IfFileExists on a removable drive with no media inserted.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2975 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-28 11:33:22 +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
kichik
2a6894ebc8
- .onVerifyInstDir is now used in the browse dialog too
...
- Fixed problems with SHFileOperation, OleUninitialize and ICopyHook (and possibly XPlay)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2947 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-22 16:06:53 +00:00
kichik
de0104cc39
- Improved file mapping so you can now esaily compile installers up to 2GB with a minimum requirment of memory (changable by FileBufSize)
...
- Fixed DirText
- Fixed new browse dialog style problems (thanks LIGHTNING UK!)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2919 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-15 22:05:06 +00:00
kichik
8380534b1d
- Fixed a crash caused by clicking cancel on a directory page (thanks pengyou)
...
- Fixed some extraction progress issues
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2900 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-11 20:46:20 +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
aa09b6bdb9
- Fixed SetOutPath not setting current directory if the directory didn't exist before
...
- Fixed a memory leak
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2895 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-10 13:44:24 +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
kichik
148c9a1b86
Fixed VIAddVersionKey failing on empty inputs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2881 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-08 10:38:34 +00:00
kichik
2fba235c29
fixed SetOverwrite and added ifdiff option
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2876 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-07 16:46:50 +00:00
kichik
bb927a6230
- fixed a typo in inner langstrings name - [un]LicenseTextRB
...
- Finnish language files updated
- made SetStlColors able to set background color with /BRANDING
- some optimizations
- fixed progress showing for WriteUninstaller
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2870 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-07 08:53:22 +00:00
kichik
2ef11e5606
Missed some strings that should be processed - thanks mikem4600
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2833 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 10:40:31 +00:00
kichik
74ea2dc585
* PageEx - every page can be used everywhere and as many times as needed
...
* DirVar - easy way to add another dir page
* default strings in the language file (Page directory is enough, no need for DirText)
* strings from the language file are now LangStrings that can be used in the script
* no more /LANG - one string for all languages
* any lang strings can be used everywhere, installer or uninstaller (no un.)
* no more unprocessed strings - variables can be used almost everywhere (except in licenseData and InstallDirRegKey)
* DirText parm for browse dialog text
* SetBkColor -> SetCtlColors - can now set text color too
* fixed SetOutPath and File /r bug
* fixed File /a /oname bug
* added $_CLICK for pages
* added quotes support in lang files (patch #752620 )
* extraction progress
* separate RTL dialogs for RTL langs (improved RTL too)
* InstallOptions RTL
* StartMenu RTL
* fixed RegDLL?
* added IfSilent and SetSilent (SetSilent only works from .onInit)
* fixed verify window (it never showed) (bug #792494 )
* fixed ifnewer readonly file problem (patch #783782 )
* fixed wininit.ini manipulation when there is another section after [rename]
* fixed some ClearType issues
* fixed a minor bug in the resource editor
* fixed !ifdef/!endif stuff, rewritten
* lots of code and comments clean ups
* got rid of some useless exceptions handling and STL classes (still much more to go)
* lots of optimizations, of course ;)
* updated system.dll with support for GUID, WCHAR, and fast VTable calling (i.e. COM ready)
* minor bug fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2823 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-04 18:25:57 +00:00
kichik
1e438b3e87
Reverted Ramon's addition of SS_NOPREFIX. It causes trouble with ClearType, compatibility and doesn't allow the user to use accelerators for edit boxes anywhere.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2790 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-05 15:50:17 +00:00
kichik
4b3148727a
DIALOGEX not DIALOG
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2786 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-04 14:41:37 +00:00