Commit graph

37 commits

Author SHA1 Message Date
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
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
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
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
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