Commit graph

316 commits

Author SHA1 Message Date
kichik
8d441329d7 use !verbose
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4871 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-24 11:23:02 +00:00
kichik
9e429996af fixed bug #1097642 - Uninstaller deletes components on reboot after reinstall
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4870 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-24 11:19:30 +00:00
kichik
edc2d5b49d proper comment, $SYSDIR doesn't change
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4866 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-23 19:35:48 +00:00
kichik
88b5eb588c $__INSTALLLLIB_SESSIONGUID might as well be {000...}, it's no different than 'session' in functionality
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4829 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-27 16:27:16 +00:00
kichik
5f64570db1 fixed __InstallLib_Helper_InitSession
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4811 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-09 19:56:01 +00:00
kichik
d00c894737 the system plug-in can take care of the guid/string conversion
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4810 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-06 21:18:12 +00:00
kichik
07278e86f2 !verbose 3
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4805 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-03 11:13:16 +00:00
joostverburg
0fd9346130 corrected Windows 98 and Windows Me version number
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4801 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-31 22:29:08 +00:00
kichik
723d9dcf9a Instructor fixed handle leak in Locate
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4769 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-06 16:49:18 +00:00
kichik
fb8bd938f1 fix comment
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4766 212acab6-be3b-0410-9dea-997c60f758d6
2006-09-30 15:41:17 +00:00
kichik
24006b816e added WinVer.nsh - LogicLib extensions for handling Windows versions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4764 212acab6-be3b-0410-9dea-997c60f758d6
2006-09-29 17:41:55 +00:00
kichik
14fc71d2cd typo
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4763 212acab6-be3b-0410-9dea-997c60f758d6
2006-09-29 17:18:38 +00:00
kichik
0b68fa4d3c skip popping the value and directly use LogicLib for IsRunningX64
the very first LogicLib extension - cool!


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4762 212acab6-be3b-0410-9dea-997c60f758d6
2006-09-29 16:15:50 +00:00
kichik
11d465de96 macros for x64 installations handling
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4756 212acab6-be3b-0410-9dea-997c60f758d6
2006-09-23 08:16:28 +00:00
kichik
83e60e3136 partial fix for bug #1537976 - vague LogicLib syntax error messages
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4736 212acab6-be3b-0410-9dea-997c60f758d6
2006-08-19 10:56:16 +00:00
kichik
8193ae3f9c fixed __InstallLib_Helper_GetVersion for POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4687 212acab6-be3b-0410-9dea-997c60f758d6
2006-06-16 07:50:59 +00:00
kichik
3c5b768f06 updates by Instructor:
* GetFileAttributes corrections
 * Prevent error in case of multiple header inclusion


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4685 212acab6-be3b-0410-9dea-997c60f758d6
2006-06-01 10:43:20 +00:00
kichik
be2557be2b fixed bug #1471341 - InstallLib misinterprets TLB version number
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4658 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-18 10:38:31 +00:00
kichik
8739a4e26d typelibs are supported
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4640 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-05 18:51:54 +00:00
kichik
0e71cb5a78 a more accurate error message
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4603 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 21:21:18 +00:00
kichik
4899ab09c9 added ClearErrors so an error will truly come from File as expected
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4600 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 20:33:59 +00:00
kichik
6a21109107 added SetFileAttribute back to remove read-only flag
File only removes the read-only flag when SetOverwrite mode is set to "on", not "try" as with InstallLib


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4599 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 20:07:50 +00:00
kichik
2ca8151f8a added a minimal implementation of __InstallLib_Helper_GetVersion for non-win32 platforms, using GetDLLVersionLocal
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4597 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 12:15:51 +00:00
kichik
7332ff04d7 Updates by Instructor:
- Added /NOUNLOAD flag for the system plugin calls. Functions that uses system plugin calls several times, now 25-75% faster.
 - Added tests for new WordReplace options "{", "}", "{*", "}*"


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4518 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-10 10:51:26 +00:00
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