Commit graph

666 commits

Author SHA1 Message Date
kichik
b6a98d86c3 Parse LangString using the codepage specified in NLF of the language. This helps avoid warnings about unknown variables with LangStrings that contain dollar signs but are not encoded with the system's current codepage.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3204 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-25 05:55:18 +00:00
kichik
893a6970f8 Backwards compatibilty - sections that use SectionIn RO and no other SectionIn should be in all installation types
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3200 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 19:36:15 +00:00
kichik
56c10a54da Note about different licenses
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3199 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 19:02:19 +00:00
kichik
2c17ab0179 Note about code modification
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3198 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 18:54:51 +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
79a298aee3 - Fixed bug #844989 - multiple uninstaller subsections problems
- Removed "(CVS)" from version number


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3168 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-19 13:11:07 +00:00
kichik
d487c5f0dd Font goes in $(^Font), font size goes in $(^FontSize)...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3165 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-18 22:35:51 +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
kichik
836f699592 ^Font and ^FontSize
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3134 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-12 22:38:46 +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
71072d7532 Fixed bug #830913 - if /nonfatal is used a warning should be displayed, not an error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3069 212acab6-be3b-0410-9dea-997c60f758d6
2003-10-27 15:46:33 +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
kichik
649a512324 make sure the notify HWND is valid
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2988 212acab6-be3b-0410-9dea-997c60f758d6
2003-10-02 11:46:04 +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
97cde160db Close the compressor before starting to optimize to lower memory usage
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2958 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-23 19:56:58 +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
abbab23ae4 Ignore all commands but those who start with an exclamation mark in nested ignored if blocks too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2946 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-22 10:09:48 +00:00
kichik
f0ce1f740f NLF_[U]CAPTION is always required, not only with a UI
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2938 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-20 10:03:02 +00:00
kichik
19da4bb2b1 Fixed CRC error on bzip2 uninstallers - thanks psyke
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2927 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-19 11:57:09 +00:00
kichik
d5a975b464 Fixed a dumb bug with the data block optimizer that caused the compiler to crash if something was actually optimized
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2924 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-16 19:07:29 +00:00
kichik
de17e40754 Removed debug message
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2922 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-16 09:36:16 +00:00
kichik
31a45d7031 fixed add_db_data crashing on empty inputs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2921 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-16 09:19:39 +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
103b31643e - Fixed SpaceText none
- Fixed a crash that occured if LicenseData was not used and Page license was


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2910 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-12 21:40:33 +00:00
kichik
41808c26be More memory clean-ups
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2901 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-12 11:16:33 +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
c9d75dbcbf signed/unsigned mismatch
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2887 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-08 15:28:16 +00:00
kichik
896ba172d5 - Fixed uninstaller not showing anything when installer is silent
- Improved CResourceEditor - should be more tolerant now
- Removed legacy code from InstallOptions and StartMenu


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2882 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-08 13:54:01 +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