Commit graph

391 commits

Author SHA1 Message Date
ramon18
48a62f51e8 Added new function LockWindow for flickering problems workaround, fixed crash on NSISdl, fixed focus button redraw
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3115 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-09 22:45:25 +00:00
kichik
71072d7532 Fixed bug #830913 - if /nonfatal is used a warning should be displayed, not an error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3069 212acab6-be3b-0410-9dea-997c60f758d6
2003-10-27 15:46:33 +00:00
kichik
abbab23ae4 Ignore all commands but those who start with an exclamation mark in nested ignored if blocks too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2946 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-22 10:09:48 +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
2fba235c29 fixed SetOverwrite and added ifdiff option
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2876 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-07 16:46:50 +00:00
kichik
bb927a6230 - fixed a typo in inner langstrings name - [un]LicenseTextRB
- Finnish language files updated
- made SetStlColors able to set background color with /BRANDING
- some optimizations
- fixed progress showing for WriteUninstaller


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2870 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-07 08:53:22 +00:00
kichik
acd850dd85 !ifdef, again...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2861 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-06 19:48:00 +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
9cd28a4c3d No more static variables in CEXEBuild member functions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2849 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 21:16:33 +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
87602b35ec Only check for open if[n]def if the compilation was successful
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2839 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 14:14:29 +00:00
kichik
847e04dfb5 Fixed SetDetailsPrint
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2836 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 12:45:12 +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
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
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
icemank
4661dd7069 Moved __DATE__ and __TIME__ predefines into CEXEBuild::process_script
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2736 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-18 02:43:03 +00:00
kichik
2adb778918 Added EnableWindow
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2727 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-16 22:36:18 +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
icemank
0b6ed99e50 Modified set_timestamp_define to use FileTimeToLocalFileTime instead of SystemTimeToTzSpecificLocalTime, since the latter is unsupported in Win 9x.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2669 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-23 15:12:49 +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
bbc605eeac Added dotted notation for macro ${__LINE__} predefine
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2643 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-13 15:59:30 +00:00
kichik
dff6515865 Compiles with NSIS_SUPPORT_VERSION_INFO
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2641 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-13 14:04:33 +00:00
kichik
9633f0363d second free goes boom
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2640 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-13 12:52:42 +00:00
icemank
6a63c810be Reorganized code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2639 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-13 03:48:29 +00:00
kichik
6d246677db Safer __TIMESTAMP__, __FILE__, and friends
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2638 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-12 22:44:45 +00:00
icemank
b523639b83 Better handling of macros and one line commands for standard predefines.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2637 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-12 21:50:17 +00:00
icemank
96a02d10ca Fixed handling of macros and command line /X option for standard predefines.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2635 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-12 16:14:03 +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
kichik
6d9d1cc82d Language detection works for primary only again. It was broken since 1.14, heh
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2621 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-08 14:45:56 +00:00
kichik
e1bbe6ff1b initialize and destroy
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2615 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-05 21:55:40 +00:00
kichik
2b611d8f70 All acceptable warnings now contain a file name and a line number
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2614 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-05 21:53:52 +00:00
kichik
e406ae6c1c Process the auto-appeneded part of InstallDir at compile-time
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2613 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-05 20:33:33 +00:00
kichik
6ba786734b SectionIn RO should not override /o
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2589 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-29 08:46:55 +00:00
kichik
c38b889fe8 Added AllowSkipFiles - thanks Ramon!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2576 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-26 17:55:15 +00:00
kichik
0568d17ef7 LicenseBkColor now supports /windows (default = white) and /grey (default = grey)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2570 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-25 17:51:20 +00:00
kichik
3c29d31593 - NSISdl will now take the installer's style
- Little typo in script.cpp


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2569 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-25 17:10:14 +00:00
kichik
519bb0f50a Section -name working again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2566 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-25 13:02:00 +00:00
kichik
564ca077d8 - Improved installation types behaviour
- .onSelChange no longer called when the components page is created
- First section is selected at compile time - changes in .onInit stick
- Added SectionSetSize / SectionGetSize
- Added SetCurInstType / GetCurInstType
- Added InstTypeSetText / InstTypeGetText - ability to change (and add and remove) installation types on runtime
- NSIS_MAX_INST_TYPES is now 32 by default
- InstType texts are now processed ($0, $1, etc. can be used)
- Added /o switch for Section - unselected by default


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2563 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-24 13:50:24 +00:00
kichik
c69d3ed5e4 A bit more clearer code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2547 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-11 18:30:38 +00:00
kichik
65806e3b4b Check for 8bpp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2541 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-09 19:50:16 +00:00
kichik
d506d0879a Bug #730056 fixed - empty license file error added
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2514 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-30 12:40:37 +00:00
kichik
b3308d1d7f Two File /r commands should work again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2513 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-30 12:20:03 +00:00