Commit graph

160 commits

Author SHA1 Message Date
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
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
7e6b2794cd Don't show installation type combo box when there are no InstTypes defined
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2760 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-21 11:11:07 +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
kichik
4fbd8b1991 Fixed bug #769598 - problems with InstType /COMPONENTSONLYONCUSTOM
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2746 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-18 17:39:45 +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
4ebc24d58f Tabs to spaces
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2733 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-17 15:35:57 +00:00
ramon18
3678bd9cf4 "Space required" updated after every .OnSelChange
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2730 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-17 02:00:23 +00:00
ramon18
c846858de2 #769770 fix
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2716 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-13 22:31:33 +00:00
ramon18
8bf75b3634 LINK, dirreq, filereq and browse button in dirpage can be opened using ENTER KEY (WM_COMMAND events forward to inner dialogs), fixed problem with focus on Close/Finish button which was generating wierd beeps if user attempted to finish the installer with ENTER key.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2707 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-10 00:28:05 +00:00
ramon18
323c9af320 Fixed QUIT problem inside custom pages, user-variables activated and command "Dim" changed to "Var", language strings inside other strings are replaced
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2704 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-08 23:18:47 +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
a798cabcff Safer "bug" report 750338
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2618 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-07 10:59:11 +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
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
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
26845a8b74 - BgImage improved a lot
- Added .onGUIEnd
- Some optimizations


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2542 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-09 21:11:14 +00:00
kichik
b9232e643c Compiles without NSIS_SUPPORT_CODECALLBACKS again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2487 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-23 15:40:59 +00:00
kichik
71bd07561a Bug report 725319 - sort of
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2483 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-21 22:24:35 +00:00
kichik
cf01b06e62 - More strings translatable (K/M/G Byte, registering, unregistering)
- Language specific fonts
- $\t now works too
- More to do


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2475 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-21 13:32:34 +00:00
joostverburg
1abddbef60 no more weird descriptions when sections are hidden
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2472 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-20 16:15:03 +00:00
kichik
0cf8b75be5 Fixed bug #717022, overlapping chars in dir input
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2454 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-08 09:11:51 +00:00
kichik
18269262a9 Rewrote a lot of the components tree code:
- Added SF_PSELECTED for partially selected sub-sections
- SF_EXPAND now refreshes the components tree
- Fixed problems with sub-sections with RO sections as children
- (-1) sent to .onMouseOverSection when mouse over nothing
- RO sections can now be in InstTypes too (default to old behavior)
- Optimized code


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2436 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-05 12:56:57 +00:00
kichik
e1bc9f0971 - Leave function of instfiles will be called if installation aborted too so the MUI will be able to set the title
- Cancel button now set default if installation canceled


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2422 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-04 12:27:58 +00:00
kichik
6e963b9e91 Added IfAbort
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2412 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-02 19:54:53 +00:00
kichik
4e037ab153 - GetTempFile will now try 100 times before failing
- InitPluginsDir will give an error if unable to initialize


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2406 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-01 18:07:32 +00:00
kichik
8f849c07e5 IfErrors clears the error flag again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2400 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-30 15:08:24 +00:00
kichik
4df5cb4fac Back to 33.5/34
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2392 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-29 17:16:09 +00:00
kichik
34e75bfd21 Buttons from focused license text fixed (return will not work if next button not enabled and escape will work as cancel)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2391 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-29 13:39:48 +00:00
kichik
ac0e7d0b2a Bug with new force and license page not being first
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2371 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-26 20:51:16 +00:00
kichik
5afc7ec7d4 Added LicenseForceSelection radiobuttons|checkbox
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2362 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-26 17:47:46 +00:00
kichik
03cafaf818 SetStaticBkColor -> SetBkColor, now works for dialogs, buttons, edit boxes and list boxes (only in IO)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2347 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-20 20:49:13 +00:00
kichik
bad48f1a0a Some space saving changes, /NOCUSTOM and /COMPONENTSONLYONCUSTOM work together and infastructures for future changes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2338 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-18 20:36:52 +00:00
kichik
070d1f136a Leave function for custom pages too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2335 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-18 15:45:25 +00:00
kichik
de557f6037 BGGradient & minize solution
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2258 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-09 19:49:19 +00:00
kichik
76183f6fe9 Added SectionSetInstTypes and SectionGetInstTypes, about 70 bytes saved
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2249 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-07 21:10:48 +00:00
kichik
b97418269b Cancel button available on all pages after the instfiles page but the last page unless /ENABLECANCEL was used in its Page command
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2246 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-06 21:24:19 +00:00
kichik
ef7dcf5e4f No more limit on RTF size
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2236 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-04 20:29:56 +00:00
kichik
2e19d22d39 Optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2215 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-26 15:27:39 +00:00
joostverburg
19a2d7dfe2 2003
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2137 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-09 15:56:29 +00:00
kichik
d7561bbe5e Available space now shown even if remote directory can't be found (\\remote\drive\dir_that_doesnt_exist will now give the avaible space)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2123 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-08 14:24:27 +00:00
kichik
ae16cbfe3f - Compressor type listed in summary
- SetOutPath now sets the current directory (RegDLL no longer does)
- File names are now validated for commands that need normal files, the directory selection dialog, and every variable that contains a file/dir name
- Fixed a distortion of the MUI's branding text with ClearType
- $INSTDIR is now right in the custom page after the directory selection dialog
- No more squares in the automatically appended directory name in the directory selection dialog
- Size optimizations


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2121 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-07 23:04:25 +00:00
kichik
7531adec7a ClearType + transparent branding text fix
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2087 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-28 14:28:56 +00:00
kichik
6f3fdd6650 BrandingText now automatically resizes for all languages in the MUI
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2082 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-27 15:05:50 +00:00
kichik
0aed08e3f7 + Leave function for pages
+ Components page text always shown if Page components used


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2080 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-24 19:40:20 +00:00
kichik
09de45ed1a Fixed a bug with non ASCII characters in InstallDir and auto completion of browse selection (squares were added before non ASCII characters)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2078 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-21 20:37:16 +00:00
kichik
ac449dae62 Don't create more than one brush per SetStaticBkColor - saved about 50 bytes. Still problems with BrandingText width, working on it
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2054 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-09 21:43:01 +00:00
kichik
43307a41d5 No more two buttons with thick border
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2032 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-04 14:45:49 +00:00
kichik
270bb06fd3 Update !system, cleaned resource.h, DeleteRegKey works on default value
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2020 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-30 15:33:53 +00:00
kichik
fe2a23d116 Abort now works from .onGUIInit
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1942 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-12 16:54:20 +00:00