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
1ad157554c
accept different order in install and uninstall icon files, as long as all of the sizes and color depths match
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3260 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-08 09:32:30 +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
17b58ae2d9
Added LZMA to SetCompressor's list
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3242 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-01 22:48:58 +00:00
kichik
b62f3b4521
obey /V for line breaks too
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3238 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-01 11:33:30 +00:00
kichik
b11b408bdb
no need for that variable
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3237 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-01 00:16:41 +00:00
kichik
7bfcfac3c2
build plug-in table only when needed. this also fixes warnings when using something like makensis.exe /X"OutFile bla.exe" /XSection /XSectionEnd
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3236 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-30 18:00:39 +00:00
kichik
774f3d50de
!ifmacro[n]def based now works with !else
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3235 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-30 16:44:06 +00:00
kichik
5028c34424
!ifmacro[n]def based on Anders Kjersem's code
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3234 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-30 16:31:43 +00:00
kichik
58ea8200ba
- Fixed a race condition that happened when LZMA compression finished and occasionally deadlocked the next call (solid installers weren't affected, just the compiler)
...
- Added try and catch for LZMA just in case one of the rare exceptions will be thrown (just compiler)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3233 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-30 16:02:48 +00:00
kichik
164f6462b3
fixed !include not failing when it can't find the requested file
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3232 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-29 16:10:10 +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
0139636e18
clean offsets for EW_SETFILEATTRIBUTES that comes after EW_EXTRACTFILE
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3220 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-27 18:47:47 +00:00
kichik
ef1901d5aa
Smaller memory requirements on compile time (dict * 2 + 5MB)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3218 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-26 20:27:36 +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
c062ecca53
shaved 148 bytes, 236 more to go
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3207 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-25 10:51:17 +00:00
kichik
06c87de7e0
Allow wildcards in !include
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3206 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-25 07:09:53 +00:00
kichik
5e2948eda9
Added support for reading environmental variables on compile time - $%envVarName%.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3205 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-25 06:25:31 +00:00
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