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
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
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
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
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
kichik
97cde160db
Close the compressor before starting to optimize to lower memory usage
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2958 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-23 19:56:58 +00:00
kichik
6d63dd3a58
- Fixed ComponentText without InstTypes
...
- Made it impossible to install to non-existing drives/removable drives with no media
- Fixed a crash caused by using a LangString in InstallDir
- No more Windows error message when a registered DLL dependency can't be found
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2957 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-23 19:01:19 +00:00
kichik
f0ce1f740f
NLF_[U]CAPTION is always required, not only with a UI
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2938 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-20 10:03:02 +00:00
kichik
19da4bb2b1
Fixed CRC error on bzip2 uninstallers - thanks psyke
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2927 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-19 11:57:09 +00:00
kichik
d5a975b464
Fixed a dumb bug with the data block optimizer that caused the compiler to crash if something was actually optimized
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2924 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-16 19:07:29 +00:00
kichik
31a45d7031
fixed add_db_data crashing on empty inputs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2921 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-16 09:19:39 +00:00
kichik
de0104cc39
- Improved file mapping so you can now esaily compile installers up to 2GB with a minimum requirment of memory (changable by FileBufSize)
...
- Fixed DirText
- Fixed new browse dialog style problems (thanks LIGHTNING UK!)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2919 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-15 22:05:06 +00:00
kichik
103b31643e
- Fixed SpaceText none
...
- Fixed a crash that occured if LicenseData was not used and Page license was
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2910 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-12 21:40:33 +00:00
kichik
41808c26be
More memory clean-ups
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2901 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-12 11:16:33 +00:00
kichik
896ba172d5
- Fixed uninstaller not showing anything when installer is silent
...
- Improved CResourceEditor - should be more tolerant now
- Removed legacy code from InstallOptions and StartMenu
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2882 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-08 13:54:01 +00:00
kichik
04234ccac2
- Fixed and improved SetFont
...
- Fixed WindowIcon
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2852 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-06 09:59:02 +00:00
kichik
f1a8c1950a
Get progress bar to the end even with subsections
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2851 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 22:22:56 +00:00
kichik
89c14ee511
Initialize build_include_depth
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2850 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 22:05:53 +00:00
kichik
12e5291213
Fixed LicesneData and language strings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2840 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 14:55:50 +00:00
kichik
9e5ccb9a32
- SetCompressor: added /FINAL switch
...
- SetOverwrite: added lastusd option
- Greek MUI translation v1.66
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2835 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 11:46:48 +00:00
kichik
2ef11e5606
Missed some strings that should be processed - thanks mikem4600
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2833 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 10:40:31 +00:00
kichik
74ea2dc585
* PageEx - every page can be used everywhere and as many times as needed
...
* DirVar - easy way to add another dir page
* default strings in the language file (Page directory is enough, no need for DirText)
* strings from the language file are now LangStrings that can be used in the script
* no more /LANG - one string for all languages
* any lang strings can be used everywhere, installer or uninstaller (no un.)
* no more unprocessed strings - variables can be used almost everywhere (except in licenseData and InstallDirRegKey)
* DirText parm for browse dialog text
* SetBkColor -> SetCtlColors - can now set text color too
* fixed SetOutPath and File /r bug
* fixed File /a /oname bug
* added $_CLICK for pages
* added quotes support in lang files (patch #752620 )
* extraction progress
* separate RTL dialogs for RTL langs (improved RTL too)
* InstallOptions RTL
* StartMenu RTL
* fixed RegDLL?
* added IfSilent and SetSilent (SetSilent only works from .onInit)
* fixed verify window (it never showed) (bug #792494 )
* fixed ifnewer readonly file problem (patch #783782 )
* fixed wininit.ini manipulation when there is another section after [rename]
* fixed some ClearType issues
* fixed a minor bug in the resource editor
* fixed !ifdef/!endif stuff, rewritten
* lots of code and comments clean ups
* got rid of some useless exceptions handling and STL classes (still much more to go)
* lots of optimizations, of course ;)
* updated system.dll with support for GUID, WCHAR, and fast VTable calling (i.e. COM ready)
* minor bug fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2823 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-04 18:25:57 +00:00
kichik
cb3cb39264
Fixed problem with LangString as section name
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2813 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-15 19:01:06 +00:00
ramon18
a3c887d456
NSIS_SUPPORT_LANG_IN_STRINGS works without NSIS_SUPPORT_NAMED_USERVARS
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2764 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-23 09:34:41 +00:00
kichik
19a617404c
- Fixed uninstaller
...
- Fixed summary calculations
- Secret instruction
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2754 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-19 12:15:10 +00:00
ramon18
1473e80f12
Simplified searching for escape charaters in strings when uservars enabled
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2753 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-19 12:06:43 +00:00
ramon18
f7c1f0a43d
Uservars names not found in strings when names are very similar.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2751 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-19 00:39:03 +00:00
kichik
b6d1a077d7
Avoid buffer overrun on huge inputs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2745 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-18 16:43:07 +00:00
kichik
af196fc600
User vars inside strings should work now
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2743 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-18 16:01:49 +00:00
kichik
caa31c9cd5
- Fixed all known problems with temporary files and directoroes
...
- Command line switches work again (/NCRC and /S)
- GetTempFileName now takes another argument as base directory (default is $TEMP)
- Message boxes work from .onGUIEnd
- Some more optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2739 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-18 14:22:17 +00:00
kichik
6981f2a107
Defines cleared up and added to NSIS define list
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2726 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-16 21:13:13 +00:00
ramon18
1883dc3a19
Fix problem on Script.cpp that allowed VAR declarations inside Functions and Sections, no more differences between installer uservars and unistaller user vars (even if name start with un. ), changed example too
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2720 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-15 23:40:34 +00:00
kichik
e6dd2ada8a
tabs to spaces
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2713 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-12 15:19:49 +00:00
kichik
ec92ad1ef6
No ${LANG_ENGLISH} by default
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2681 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-26 19:37:24 +00:00
ramon18
054db45f63
Special section of data for user vars, whitch allow compiler to assign the right size and no code needed in exehead for mem allocs. Warnings for unreferenced user vars. (758773) Error, if temp file not available, now directory is created if not exist.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2673 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-23 22:40:11 +00:00
icemank
c9456e766f
Moved setting of __DATE__ and __TIME__ predefines.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2670 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-23 16:25:07 +00:00
ramon18
ab91077049
Dynamic allocation of needed user variables (exehead grew 512 bytes).
...
Independed user vars in uninstaller and installer
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2656 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-17 23:59:13 +00:00
ramon18
a558797625
Language strings inside any other strings, $$ defines fix, both currently disabled by defines, support for /LANG in command VIAddVersionKey
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2652 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-16 19:58:29 +00:00
icemank
3b0cc4f1c4
Added support for standard predefines ala C++, i.e., __DATE__, __TIME__, __TIMESTAMP__, __FILE__, __LINE__
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2634 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-12 15:09:27 +00:00
ramon18
1ea2160310
Version Information now rely on languages, some more updates on named uservars, maybe last one before official release :) (preview UserVars.nsi - doesn't compile yet)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2633 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-12 00:06:23 +00:00
ramon18
397234a5bd
Updated TODO.txt; New methods to change VersionInformation, this time is completed customizable by the script, default code page and language retrieved from OS, but can be changed by script too; fixed problem with some chars like ©
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2625 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-10 04:35:09 +00:00
ramon18
f758230f19
Comments like C/C++; Added commands to support VersionInformation (VIProductVersion, VIProductName, VICompanyName, VIComments, VILegalTrademarks, VILegalCopyrights, VIDescription); Support to named user variables (up to 500) but disabled by define
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2623 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-09 18:59:14 +00:00