Commit graph

57 commits

Author SHA1 Message Date
anders_k
ba5ca3a463 Fixed InstallLib .NSI space-in-path script bug (bug #1222)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7092 212acab6-be3b-0410-9dea-997c60f758d6
2019-03-17 18:51:58 +00:00
anders_k
52ac543360 Removed LibraryLocal utility
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7061 212acab6-be3b-0410-9dea-997c60f758d6
2018-12-07 22:06:47 +00:00
anders_k
ab70b857b5 Added LIBRARY_INSTALL_EQUAL_VERSION option
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7014 212acab6-be3b-0410-9dea-997c60f758d6
2018-10-08 12:50:09 +00:00
anders_k
a51d89712c Added !gettlbversion and TLB reading support on POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6913 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-03 20:48:29 +00:00
anders_k
ce7078517f Include CPU architecture in the RegTool filename so Library.nsh always picks the correct version
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6859 212acab6-be3b-0410-9dea-997c60f758d6
2017-05-14 16:16:30 +00:00
anders_k
d80b364e1d TCHAR cannot be used in RegTool because it must be able to run on Win9x.
RegTool now implements A and W functions in the same binary. Bitness mixing is still problematic.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6858 212acab6-be3b-0410-9dea-997c60f758d6
2017-05-12 00:19:23 +00:00
kichik
5bbdfaba11 extract recurring string REGTOOL_KEY so version is defined only once
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5862 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-20 11:55:06 +00:00
kichik
39b7d36352 implemented RFE #2315740 - Library support for ActiveX exe /regserver
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5776 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-20 21:54:21 +00:00
kichik
e0dc9ab083 use SetRegView lastused to avoid resetting the user's setting
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5270 212acab6-be3b-0410-9dea-997c60f758d6
2007-09-08 17:28:37 +00:00
kichik
2f6ecc148a better wording
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5131 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-27 15:56:37 +00:00
kichik
99208104ad don't fail when filename starts with a number
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5101 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-19 18:24:13 +00:00
kichik
677c489be1 use LibraryLocal on POSIX as well
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5086 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-15 21:34:38 +00:00
kichik
a25547816b added x64 support for library macros
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5077 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 16:58:57 +00:00
kichik
bfe47ca072 applied patch #1699435 - LIBRARY_IGNORE_VERSION
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5061 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-12 17:44:25 +00:00
kichik
b3451dc30e fixed bug #1692761 - Library.nsh warning when not using macro UnInstallLib
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5034 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-03 10:47:27 +00:00
kichik
e92f1b0675 fixed UnInstallLib for installers
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4912 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-27 16:31:26 +00:00
kichik
1750a886af UnInstallLib is usually used in uninstallers, so use un.GetParent instead of GetParent
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4881 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-24 16:14:00 +00:00
kichik
bc27ce462e typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4879 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-24 15:25:11 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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