Commit graph

733 commits

Author SHA1 Message Date
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
ramon18
660bbf5e2d Added ShConstants.h to makenssi project
Size optimization on ui.c
Some fixes in Shell Folders code


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3297 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-22 14:02:15 +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
d1c5ef3af7 patches by PerditionC for compatibly with PSDK-less VC6
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3295 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-21 21:00:37 +00:00
kichik
6e2d07df31 only add entries to wininit.ini if short names were retrieved successfully
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3291 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-18 19:19:19 +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
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
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