Commit graph

2607 commits

Author SHA1 Message Date
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
joostverburg
92e433d64c fixed finish page reboot option buttons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3231 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-28 19:41:03 +00:00
joostverburg
1acd9aea9e 1.68
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3230 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-28 19:34:16 +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
icemank
69e2d02cc7 Minor fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3224 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-28 05:16:05 +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
joostverburg
edbc22d642 section structure, file associations, shell extensions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3222 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-27 21:29:05 +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
joostverburg
e338cce111 1.68, fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3219 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-27 14:27:00 +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
joostverburg
23f1461de7 no separate INI file anymore
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3217 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-26 17:20:54 +00:00
joostverburg
69b371e936 1.68
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3216 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-26 17:20:07 +00:00
kichik
d3621837ed Misspelled
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3215 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-26 13:58:03 +00:00
kichik
0450ea6390 Added modification notice
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3214 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-26 13:57:14 +00:00
icemank
1d60445b40 Changed display name for LZMA compressor
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3213 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-26 13:33:24 +00:00
icemank
77b371896a Added context menu method for choosing compressor.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3212 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-25 21:07:51 +00:00
icemank
3773299cb2 Fixed compressor selection.
Added context menu method for choosing compressor.
Changed Defines dialog to Settings dialog


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3211 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-25 21:06:37 +00:00
joostverburg
888fcfec48 version 0.31
* LZMA compression support
* Fixed compression setting


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3210 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-25 18:11:23 +00:00
kichik
1dad9c938d Applied patch #849000 - New sections macros for mutually exclusive section selection by Tim Gallagher
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3209 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-25 17:18:45 +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
778e73aca8 No such thing as MUI_UNINNERTEXT_LICENSE_TOP
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3203 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 22:13:44 +00:00
kichik
5297ca56c4 Updated to 1.68
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3202 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 21:09:02 +00:00
joostverburg
1527ea2f1a Modern UI 1.68
* New settings for extra space for title and text on Welcome page and Finish page.
* Improved handling of verbose settings. Define MUI_VERBOSE the set the Modern UI verbose level (1-4).
* Language file string for uninstaller reboot information
* Setting for folder validation in leave function
* Fixed finish page text settings for multiple pages


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3201 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 19:50:01 +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
c70cc031d2 Enabled LZMA selection
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3197 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 17:36:42 +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
icemank
80eac750fc Added support for LZMA compressor + fixed command line compressor support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3195 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 16:51:39 +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
icemank
320cefa4b0 Fixed handling of command line SetCompressor option.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3189 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-21 21:57:39 +00:00
kichik
34d4213220 1.67 update
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3188 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-21 21:47:02 +00:00
joostverburg
4a0df75dd7 keep original verbose setting, added MUI_VERBOSE setting
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3187 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-21 19:31:15 +00:00
icemank
da2ab7b4b5 Fixed compressor initialization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3186 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-20 17:48:20 +00:00