Commit graph

391 commits

Author SHA1 Message Date
kichik
1855c9f7a5 bug report #1005303 - NSIS build warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3630 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-18 16:14:44 +00:00
kichik
c5af89209c fixed handling of relative paths such as \file.ext in do_add_file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3598 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 21:29:03 +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
bb3f7be9ba added !execute
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3594 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 11:29:28 +00:00
kichik
5d8517c328 - extended maximum binary data for WriteRegBin to 3 * NSIS_MAX_STRLEN
- fixed FileRead setting the error flag when a null character is the first character it reads
- made File /nonfatal always produce a warning if the file can't be found
- some size optimizations


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3577 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-25 19:53:05 +00:00
kichik
d1f241e6c8 patch #977897 by Anders - IntOp shr & shl
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3576 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-25 15:24:20 +00:00
kichik
d05b8bc6ad 2.0->2.01
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3575 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-25 11:19:17 +00:00
kichik
88c19d767d fixed a crash caused by defining a macro in a file included by another macro
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3573 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-25 10:16:31 +00:00
kichik
b11c65e0f8 - added BGFont that allows setting the background text font
- made Times New Roman default font for the background text because it should always have support for the locale's language


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3560 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-11 15:33:00 +00:00
kichik
647d61ff24 SetOutPath "-" works again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3552 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-04 11:05:29 +00:00
kichik
890a83c2b1 fixed local include on POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3541 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-08 11:35:21 +00:00
kichik
c5aef2646e bigger MAX_LINELENGTH
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3538 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-07 11:16:03 +00:00
kichik
0a30814add fixed File /r
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3528 212acab6-be3b-0410-9dea-997c60f758d6
2004-04-17 09:29:49 +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
kichik
a05b0f6c61 made search for .dll in plug-in names case insensitive
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3511 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-11 19:29:04 +00:00
kichik
4d889381ca only append the last part of the path specified using InstallDir if it is not also the first
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3504 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-27 14:13:08 +00:00
kichik
95b34056d2 rc4->final
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3480 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-07 00:42:52 +00:00
kichik
d07ec8774f fixed some mismatched new and delete operators
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3465 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-05 12:19:02 +00:00
kichik
dec6634222 rc3->rc4
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3449 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-02 15:09:40 +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
d6076fa59b rc2->rc3
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3418 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-26 03:38:17 +00:00
kichik
8e47f0b88a fixed a bug that caused escaping not to be ignored on extended !define lines
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3408 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-24 16:32:17 +00:00
joostverburg
8f3b5e1225 case insensitive shortcut key names should work now
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3386 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-12 18:06:06 +00:00
joostverburg
2f1720123d CreateShortcut shortcut key names case insensitive
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3380 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-09 23:08:57 +00:00
kichik
81e42db724 rc1->rc2
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3355 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-04 21:05:02 +00:00
kichik
21d8b1cd46 fixed compile errors without NSIS_CONFIG_COMPONENTPAGE, NSIS_CONFIG_PLUGIN_SUPPORT or NSIS_SUPPORT_HWNDS
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3352 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-04 17:25:59 +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
a23424a8ad b5 -> rc1
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3320 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-27 19:09:18 +00:00
kichik
0c7981ef60 - Disabled DirShow as it hasn't been working since b0 which was released more than a year ago.
- Rewrote token placement checks to prevent a crash with:
"Section uninstall
InstallDir something"
and to make it a bit more comfortable.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3305 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-24 15:54:06 +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
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
0255c1414d signed/unsigned mismatch
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3285 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-16 16:32:02 +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
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
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
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
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
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
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
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