Commit graph

81 commits

Author SHA1 Message Date
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
joostverburg
1158a4702e fixed type library uninstallation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3701 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-10 17:51:00 +00:00
joostverburg
97aee27d81 fixed parameter name
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3700 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-10 16:57:07 +00:00
kichik
d02eae4d94 String Functions 1.07
- StrStrAdv and StrCase have their functions remodeled with LogicLib. Functions have a lesser chance to have bugs.
 - Added case-sensitive comparation option for StrStrAdv.
 - StrCase now uses System.dll which makes case convertions effective with all latin letters (i.e. ?).
 - StrClbSet and StrClbGet removed, added StrClb.
 - Made compact the most usual operations inside the header file. File size reduced.
 - Added "!verbose" to header file -> faster compilation and header file output organized (code borrowed from LogicLib.nsh).


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3663 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 13:59:03 +00:00
kichik
28c2e72073 Library fixes and improvements:
- always register DLL/TLB, even if the installer didn't copy it there
 - only copy one RegTool and use it to register all of the DLLs and TLBs
 - extract the RegTool as an .exe so explorer won't complain it doesn't know how to open the file
 - fixed REGDLLTLB registering just as a TLB


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3660 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 12:38:23 +00:00
kichik
a84b5fe2b1 - fixed "already defined" error
- fixed unused label warning


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3654 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-11 15:44:17 +00:00
eccles
3d4f901e5b LogicLib 2.5
- AndIf, AndUnless, OrIf, OrUnless added.
- Avoids unused variable warnings by requiring !defines before using certain features.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3641 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-23 13:35:47 +00:00
joostverburg
5dd0fece2d typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3615 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-11 20:34:49 +00:00
joostverburg
4e4b0e8420 new system for DLL/TLB library setup
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3601 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 22:04:13 +00:00
kichik
f212f43855 updated colors.nsh
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3591 212acab6-be3b-0410-9dea-997c60f758d6
2004-07-24 12:34:47 +00:00
kichik
f27b869756 some basic color defines by Rob Segal
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3589 212acab6-be3b-0410-9dea-997c60f758d6
2004-07-15 17:54:08 +00:00
kichik
da90827244 latest StrFunc example and readme
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3578 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-25 20:00:50 +00:00