Commit graph

747 commits

Author SHA1 Message Date
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
joostverburg
98d8b5704b updated error messagebox text
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3515 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-14 12:00:55 +00:00
kichik
7b8acb9237 use __fastcall for LZMA instead of __stdcall because it's smaller and should be faster
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3514 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-12 21:01:50 +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
d18cea205c - lzma exehead is now 34kb instead of 34.5kb thanks to the new LZMA C SDK and should be much faster due to removal of critical section usage (not tested too much, test before usage)
- applied some parts of patch #875485


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3508 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-06 18:37:19 +00:00
eccles
ca9582c925 Windows 95 (OSR2)/98/ME no longer see drive free space capped to 2GB.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3507 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-06 12:31:26 +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
joostverburg
d3214f7466 license notes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3501 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-23 18:39:50 +00:00
kichik
b4f63105e1 AllowRootDirInstall should now work along with InstallDirRegKey when the specified registry value contains a root directory without a trailing backslash. When writing $INSTDIR as is, this will always be the case.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3494 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-20 15:13:13 +00:00
kichik
569b4fb8e1 check if smaller than 31 (=control char) as unsigned
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3481 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-07 14:24:51 +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
4a8e19199a only free the PIDL in DirProc, don't parse it too so g_tmp gets overwritten with the entire path instaed of just the display name
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3472 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-06 22:37:46 +00:00
kichik
4e3f2c485e made the command line parser cut right on /D= and _?= and not one char before. this way foo.exe "bla"/D=..., which appears to be valid in other applications, will not get the last quote cut off.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3468 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-06 16:31:32 +00:00
eccles
5c83974226 cmdline and realcmds might not be pointing to the same string.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3466 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-05 14:06:05 +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
d08b963619 fixed uninstallers (thanks again eccles ;)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3464 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-04 23:12:54 +00:00
kichik
ff74ffb34b fixed $CMDLINE corruption (thanks eccles)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3463 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-04 22:40:36 +00:00
kichik
b1a527c4ce made the command line parser not ignore any switch just before it didn't have a switch before it
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3461 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-04 20:03:30 +00:00
kichik
fa355ff0e3 updated /hdrinfo to include information about lzma too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3457 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-03 13:51:27 +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
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
976e1f7097 - fixed two bugs which caused MBCS chars to be treated wrongly in validate_filename and therefore trim too much when validating a path
- converted minus ones to INVALID_FILE_ATTRIBUTES


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3439 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 23:51:31 +00:00
kichik
44ea5c2787 - 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@3438 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 22:31:58 +00:00
kichik
fc41843fa0 - 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@3437 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 22:25:39 +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
de15ecd44b forced a clean-up of the plugins dir and solid installer's temp file on reboot since the regular one wasn't called on windows 9x
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3434 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-29 23:18:32 +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
bb4413a2c6 fixed logging
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3424 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-27 18:44:31 +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
eccles
31e10cd7d3 Installer would crash with certain combinations of language files when certain language strings were not referenced in all languages.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3404 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-20 23:20:44 +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
0bbeb0b17e more copyrights 2004
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3364 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-06 21:28:50 +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
7cab89f05a finish flag was not set when passed on the first call to Compress
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3360 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-05 15:36:59 +00:00
kichik
5391b3569f fixed non solid compression using bzip2 or lzma
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3359 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-05 14:22:14 +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
eccles
551c3b7d5c Fixed a bug which caused beeping when the space key is hit on the components tree (kichik missed a bit...)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3354 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-04 19:45:14 +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
466e93ea11 - made NSIS ignore WM_COMMAND from disabled controls
- made NSISdl set the cancel button as the default button


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3330 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-29 15:12:41 +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
joostverburg
a37f1e89fa error message
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3306 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-24 16:00: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
kichik
0d092eeb01 Returned WM_COMMAND forwarding as NSISdl is now fixed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3302 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-23 16:29:36 +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
6542144aba Shell Folders code now use "current user" if cannot retrieve nothing for "all users"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3298 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-22 14:34:05 +00:00