Commit graph

316 commits

Author SHA1 Message Date
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
joostverburg
0016cf11a9 added WM_SETTINGCHANGE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3537 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-03 18:40:44 +00:00
kichik
70ceb70688 1.06
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3522 212acab6-be3b-0410-9dea-997c60f758d6
2004-04-09 13:17:55 +00:00
joostverburg
7b77fdcba5 1.03
- Added commands support for uninstall sections and functions
- Fixed variables switch in "StrLoc" and "StrTok" after using these


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3493 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-17 13:38:45 +00:00
joostverburg
2240ff4a03 UpgradeDLL: rundll32l not always in $SYSDIR
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3491 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-15 13:03:15 +00:00
kichik
a4a0e1b063 (deguix) replaced StrSort and updated documentation some more
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3482 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-07 15:47:54 +00:00
kichik
58efd7312d added deguix's collection of string functions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3479 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-07 00:39:42 +00:00
joostverburg
e272318725 UpgradeDLL now supports paths that contain variables
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3312 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-24 18:38:18 +00:00
joostverburg
f01376b166 cleanup
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3310 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-24 18:06:44 +00:00
kichik
a6046b428a Made StartRadioButtons not depend on $1 and added an option to work with multiple "radio buttons" blocks
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3308 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-24 16:30:22 +00:00
eccles
a022ebcfc1 Command.com does not like command lines beginning with an '@' symbol.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3294 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-21 20:33:35 +00:00
eccles
bbfd02e585 ${Unless} ${Cmd} ... was not working.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3293 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-20 15:01:36 +00:00
eccles
2d8918e586 Some tidying and documentation.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3280 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-14 01:13:32 +00:00
eccles
009e409276 2.4:
- Added Switch..Case*/Default..EndSwitch: similar to Select but behaves just like the C version (thanks to kichik).
- Added unsigned integer comparisons.
- Added 64-bit integer comparisons.
- Added case-sensitive string tests.
- Added other string relational comparisons.
- Added section flag tests.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3279 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-14 00:31:25 +00:00
eccles
8a66228b7c 2.3:
- Much reworking and refactoring.
- Added built-in support for the rest of NSIS's conditional tests.
- Added ability to use any NSIS conditional command in a normal If type statement.
- Optimised the code produced by If (fewer Goto's).
- Added statement similar to If that works in reverse: "Unless".
- Fixed bug where using Continue in a Do..LoopUntil loop went to the top of the loop and not the loop condition.
- Added DoWhile..Loop and Do..LoopWhile loop varieties.
- Optimised the code prodiced by Select (fewer Goto's).
- Renamed Case_Else to CaseElse.
- CaseElse can also be called Default (for the C-minded).


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3278 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-14 00:29:15 +00:00
eccles
a641ca3621 2.2:
- Simplified IfThen by utilising If and EndIf.
- Simplified For by utilising ForEach.
- Fixed ForEach missing the final iteration.
- Fixed a couple of Break/Continue bugs.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3277 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-14 00:26:54 +00:00