kichik
aa43f0c349
Updates by Instructor
...
1. "WordReplace"
-Added options "{", "}", "{*", "}*"
2. "GetOptions"
-Now sets error flag if option does not found
3. "ConfigRead"
-Now sets error flag if entry does not found
4. New case sensitive functions:
"WordFindS", "WordFind2XS", "WordFind3XS", "WordReplaceS",
"WordAddS", "WordInsertS", "StrFilterS", "TextCompareS",
"ConfigReadS", "ConfigWriteS", "GetOptionsS"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4517 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-10 10:46:57 +00:00
pabs3
0913023f33
Merge patch for better installs on POSIX platforms.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4486 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-21 09:54:23 +00:00
kichik
78c4ca6427
no more need for _StrCmp
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4470 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-06 17:28:14 +00:00
kichik
e0e602b97c
use StrCmpS instead of System plug-in
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4469 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-06 16:05:53 +00:00
kichik
245caeecc0
GetTime updates by Instructor
...
- Added support for system time (UTC)
- Added example how to convert time to 12-hour format AM/PM
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4456 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-24 15:47:32 +00:00
joostverburg
c8e9a6f24b
* no need to call ClearErrors after IfErrors
...
* documented error flag for Library macros
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4375 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-05 16:57:51 +00:00
joostverburg
f26ec83078
clear errors after checking whether file is in use
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4374 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-05 16:08:08 +00:00
kichik
ae6f49457b
VersionCompare is not part of FileFunc.nsh it's part of WordFunc.nsh
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4366 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-04 11:20:00 +00:00
kichik
20dbc17dfa
added flag descriptions
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4343 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-21 15:47:14 +00:00
kichik
8414047fd9
fixed bug #1320297 - LogicLib.nsh portability issues
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4323 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-12 14:26:25 +00:00
kichik
0d494737dc
extract RegTool with the random data as well
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4319 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-12 11:10:23 +00:00
kichik
315c7b1d64
* strip quotes and /S from RegTool's RunOnce key before checking if it exists
...
* added random data to the extraction name of RegTool to avoid problems with install->reboot->install->reboot
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4317 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-11 16:47:58 +00:00
kichik
a7ae019046
write temporary nsh to temp dir to avoid permission problems with unprivileged users
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4309 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-07 13:23:58 +00:00
kichik
f8062527fa
typos (thanks Jamyn!)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4264 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-16 11:27:51 +00:00
kichik
27a1e0040c
(Instructor) WordReplace
...
- Fixed: Incorrect rule for return errorlevel 1 in situation when string beginning with word to replace and its only one word in string and when uses option - deletes all found words
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4225 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-23 17:45:25 +00:00
kichik
698deb823f
use Var /GLOBAL to avoid annoying warning
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4213 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-06 16:22:02 +00:00
kichik
14a9b130a1
use Var /GLOBAL to avoid annoying warning
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4212 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-06 16:12:35 +00:00
kichik
3ed2036d85
fixed check for DONE label requirement
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4200 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-28 17:56:24 +00:00
kichik
4ce644648a
define uninstalllib.done label only when really needed
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4199 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-28 17:30:41 +00:00
kichik
2d74eb3ab0
fixed bug #1243865 - *_UNIQUE should use ${__FILE__}
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4198 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-28 17:25:10 +00:00
kichik
0a0a90d5aa
workaround for GetLongPathName
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4197 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-28 16:56:33 +00:00
kichik
26a50e9995
GetLongPathName is not available on Windows 95
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4190 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-23 12:33:40 +00:00
kichik
7e2442e17e
updates
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4181 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-21 17:01:32 +00:00
kichik
76dd1565dd
updates
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4170 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-15 14:55:18 +00:00
kichik
94cd469469
fixed bug #1234283 - InstallLib fails on paths with spaces
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4162 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-07 17:56:26 +00:00
kichik
5ac3364d92
use new RegTool (also fixes bug #1230336 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4147 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-30 19:11:09 +00:00
kichik
47617cc666
added missing Pop $R3
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4146 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-30 19:01:22 +00:00
kichik
74b39ca74d
moved installlib.end label after __InstallLib_Helper_AddRegToolEntry macro insertion
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4145 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-30 18:52:12 +00:00
kichik
6e4d079866
converted archive links to wiki links
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4131 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-23 20:48:56 +00:00
kichik
096373344d
Library improvements with lots of help from stb:
...
- InstallLib will register DLLs after reboot in the order they were specified in the script
- InstallLib will register every DLL on reboot if the reboot flag is already set
- rewrote RegTool in C
- RegTool compiles from source code
- RegTool will not run when double clicked
- RegTool will register each DLL on a separate process to avoid conflicts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4127 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-23 11:24:11 +00:00
kichik
f189322a12
header files of useful functions (Instructor)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4114 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-21 17:43:36 +00:00
kichik
fd2947c9ae
header files of useful functions (Instructor)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4112 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-21 12:37:38 +00:00
kichik
bdbec46023
del /q doesn't work on Windows 98 and on XP it only means not to ask on global wildcard deletion, which LogicLib doesn't do anyway
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4110 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-20 20:13:16 +00:00
kichik
ab0ca610ef
RegTool.bin is in Bin
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4109 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-20 19:54:59 +00:00
kichik
8f892f36a1
L shouldn't be there
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4052 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-28 14:37:59 +00:00
kichik
9603978f02
a more complete list by Shengalts Aleksander
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4050 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-27 10:18:34 +00:00
kichik
53fa1d20ac
install and distribute examples, contribs and documentation
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4005 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-30 18:04:55 +00:00
kichik
21d72bba17
use LibraryLocal.exe from Bin directory
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3968 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-16 18:26:30 +00:00
kichik
cce48a168b
fixed bug #1181951 - InstallLib error for new shared libraries
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3967 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-16 18:24:02 +00:00
kichik
a28ec7b3c1
some more useful macros
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3950 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 10:30:43 +00:00
kichik
7798a6ab61
reverted latest change as File already removes the read-only flag
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3943 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-31 20:13:47 +00:00
kichik
819e5c7e77
remove read only file attribute before using Rename /REBOOTOK
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3937 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-27 17:40:58 +00:00
kichik
46a68cd232
added SF_NAMECHG
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3869 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-14 15:15:55 +00:00
kichik
bec3be0ac0
added SF_TOGGLED section flag
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3859 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-11 16:39:42 +00:00
kichik
f2cba8c2cb
renamed SubSection to SectionGroup
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3852 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-10 12:43:52 +00:00
kichik
fe03bb3d47
fixed "done" and "register" label warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3851 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-10 11:55:17 +00:00
kichik
38ba938cee
applied patch #1044212 with some changes to make it optional
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3784 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 18:05:33 +00:00
kichik
69a4f35f35
fixed bug #1064540 - warning 'label "installlib.remove_..." not used'
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3761 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-11 19:10:57 +00:00
kichik
eb00ff12cc
StrFunc 1.09 by deguix:
...
- Fixed stack problems involving: StrCase, StrRep, StrSort, StrTok.
- Fixed StrClb: When "Action" = "<>", handle was wrongly outputed as text.
- Fixed StrSort, StrStrAdv documentation examples.
- Fixed StrIOToNSIS, StrLoc, StrNSISToIO, StrRep, StrStr: sometimes didn't find "StrToSearch" at all.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3746 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-22 23:52:01 +00:00
kichik
280f1a2803
StrFunc 1.08 by deguix:
...
- Converted all the functions to LogicLib.
- StrSort: Totally remade and it can break old scripts. See documentation for details.
- Added defines: StrFunc_List, *_List and *_TypeList.
- Fixed StrStrAdv: Variables $R0-$R3 couldn't be used on scripts before calling.
- StrRep: Cut down some variables.
- Arranged correctly the order of StrSort on the documentation.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3726 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-12 22:59:42 +00:00