Commit graph

187 commits

Author SHA1 Message Date
kichik
9613c8988f - stubs are no longer included in makensis but read from the Stubs directory
- new /SOLID switch for SetCompressor allows setting solid compression without recompiling makensis


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3945 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-02 12:04:07 +00:00
kichik
38b94f19a5 implemented feature request #1159701 - "RTLREADING" flag support in the "MessageBox"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3922 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-17 20:44:31 +00:00
kichik
0c691fe4f8 fixed compile error without NSIS_CONFIG_CRC_SUPPORT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3918 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-05 16:56:41 +00:00
kichik
ac0e85db40 fixed bug #1144763 - more than 3 files in uninstall, cannot compile
data was added to udata after setro(TRUE) was used


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3917 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-05 12:07:13 +00:00
kichik
a7e4a69bb4 fixed plug-ins directory initialization for extremely restricted guest users with no directory listing access to the temporary directory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3909 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-18 13:39:42 +00:00
kichik
6de9916400 string first in output for compression errors
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3878 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-18 17:56:58 +00:00
kichik
c70cfb5ac2 initialize section name with zeros
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3867 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-14 15:11:56 +00:00
kichik
f2cba8c2cb renamed SubSection to SectionGroup
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3852 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-10 12:43:52 +00:00
kichik
8c51026a67 fixed 1095761 - File /r changes $0
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3839 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-05 13:40:42 +00:00
kichik
0e74cc0391 fixed bug #1075363 - nsisconf.nsh not included when using makensisw
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3798 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-30 18:00:27 +00:00
kichik
10b5e3c5c8 added NSIS_CONFIG_COMPONENTPAGE_ALTERNATIVE to the script define list
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3791 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 22:53:15 +00:00
kichik
7c07f12463 added NSIS_LZMA_COMPRESS_WHOLE to the script define list
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3774 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-19 20:21:41 +00:00
kichik
75b4c66de6 fixed an access violation in case of a script jump beyond the last entry
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3772 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-19 15:02:08 +00:00
kichik
335fd47066 made the Reboot command first quit and then reboot
- fixed bug #989690
 - the installer now denies reboots while running
 - the Reboot instruction no longer returns or sets the error flag
 - added .onRebootFailed which is called when Reboot fails
 - installer should now always clean-up when rebooting


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3729 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-14 13:56:02 +00:00
kichik
29d152247f renamed exeheader_size to exehead_original_size
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3727 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-13 16:58:04 +00:00
kichik
a33cecb337 added dict_size parameter to Compressor::Init() so a cast to CLZMA won't be required to pass a dictionary size
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3708 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-11 14:26:13 +00:00
kichik
85b2ea48a3 moved implementation of CLZMA into clzma.cpp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3704 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-10 20:58:33 +00:00
kichik
ba8a64a806 refactoring:
- added CEXEBuild::update_exehead() and made everyone use it
 - renamed some variables (of the *exeheader* variety)
bug fix:
 - uninstaller CRC-check failed if !packhdr created a non-512-bytes-aligned exehead


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3695 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-02 18:04:41 +00:00
kichik
60aa307741 refactoring: split strlist.h classes into separate {h,cpp} files
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3694 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-02 15:17:00 +00:00
kichik
a4cad316e7 - converted ctime_r to ctime for better portability
- more refactoring


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3691 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-01 19:52:56 +00:00
kichik
c8e7f13742 more refactoring
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3683 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 20:25:33 +00:00
kichik
efcb38d737 refactoring
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3680 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 18:48:03 +00:00
kichik
3a4b7e326c fixed unsigned/signed comparison warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3677 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 11:20:28 +00:00
kichik
5e960e1fd3 relative jumps now work with instructions that add multiple entries (including plug-in calls)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3670 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 13:35:03 +00:00
kichik
f4089b9d60 added a cache to the datablock optimizer so it wouldn't need to read the entire datablock to find its optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3667 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 10:09:53 +00:00
kichik
98caca8be1 - auto conversion of paths on POSIX platforms - based on patch #1005673
- LoadLanguageFile error message improvement


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3636 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-20 15:40:38 +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
joostverburg
aeaefd9776 fixed compilation without background gradient support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3563 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-12 15:34:34 +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
43cfa19a94 show meaningful error strings and not just numbers for compression errors
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3545 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-08 17:40:29 +00:00
kichik
5f74ac58f9 print output file path on win32 too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3543 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-08 14:39:23 +00:00
kichik
c458fd50bc fixed ${NSISDIR} on POSIX when makensis is called with an absolute path
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3542 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-08 13:05:35 +00:00
kichik
ebbfc6d335 use NSIS_MAX_STRLEN, not an arbitrary number
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3539 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-07 11:16:18 +00:00
kichik
f9b9956dd2 - fixed bug report #945832
- fixed a crash under some POSIX platforms in the code that gets the fully qualified path to the output file


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3533 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-01 12:41: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
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
e5280834ac Some system I tested on didn't quite get the END part and seeked beyond the end of the file which caused the CRC checksum to be written in a place where the exehead didn't expect it. Because of this, all solid installers compiled on that system failed CRC.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3456 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-03 13:44:03 +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
dd8a4388ac fixed a bunch of bugs that caused lzma and bzip2 not to function without solid compression
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3362 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-06 00:53:12 +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
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
kichik
c385a40332 Back to former exehead overheads (zlib, bzip2 - 34, lzma - 34.5)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3299 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-22 18:50:47 +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
db34beb248 there is no pre function for custom pages, only create function
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3283 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-14 22:09:18 +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
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
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