Commit graph

264 commits

Author SHA1 Message Date
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
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
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
4ba745368c $SMPROGRAMS, $SMSTARTUP, $DESKTOP, $STARTMENU and $QUICKLAUNCH working again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2567 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-25 13:12:07 +00:00
kichik
1e785dee33 Plugins code fixed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2565 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-24 19:39:15 +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
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
kichik
e720007649 Faster compilation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2464 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-17 15:27:12 +00:00
joostverburg
c565231972 fixed pluginsdir init function generation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2457 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-12 23:17:00 +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
b0e73c9891 InitPluginsDir fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2408 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-02 15:49:13 +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
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
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
8233568935 Disable last cancel button only if instfiles used
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2356 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-24 15:35:23 +00:00
kichik
603dcbe239 Leave function not show function in error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2355 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-24 14:50:35 +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
5f70221959 Random flags for uninstaller fixed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2345 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-20 13:13:48 +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
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
301225562e - Disabled file validation for ExecShell too (can exec URLs)
- Compiles without support for compression too
- Latest compiled version


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2146 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-10 18:43:40 +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
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
joostverburg
763d9a15b9 (kichik) MakeNSIS now sends output directly to MakeNSISw, faster, and no
more problems with foreign languages in the output.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1996 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-24 20:35:26 +00:00
kichik
88cfbb4702 OK, LangStrings can now really be defined after they are used
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1984 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-20 19:14:57 +00:00